chrono::fea::ChSurfaceOfModel Class Reference

Description

Class which defines a surface for a model of FEA elements.

The surface is a collection of pointers to ChFieldElementSurface objects, which can be shells in the model 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 <ChSurfaceOfModel.h>

Public Member Functions

 ChSurfaceOfModel (ChFEModel *parentmodel=nullptr)
 
ChFEModelGetmodel ()
 Get owner model.
 
void Setmodel (ChFEModel *mm)
 Set owner model.
 
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 model 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 model. More...
 

Member Function Documentation

◆ AddFace()

virtual void chrono::fea::ChSurfaceOfModel::AddFace ( std::shared_ptr< ChFieldElementSurface mface)
inlinevirtual

Add a single model face.

Note that this function does not check for double insertion of the same face.

◆ AddFacesFromBoundary()

void chrono::fea::ChSurfaceOfModel::AddFacesFromBoundary ( )
virtual

Find faces on the outer boundary of a solid model.

Scan all the finite elements already added in the parent ChFEModel and add the faces that are not shared.

◆ AddFacesFromNodeSet()

void chrono::fea::ChSurfaceOfModel::AddFacesFromNodeSet ( std::vector< std::shared_ptr< ChNodeFEAbase > > &  node_set)
virtual

Add multiple faces of FEM elements given a set of nodes at vertexes.

Scan all the finite elements already added in the parent ChFEModel, and check if any has a face whose vertexes are all in the given node set; if so, add it to this model surface.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/fea/multiphysics/ChSurfaceOfModel.h
  • /builds/uwsbel/chrono/src/chrono/fea/multiphysics/ChSurfaceOfModel.cpp