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::BoundaryNormalsCalculationUtilities Class Reference

#include <boundary_normals_calculation_utilities.hpp>

Collaboration diagram for Kratos::BoundaryNormalsCalculationUtilities:

Public Types

Type Definitions
typedef ModelPart::NodesContainerType NodesArrayType
 
typedef ModelPart::ElementsContainerType ElementsContainerType
 
typedef ModelPart::ConditionsContainerType ConditionsContainerType
 
typedef ModelPart::MeshType MeshType
 
typedef GlobalPointersVector< NodeNodeWeakPtrVectorType
 
typedef GlobalPointersVector< ElementElementWeakPtrVectorType
 
typedef GlobalPointersVector< ConditionConditionWeakPtrVectorType
 

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...
 

Detailed Description

Short class definition. Tool to evaluate the normals on nodes based on the normals of a set of surface conditions

Member Typedef Documentation

◆ ConditionsContainerType

◆ ConditionWeakPtrVectorType

◆ ElementsContainerType

◆ ElementWeakPtrVectorType

◆ MeshType

◆ NodesArrayType

◆ NodeWeakPtrVectorType

Member Function Documentation

◆ CalculateUnitBoundaryNormals()

void Kratos::BoundaryNormalsCalculationUtilities::CalculateUnitBoundaryNormals ( ModelPart rModelPart,
int  EchoLevel = 0 
)
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.

Parameters
rModelPartModelPart of the problem. Must have a set of conditions defining the "skin" of the domain
dimensionSpatial dimension (2 or 3)
Note
Use this fuction instead of its overload taking a Conditions array for MPI applications, as it will take care of communication between partitions. Calculates the area normal (unitary vector oriented as the normal).

◆ CalculateWeightedBoundaryNormals()

void Kratos::BoundaryNormalsCalculationUtilities::CalculateWeightedBoundaryNormals ( ModelPart rModelPart,
int  EchoLevel = 0 
)
inline

Calculates the area normal (unitary vector oriented as the normal) and weight the normal to shrink.


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