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 <body_normal_calculation_utils.h>
Public Types | |
Type Definitions | |
typedef ModelPart::NodesContainerType | NodesArrayType |
typedef ModelPart::ElementsContainerType | ElementsArrayType |
Public Member Functions | |
Operations | |
void | CalculateBodyNormals (ModelPart &r_model_part, int dimension) |
Short class definition. Detail class definition.
\URL[Example of use html]{ extended_documentation/no_ex_of_use.html}
\URL[Example of use pdf]{ extended_documentation/no_ex_of_use.pdf}
\URL[Example of use doc]{ extended_documentation/no_ex_of_use.doc}
\URL[Example of use ps]{ extended_documentation/no_ex_of_use.ps}
\URL[Extended documentation html]{ extended_documentation/no_ext_doc.html} \URL[Extended documentation pdf]{ extended_documentation/no_ext_doc.pdf} \URL[Extended documentation doc]{ extended_documentation/no_ext_doc.doc} \URL[Extended documentation ps]{ extended_documentation/no_ext_doc.ps}
|
inline |
this function calculates the "area normal" (vector oriented as the normal with a dimension proportional to the area. This is done basing on the volume discretization. the concept is to consider the volume as filled by a fluid at constant pressure. The effect of the pressure cancels on the internal nodes, but results in a net force being applied on the boundary nodes. Such net force is proportional to the area of boundary and oriented outwards, and we take it as definition of normal. NOTE: this works only for simplex meshes, that is triangles and tetras.
ModelPart | the model part with the discretization of the volume |
dimension | the working space dimension |