KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
This class performs the (constrained) Delaunay meshing of the internal volume given a surface discretized in terms of triangular conditions. More...
#include <tetgen_volume_mesher.h>
Public Member Functions | |
Type Definitions | |
KRATOS_CLASS_POINTER_DEFINITION (TetgenVolumeMesher) | |
Pointer definition of TetgenVolumeMesher. More... | |
Life Cycle | |
TetgenVolumeMesher (ModelPart &rmodel_part) | |
Default constructor. More... | |
virtual | ~TetgenVolumeMesher ()=default |
Destructor. More... | |
void | AddHole (double x, double y, double z) |
void | GenerateMesh (std::string settings, std::string ElementName) |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
This class performs the (constrained) Delaunay meshing of the internal volume given a surface discretized in terms of triangular conditions.
This class performs the meshing of the internal volume given a surface discretized in terms of triangular conditions. Meshing is performed using the Tetgen mesher by Hang Si
|
inline |
Default constructor.
|
virtualdefault |
Destructor.
This function is designed to add volumes, to carve out cavities inside a domain. The user is expected to manually prescribe the position of the cavities. As many "Holes" as needed can be prescribed"
x | - x coordinate of the cavity |
y | - y coordinate of the cavity |
z | - z coordinate of the cavity |
|
inline |
This function performs the actual meshing. The conditions used to define the surface will be mantained in the final mesh. The user is expected to prescribe the command line settings to be used accordin to the Tetgen manual. WARNING: please note that YY is needed between the parameters
settings | - string containing the command line settings |
ElementName | - name of the type of elements to be created please note that the element type given should be registered in the Kratos |
|
inlinevirtual |
Turn back information as a string.
Kratos::TetgenVolumeMesher::KRATOS_CLASS_POINTER_DEFINITION | ( | TetgenVolumeMesher | ) |
Pointer definition of TetgenVolumeMesher.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.