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.
|
#include <boundary_normals_calculation_utilities.hpp>
Public Types | |
Type Definitions | |
typedef ModelPart::NodesContainerType | NodesArrayType |
typedef ModelPart::ElementsContainerType | ElementsContainerType |
typedef ModelPart::ConditionsContainerType | ConditionsContainerType |
typedef ModelPart::MeshType | MeshType |
typedef GlobalPointersVector< Node > | NodeWeakPtrVectorType |
typedef GlobalPointersVector< Element > | ElementWeakPtrVectorType |
typedef GlobalPointersVector< Condition > | ConditionWeakPtrVectorType |
Public Member Functions | |
Operations | |
void | CalculateUnitBoundaryNormals (ModelPart &rModelPart, int EchoLevel=0) |
Calculates the area normal (vector oriented as the normal with a dimension proportional to the area). More... | |
void | CalculateWeightedBoundaryNormals (ModelPart &rModelPart, int EchoLevel=0) |
Calculates the area normal (unitary vector oriented as the normal) and weight the normal to shrink. More... | |
Short class definition. Tool to evaluate the normals on nodes based on the normals of a set of surface conditions
typedef ModelPart::ConditionsContainerType Kratos::BoundaryNormalsCalculationUtilities::ConditionsContainerType |
typedef GlobalPointersVector<Condition> Kratos::BoundaryNormalsCalculationUtilities::ConditionWeakPtrVectorType |
typedef ModelPart::ElementsContainerType Kratos::BoundaryNormalsCalculationUtilities::ElementsContainerType |
typedef GlobalPointersVector<Element> Kratos::BoundaryNormalsCalculationUtilities::ElementWeakPtrVectorType |
typedef GlobalPointersVector<Node> Kratos::BoundaryNormalsCalculationUtilities::NodeWeakPtrVectorType |
|
inline |
Calculates the area normal (vector oriented as the normal with a dimension proportional to the area).
This is done on the base of the Conditions provided which should be understood as the surface elements of the area of interest.
rModelPart | ModelPart of the problem. Must have a set of conditions defining the "skin" of the domain |
dimension | Spatial dimension (2 or 3) |
|
inline |
Calculates the area normal (unitary vector oriented as the normal) and weight the normal to shrink.