Description
Class which defines a surface for a domain of FEA elements.
The surface is a collection of pointers to ChFieldElementSurface objects, which can be shells in the domain or proxies to faces of solid elements (such as ChFieldElementTetrahedron4Face or ChFieldElementHexahedron8Face). Those faces can be wrapped into ChFieldElementLoadableSurface if one aims at loading them via pressure or other loads.
#include <ChSurfaceOfDomain.h>
Public Member Functions | |
| ChSurfaceOfDomain (ChDomain *parentdomain=nullptr) | |
| ChDomain * | GetDomain () |
| Get owner domain. | |
| void | SetDomain (ChDomain *mm) |
| Set owner domain. | |
| std::vector< std::shared_ptr< ChFieldElementSurface > > & | GetFaces () |
| Direct access to the list of faces. | |
| virtual void | AddFace (std::shared_ptr< ChFieldElementSurface > mface) |
| Add a single domain face. More... | |
| virtual void | AddFacesFromNodeSet (std::vector< std::shared_ptr< ChNodeFEAbase > > &node_set) |
| Add multiple faces of FEM elements given a set of nodes at vertexes. More... | |
| virtual void | AddFacesFromBoundary () |
| Find faces on the outer boundary of a solid domain. More... | |
Member Function Documentation
◆ AddFace()
|
inlinevirtual |
Add a single domain face.
Note that this function does not check for double insertion of the same face.
◆ AddFacesFromBoundary()
|
virtual |
Find faces on the outer boundary of a solid domain.
Scan all the finite elements already added in the parent ChDomain and add the faces that are not shared.
◆ AddFacesFromNodeSet()
|
virtual |
Add multiple faces of FEM elements given a set of nodes at vertexes.
Scan all the finite elements already added in the parent ChDomain, and check if any has a face whose vertexes are all in the given node set; if so, add it to this domain surface.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/fea/ChSurfaceOfDomain.h
- /builds/uwsbel/chrono/src/chrono/fea/ChSurfaceOfDomain.cpp