Element Class

Base class for all FEM elements.
Public Class Element
This language is not supported or no code example is available.
public class Element
This language is not supported or no code example is available.
Name Description
Internal protected (Protected Friend) constructor Element(int, Material) Material constructor.
Protected constructor Element(Element)
Top
Name Description
Public property Faces Gets element faces.
Public property Material Gets or set the material of this element.
Public property Principals Gets or sets element's principal stresses (defined as double [numberOfNodes, 3]).
Public property StiffnessMatrix Stiffness matrix.
Public property Stress Gets or sets element's stresses (defined as double [numberOfNodes, numberOfStressesPerNode]).
Public property VonMises Gets or sets element's VonMises stress (defined as double [numberOfNodes]).
Top
Methods
 
Name Description
Public method Static CalcPrincipal(double, double, double, double, double, double, out double, out double[]) Computes VonMises and principal stresses.
Public method Static CalcPrincipal(double[], out double, out double[]) Computes VonMises and principal stresses.
Public method CalcStiffness(Point3D[], int) Computes element's stiffness matrix.
Public method CalcStress(Point3D[], int, int[], bool) Computes element's stresses.
Public method CalcTemp(int, Point3D[]) Computes element's load derived from thermal expansion.
Public method Clone() Creates a deep copy of this element.
Protected method ComputeCartesianStressAtSamplingPoint(int, Point3D[])
Public method ConvertToSurrogate()
Public method Draw(RenderContextBase, Vector3D, Color, Point3D[], double)
Public method Draw(RenderContextBase, Vector3D, Point3D[], double)
Protected method DrawFace3(RenderContextBase, Color, int, Point3D[], double)
Protected method DrawFace3(RenderContextBase, int, Point3D[], double)
Protected method DrawFace3(RenderContextBase, int, Point3D[], double, double, double, bool, Color[])
Protected method DrawFace4(RenderContextBase, Color, int, Point3D[], double)
Protected method DrawFace4(RenderContextBase, int, Point3D[], double)
Protected method DrawFace4(RenderContextBase, int, Point3D[], double, double, double, bool, Color[])
Protected method DrawFace6(RenderContextBase, Color, int, Point3D[], double)
Protected method DrawFace6(RenderContextBase, int, Point3D[], double)
Protected method DrawFace6(RenderContextBase, int, Point3D[], double, double, double, bool, Color[])
Protected method DrawFace8(RenderContextBase, Color, int, Point3D[], double)
Protected method DrawFace8(RenderContextBase, int, Point3D[], double)
Protected method DrawFace8(RenderContextBase, int, Point3D[], double, double, double, bool, Color[])
Protected method DrawFaceElement3(RenderContextBase, int, Point3D[], double, double, double, bool, Color[])
Protected method DrawFaceElement4(RenderContextBase, int, Point3D[], double, double, double, bool, Color[])
Protected method DrawFaceElement6(RenderContextBase, int, Point3D[], double, double, double, bool, Color[])
Public method DrawWithSharpColor(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[])
Public method DrawWithSharpColorElement(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[])
Public method DrawWithSmoothColor(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[])
Public method DrawWithSmoothColorElement(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[])
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method FixAllEdgeFace(int) Fixes all degrees of freedom of all the nodes of one edge (or face).
Public method FixEdgeFace(int, bool, bool, bool) Fixes the desired degrees of freedom of all the nodes of one edge (or face).
Protected method GaussQuadrature(out double[], out double[])
Protected method GetFace3(int, int, Point3D[], double, List<Point3D>)
Protected method GetFace4(int, int, Point3D[], double, List<Point3D>)
Protected method GetFace6(int, int, Point3D[], double, List<Point3D>)
Protected method GetFace8(int, int, Point3D[], double, List<Point3D>)
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetTriangles(int, Point3D[], double, List<Point3D>)
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Refine(int, int, int, FemMesh) Refine the Element objects.
Public method SetPressure(int, Vector3D, Point3D[]) Loads an edge or a face of the element given a pressure vector.
Public method SetPressure(int, double, Point3D[]) Loads an edge or a face of the element with a perpendicular pressure of the given magnitude.
Public method SetRestraintEdgeFace(int, bool, bool, bool, double, double, double) Sets a fixed displacement on all the nodes of one edge (or face).
Public method SetRestraintEdgeFaceInX(int, double) Sets a fixed displacement along the X degree of freedom on all the nodes of one edge (or face).
Public method SetRestraintEdgeFaceInY(int, double) Sets a fixed displacement along the Y degree of freedom on all the nodes of one edge (or face).
Public method SetRestraintEdgeFaceInZ(int, double) Sets a fixed displacement along the Z degree of freedom on all the nodes of one edge (or face).
Protected method StiffnessComputation(Point3D[]) 1) Construct the UPPER triangle of the stiffness matrix 2) Transform the stiffness for any local coordinates 3) Determines the lower and upper element connection indices
Public method ToString() Returns a string that represents the current object.
Public method UpdateVonMisesAndPrincipals() Updates the VonMises and Principal (P1, P2, P3) stresses using the Stress array as input.
Public method Static WeightedAverage(double, double, double, double, double, double) Returns XC = (X2 + X4 + X6)/3
Public method Static WeightedAverage(double, double, double, double, double, double, double, double) Returns XC = (X2 + X4 + X6 + X8)/2 - (X1 + X3 + X5 + X7)/4
Top
Classes
 
Name Description
Public class Face FEM element face definition.
Top
Fields
 
Name Description
Protected field B Strain-Displacement matrix.
Public field Connection Element's nodes indices.
Protected field K StiffnessMatrix matrix.
Protected field NumberOfDimensions Number of dimensions in model.
Public field NumberOfDofPerNode Number of degrees of freedom at each node.
Protected field NumberOfGaussPoints Number of gauss points per element.
Public field NumberOfNodes Element's number of nodes.
Protected field NumberOfStressesPerNode Number of stresses per node.
Protected field StressMatrix Element's stress matrix.
Public field TotalDof Total number of degrees of freedom per element: NumberOfDofPerNode * NumberOfNodes
Internal protected (Protected Friend) field elFaces Element face array.
Protected field mat Element's material.
Public field plotValues
Top

.NET Framework

Supported in: 4.8

In this article

Definition