public class ShellQuadElement extends ShellElement3d
FemElement.ElementClass
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static double[] |
INTEGRATION_COORDS_GAUSS_8 |
static double[] |
INTEGRATION_COORDS_MEMBRANE |
myProps
setScannedNodesInPostscan, writeNodeRefsByNumber
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
COPY_REFERENCES, REST_POSITION
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
ShellQuadElement()
End of variables and static blocks declarations
|
ShellQuadElement(FemNode3d p0,
FemNode3d p1,
FemNode3d p2,
FemNode3d p3,
double thickness)
Creates a new square shell element with four nodes, arranged
counter-clockwise around the elements outer facing normal.
|
ShellQuadElement(FemNode3d p0,
FemNode3d p1,
FemNode3d p2,
FemNode3d p3,
double thickness,
boolean membrane) |
Modifier and Type | Method and Description |
---|---|
double |
computeNodeNormal(Vector3d nrm,
FemNode3d node)
Computes the shell element normal, with respect to current coordinates,
at a specific node, and returns the (cross product) area associated with
that normal.
|
double |
computeRestNodeNormal(Vector3d nrm,
FemNode3d node)
Computes the shell element normal, with respect to rest coordinates, at a
specific node, and returns the (cross product) area associated with that
normal.
|
boolean |
coordsAreInside(Vector3d coords)
Queries whether or not a set of natural coordinates are inside this
element.
|
void |
getdNds(Vector3d dNds,
int n,
Vector3d rst)
Compute 1st derivative of shape function of particular node.
|
int[] |
getEdgeIndices() |
int[] |
getFaceIndices() |
double[] |
getIntegrationCoords()
Returns the natural coordinates and weights for the default integration
points associated with this element.
|
IntegrationPoint3d[] |
getIntegrationPoints()
Returns the integration points associated with this element, not
including the warping point (see
FemElement3dBase.getWarpingPoint() ). |
double |
getN(int n,
Vector3d rst)
Compute shape function of particular node.
|
MatrixNd |
getNodalAveragingMatrix()
Returns the nodal averaging matrix for this element, used for
extrapolating values from the integration points to the element nodes for
purposes of computing average nodal values.
|
MatrixNd |
getNodalExtrapolationMatrix()
Returns the nodal extrapolation matrix for this element.
|
double[] |
getNodeCoords() |
double[] |
getNodeMassWeights() |
int[] |
getTriangulatedFaceIndices() |
IntegrationPoint3d |
getWarpingPoint()
Returns the special warping integration point which is located at
the center of the element and is used for computing stiffness warping and
other specialized applications.
|
double |
nearestPoint(Point3d near,
Point3d pnt) |
int |
numIntegrationPoints()
Returns the number of integration points actually used by this element
(not including the warping point, if any).
|
int |
numPlanarIntegrationPoints()
Number of integration points in the shell plane.
|
void |
render(Renderer renderer,
RenderProps props,
int flags) |
void |
renderWidget(Renderer renderer,
double size,
RenderProps props) |
void |
setNodes(FemNode3d p0,
FemNode3d p1,
FemNode3d p2,
FemNode3d p3) |
computeJacobian, computeLocalPosition, computeRestVolumes, computeVolumes, connectToHierarchy, copy, createElement, disconnectFromHierarchy, doComputeVolume, getAllPropertyInfo, getDefaultThickness, invalidateRestData, setDefaultThickness
addConsistentGravity, addConsistentMass, advanceState, clearRotationData, computeConsistentMass, computeCovariance, computeDirectedRenderSize, computeGravityWeights, computeRenderCoordsAndGradient, containsEdge, containsFace, containsFace, containsNode, createFrameAttachment, createIntegrationPoints, createPointAttachment, getAllIntegrationPoints, getCopyReferences, getDeformation, getDeformation, getElementClass, getElementWidgetSize, getElementWidgetSizeMode, getFaces, getFemModel, getFrame, getIntegrationData, getIntegrationShapeMatrix, getInvB, getInvB, getMarkerCoordinates, getNaturalCoordinates, getNaturalCoordinates, getNaturalCoordinatesGSS, getNodeCoords, getNodeNeighbors, getNodes, getNumFaces, getRotation, getRotation, getState, getStiffnessWarper, getWarpingData, invalidateRotationData, isInside, isInvertedAtRest, notifyStateVersionChanged, numAllIntegrationPoints, requiresAdvance, setElementWidgetSize, setElementWidgetSizeMode, setFrame, setNodes, setState, setStiffnessWarper, triangulateFace
addAugmentingMaterial, addAuxiliaryMaterial, computeCentroid, containsNode, createRenderProps, defaultRenderPropsAreNull, getAugmentingMaterials, getAuxiliaryMaterials, getDensity, getDensityMode, getEffectiveMaterial, getHardReferences, getIndex, getLocalNodeIndex, getMass, getMaterial, getPlasticDeformation, getPoint, getRestVolume, getSelection, getStateVersion, getStrainEnergy, getVolume, hasActiveNodes, hasControllableNodes, hasState, integrationPointsInterpolateToNodes, integrationPointsMapToNodes, invalidateMassIfNecessary, isDuplicatable, isInverted, isLinear, isMassExplicit, materialsAreInvertible, numAugmentingMaterials, numAuxiliaryMaterials, numberString, numNodes, numPoints, prerender, propertyChanged, removeAugmentingMaterial, removeAuxiliaryMaterial, render, scaleDistance, scaleMass, setDensity, setDensityMode, setExplicitMass, setIndex, setInverted, setMass, setMaterial, setPlasticDeformation, unsetExplicitMass, updateBounds, updateRestVolumeAndMass
getRenderHints, getRenderProps, isSelectable, isVisible, numSelectionQueriesNeeded, setRenderProps, setVisible, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeCentroid, computeCovariance, getPoint, numPoints, updateBounds
createFrameAttachment
createPointAttachment
getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
postscan
isWritable, write
getAuxVarDerivative, getAuxVarState, numAuxVars, setAuxVarState
public static final double[] INTEGRATION_COORDS_GAUSS_8
public static final double[] INTEGRATION_COORDS_MEMBRANE
public ShellQuadElement()
public ShellQuadElement(FemNode3d p0, FemNode3d p1, FemNode3d p2, FemNode3d p3, double thickness)
public double getN(int n, Vector3d rst)
getN
in class FemElement3dBase
n
- Node indexrst
- Integration point (i.e. Gauss point)public void getdNds(Vector3d dNds, int n, Vector3d rst)
getdNds
in class FemElement3dBase
public double[] getNodeCoords()
getNodeCoords
in class FemElement3dBase
public double[] getNodeMassWeights()
getNodeMassWeights
in class FemElement3dBase
public int[] getEdgeIndices()
getEdgeIndices
in class FemElement3dBase
public int[] getFaceIndices()
getFaceIndices
in class FemElement3dBase
public int[] getTriangulatedFaceIndices()
getTriangulatedFaceIndices
in class FemElement3dBase
public double[] getIntegrationCoords()
FemElement3dBase
4*num
, where num
is the number of
coordinates, and the information for each coordinate consists of a
4-tuple giving the three natural coordinates followed by the weight.getIntegrationCoords
in class FemElement3dBase
public int numIntegrationPoints()
FemElement3dBase
FemElement3dBase.getIntegrationPoints()
, but in some cases (such as shell elements being
used as membrane elements), it will be less.numIntegrationPoints
in class FemElement3dBase
public IntegrationPoint3d[] getIntegrationPoints()
FemElement3dBase
FemElement3dBase.getWarpingPoint()
). In
some cases, such as with membrane elements, only the first n
points of these points are actaully used, where n is the number
returned by FemElement3dBase.numIntegrationPoints()
.getIntegrationPoints
in class FemElement3dBase
public int numPlanarIntegrationPoints()
ShellElement3d
numPlanarIntegrationPoints
in class ShellElement3d
public IntegrationPoint3d getWarpingPoint()
FemElement3dBase
getWarpingPoint
in class FemElement3dBase
public boolean coordsAreInside(Vector3d coords)
FemElement3dBase
coordsAreInside
in class FemElement3dBase
true
if ncoords
are inside this element.public MatrixNd getNodalAveragingMatrix()
FemElement3dBase
FemElement3dBase.getNodalExtrapolationMatrix()
.
However, since the purpose of this matrix is for computing nodal
averages, simpler matrices can sometimes be used, such as an identity or
permutation matrix that assigns the value at each node to that of a
specific integration point. Element subclasses may override this method
to supply such simplified matrices.getNodalAveragingMatrix
in class FemElement3dBase
public MatrixNd getNodalExtrapolationMatrix()
FemElement3dBase
FemElement3dBase.getIntegrationShapeMatrix()
.getNodalExtrapolationMatrix
in class FemElement3dBase
public double nearestPoint(Point3d near, Point3d pnt)
nearestPoint
in class ShellElement3d
public double computeRestNodeNormal(Vector3d nrm, FemNode3d node)
ShellElement3d
computeRestNodeNormal
in class ShellElement3d
public double computeNodeNormal(Vector3d nrm, FemNode3d node)
ShellElement3d
computeNodeNormal
in class ShellElement3d
public void render(Renderer renderer, RenderProps props, int flags)
render
in class FemElement
public void renderWidget(Renderer renderer, double size, RenderProps props)
renderWidget
in class FemElement3dBase