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 | CalculateAndUpdateNodalMinimumWallDistance (ModelPart::NodeType &rNode, const array_1d< double, 3 > &rWallLocation, const array_1d< double, 3 > &rUnitNormal, const Variable< double > &rDistanceVariable) |
Calculates wall distance and updates nodal value. More... | |
void Kratos::WallDistanceCalculationUtilities::CalculateAndUpdateNodalMinimumWallDistance | ( | ModelPart::NodeType & | rNode, |
const array_1d< double, 3 > & | rWallLocation, | ||
const array_1d< double, 3 > & | rUnitNormal, | ||
const Variable< double > & | rDistanceVariable | ||
) |
Calculates wall distance and updates nodal value.
This method calculates wall distance. Wall distance is the projection of distance vector from node to wall point in the direction of normal
rNode | Node, where wall distance is required |
rWallLocation | Nearest wall location |
rUnitNormal | Wall normal (this should be always outward pointing normal) |
rDistanceVariable | Distance variable to store nodal distance |