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.
List of all members
Kratos::BodyNormalCalculationUtils Class Reference

#include <body_normal_calculation_utils.h>

Collaboration diagram for Kratos::BodyNormalCalculationUtils:

Public Types

Type Definitions
typedef ModelPart::NodesContainerType NodesArrayType
 
typedef ModelPart::ElementsContainerType ElementsArrayType
 

Public Member Functions

Operations
void CalculateBodyNormals (ModelPart &r_model_part, int dimension)
 

Detailed Description

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}

Member Typedef Documentation

◆ ElementsArrayType

◆ NodesArrayType

Member Function Documentation

◆ CalculateBodyNormals()

void Kratos::BodyNormalCalculationUtils::CalculateBodyNormals ( ModelPart r_model_part,
int  dimension 
)
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.

Parameters
ModelPartthe model part with the discretization of the volume
dimensionthe working space dimension

The documentation for this class was generated from the following file: