Element2D Class

Base class for all 2D FEM elements.
Public MustInherit Class Element2D 
Inherits Element
This language is not supported or no code example is available.
public abstract class Element2D : Element
This language is not supported or no code example is available.
Name Description
Protected constructor Element2D(Element2D)
Public constructor Element2D(int, Material) 2D element constructor.
Top
Name Description
Public property Edges Gets element edges.
Public property Faces Gets element faces. (inherited from Element).
Public property Material Gets or set the material of this element. (inherited from Element).
Public property Principals Gets or sets element's principal stresses (defined as double [numberOfNodes, 3]). (inherited from Element).
Public property StiffnessMatrix Stiffness matrix. (inherited from Element).
Public property Stress Gets or sets element's stresses (defined as double [numberOfNodes, numberOfStressesPerNode]). (inherited from Element).
Public property VonMises Gets or sets element's VonMises stress (defined as double [numberOfNodes]). (inherited from Element).
Top
Methods
 
Name Description
Public method Static CalcPrincipal(double, double, double, double, double, double, out double, out double[]) Computes VonMises and principal stresses. (inherited from Element).
Public method Static CalcPrincipal(double[], out double, out double[]) Computes VonMises and principal stresses. (inherited from Element).
Public method CalcStiffness(Point3D[], int) Computes element's stiffness matrix. (inherited from Element).
Public method CalcStress(Point3D[], int, int[], bool) Computes element's stresses. (inherited from Element).
Public method CalcTemp(int, Point3D[]) Computes element's load derived from thermal expansion. (inherited from Element).
Public method Clone() Creates a deep copy of this element. (inherited from Element).
Protected method ComputeCartesianStressAtSamplingPoint(int, Point3D[]) (inherited from Element).
Protected method ComputeTemp(Point3D[], double[], double[,], double, double[], int, double[,])
Protected method ComputeThermalLoading(int, bool, double[,], double[])
Public method ConvertToSurrogate() (inherited from Element).
Public method Draw(RenderContextBase, Vector3D, Color, Point3D[], double) (inherited from Element).
Public method Draw(RenderContextBase, Vector3D, Point3D[], double) (inherited from Element).
Protected method DrawFace3(RenderContextBase, Vector3D, Color, Point3D[], double)
Protected method DrawFace3(RenderContextBase, Vector3D, Point3D[], double, double, double, bool, Color[])
Protected method DrawFace4(RenderContextBase, Vector3D, Color, Point3D[], double)
Protected method DrawFace4(RenderContextBase, Vector3D, Point3D[], double)
Protected method DrawFace4(RenderContextBase, Vector3D, Point3D[], Color, double)
Protected method DrawFace4(RenderContextBase, Vector3D, Point3D[], double, double, double, bool, Color[])
Protected method DrawFace6(RenderContextBase, Color, int, Point3D[], double) (inherited from Element).
Protected method DrawFace6(RenderContextBase, int, Point3D[], double) (inherited from Element).
Protected method DrawFace6(RenderContextBase, int, Point3D[], double, double, double, bool, Color[]) (inherited from Element).
Protected method DrawFace8(RenderContextBase, Color, int, Point3D[], double) (inherited from Element).
Protected method DrawFace8(RenderContextBase, int, Point3D[], double) (inherited from Element).
Protected method DrawFace8(RenderContextBase, int, Point3D[], double, double, double, bool, Color[]) (inherited from Element).
Protected method DrawFaceElement3(RenderContextBase, Vector3D, Point3D[], double, double, double, bool, Color[])
Protected method DrawFaceElement4(RenderContextBase, Vector3D, Point3D[], double, double, double, bool, Color[])
Protected method DrawFaceElement6(RenderContextBase, int, Point3D[], double, double, double, bool, Color[]) (inherited from Element).
Public method DrawWithSharpColor(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[]) (inherited from Element).
Public method DrawWithSharpColorElement(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[]) (inherited from Element).
Public method DrawWithSmoothColor(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[]) (inherited from Element).
Public method DrawWithSmoothColorElement(RenderContextBase, Vector3D, Point3D[], double, double, double, Color[]) (inherited from Element).
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Public method Extrude(Vector3D, int, FemMesh) Creates a 3D FemMesh extruding a 2D FemMesh.
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[]) (inherited from Element).
Protected method GetFace3(int, int, Point3D[], double, List<Point3D>) (inherited from Element).
Protected method GetFace4(int, int, Point3D[], double, List<Point3D>) (inherited from Element).
Protected method GetFace6(int, int, Point3D[], double, List<Point3D>) (inherited from Element).
Protected method GetFace8(int, int, Point3D[], double, List<Point3D>) (inherited from Element).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetTriangles(int, Point3D[], double, List<Point3D>) (inherited from Element).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method Jacob2(int, int, Point3D[], double[], double[,], out double, double[,], double[,]) CALCULATES COORDINATES OF GAUSS POINTS AND THE JACOBIAN MATRIX AND ITS DETERMINANT AND THE INVERSE FOR 2D ELEMENTS.
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. (inherited from Element).
Public method Revolve(double, Vector3D, Point3D, int, FemMesh) Revolves this FemMesh around an axis.
Public method SetPressure(int, Vector3D, Point3D[]) Loads an edge or a face of the element given a pressure vector. (inherited from Element).
Public method SetPressure(int, double, Point3D[]) Loads an edge or a face of the element with a perpendicular pressure of the given magnitude. (inherited from Element).
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). (inherited from Element).
Protected method StiffnessComputation(int, double[], double[,], double[,], double, double)
Public method ToString() Returns a string that represents the current object. (inherited from Element).
Protected method TotalUpTheStresses(double[,], int[], Point3D[])
Public method UpdateVonMisesAndPrincipals() Updates the VonMises and Principal (P1, P2, P3) stresses using the Stress array as input. (inherited from Element).
Public method Static WeightedAverage(double, double, double, double, double, double) Returns XC = (X2 + X4 + X6)/3 (inherited from Element).
Public method Static WeightedAverage(double, double, double, double, double, double, double, double) Returns XC = (X2 + X4 + X6 + X8)/2 - (X1 + X3 + X5 + X7)/4 (inherited from Element).
Top
Classes
 
Name Description
Public class Edge 2D element edge definition.
Top
Fields
 
Name Description
Protected field B Strain-Displacement matrix. (inherited from Element).
Public field Connection Element's nodes indices. (inherited from Element).
Protected field K StiffnessMatrix matrix. (inherited from Element).
Protected field NumberOfDimensions Number of dimensions in model. (inherited from Element).
Public field NumberOfDofPerNode Number of degrees of freedom at each node. (inherited from Element).
Protected field NumberOfGaussPoints Number of gauss points per element. (inherited from Element).
Public field NumberOfNodes Element's number of nodes. (inherited from Element).
Protected field NumberOfStressesPerNode Number of stresses per node. (inherited from Element).
Protected field StressMatrix Element's stress matrix. (inherited from Element).
Public field TotalDof Total number of degrees of freedom per element: NumberOfDofPerNode * NumberOfNodes (inherited from Element).
Internal protected (Protected Friend) field elEdges Element edges.
Internal protected (Protected Friend) field elFaces Element face array. (inherited from Element).
Protected field mat Element's material. (inherited from Element).
Public field plotValues (inherited from Element).
Top

.NET Framework

Supported in: 4.8

In this article

Definition