![]() |
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.
|
Functions | |
| void | Create2DGeometry (ModelPart &rModelPart, const std::string &rEntityName="Element2D3N", const bool Initialize=true, const bool Elements=true) |
| This method creates a simple geometry in 2D (triangles) More... | |
| void | CreateTestModelPartTriangle2D3N (ModelPart &rModelPart) |
| This method creates a pure (Element) simple geometry in 2D (triangles) More... | |
| void | Create2DQuadrilateralsGeometry (ModelPart &rModelPart, const std::string &rEntityName="Element2D4N", const bool Initialize=true, const bool Elements=true) |
| This method creates a simple geometry in 2D (quadrilaterals) More... | |
| void | Create3DGeometry (ModelPart &rModelPart, const std::string &rElementName="Element3D4N", const bool Initialize=true) |
| This method creates a simple geometry in 3D (tetrahedra) More... | |
| void | CreateTestModelPartTetrahedra3D4N (ModelPart &rModelPart) |
| This method creates a pure (Element) simple geometry in 3D (tetrahedra) More... | |
| void | Create3DHexahedraGeometry (ModelPart &rModelPart, const std::string &rElementName="Element3D8N", const bool Initialize=true) |
| This method creates a simple geometry in 3D (hexahedra) More... | |
| void | Create3DQuadraticGeometry (ModelPart &rModelPart, const std::string &rElementName="Element3D10N", const bool Initialize=true) |
| This method creates a simple geometry in 3D (tetrahedra quadratic) More... | |
| void | CreateSphereTriangularMesh (ModelPart &rModelPart, const std::string &rConditionName="SurfaceCondition3D3N", const double Radius=0.25, const std::array< double, 3 > &rCenter={0.0, 0.0, 0.0}) |
| This method creates a simple geometry sphere of triangles. More... | |
| ModelPart & | CreateCubeSkinModelPart (Model &rCurrentModel, const double HalfX=0.6, const double HalfY=0.9, const double HalfZ=0.3, const DataCommunicator &rDataCommunicator=Testing::GetDefaultDataCommunicator()) |
| Create a cube skin model part. More... | |
| ModelPart & | CreateCubeModelPart (Model &rCurrentModel, const DataCommunicator &rDataCommunicator=Testing::GetDefaultDataCommunicator()) |
| Create a cube model part. More... | |
| void Kratos::CppTestsUtilities::Create2DGeometry | ( | ModelPart & | rModelPart, |
| const std::string & | rEntityName = "Element2D3N", |
||
| const bool | Initialize = true, |
||
| const bool | Elements = true |
||
| ) |
This method creates a simple geometry in 2D (triangles)
| rModelPart | Reference to the ModelPart containing the problem |
| rEntityName | The entity name considered |
| Initialize | If initialize the entities |
| Elements | If create elements or conditions |
| void Kratos::CppTestsUtilities::Create2DQuadrilateralsGeometry | ( | ModelPart & | rModelPart, |
| const std::string & | rEntityName = "Element2D4N", |
||
| const bool | Initialize = true, |
||
| const bool | Elements = true |
||
| ) |
This method creates a simple geometry in 2D (quadrilaterals)
| rModelPart | Reference to the ModelPart containing the problem |
| rEntityName | The entity name considered |
| Initialize | If initialize the entities |
| Elements | If create elements or conditions |
| void Kratos::CppTestsUtilities::Create3DGeometry | ( | ModelPart & | rModelPart, |
| const std::string & | rElementName = "Element3D4N", |
||
| const bool | Initialize = true |
||
| ) |
This method creates a simple geometry in 3D (tetrahedra)
| rModelPart | Reference to the ModelPart containing the problem |
| rElementName | The element name considered |
| Initialize | If initialize the elements |
| void Kratos::CppTestsUtilities::Create3DHexahedraGeometry | ( | ModelPart & | rModelPart, |
| const std::string & | rElementName = "Element3D8N", |
||
| const bool | Initialize = true |
||
| ) |
This method creates a simple geometry in 3D (hexahedra)
| rModelPart | Reference to the ModelPart containing the problem |
| rElementName | The element name considered |
| Initialize | If initialize the elements |
| void Kratos::CppTestsUtilities::Create3DQuadraticGeometry | ( | ModelPart & | rModelPart, |
| const std::string & | rElementName = "Element3D10N", |
||
| const bool | Initialize = true |
||
| ) |
This method creates a simple geometry in 3D (tetrahedra quadratic)
| rModelPart | Reference to the ModelPart containing the problem |
| rElementName | The element name considered |
| Initialize | If initialize the elements |
| ModelPart & Kratos::CppTestsUtilities::CreateCubeModelPart | ( | Model & | rCurrentModel, |
| const DataCommunicator & | rDataCommunicator = Testing::GetDefaultDataCommunicator() |
||
| ) |
Create a cube model part.
| rCurrentModel | The current model. |
| rDataCommunicator | The data communicator. |
| ModelPart & Kratos::CppTestsUtilities::CreateCubeSkinModelPart | ( | Model & | rCurrentModel, |
| const double | HalfX = 0.6, |
||
| const double | HalfY = 0.9, |
||
| const double | HalfZ = 0.3, |
||
| const DataCommunicator & | rDataCommunicator = Testing::GetDefaultDataCommunicator() |
||
| ) |
Create a cube skin model part.
| rCurrentModel | The current model. |
| HalfX | The half-length of the cube in the X-direction. |
| HalfY | The half-length of the cube in the Y-direction. |
| HalfZ | The half-length of the cube in the Z-direction. |
| rDataCommunicator | The data communicator. |
| void Kratos::CppTestsUtilities::CreateSphereTriangularMesh | ( | ModelPart & | rModelPart, |
| const std::string & | rConditionName = "SurfaceCondition3D3N", |
||
| const double | Radius = 0.25, |
||
| const std::array< double, 3 > & | rCenter = {0.0, 0.0, 0.0} |
||
| ) |
This method creates a simple geometry sphere of triangles.
| rModelPart | Reference to the ModelPart containing the problem |
| rConditionName | The condition name considered |
| Radius | The radius of the sphere |
| rCenter | The center of the sphere |
| void Kratos::CppTestsUtilities::CreateTestModelPartTetrahedra3D4N | ( | ModelPart & | rModelPart | ) |