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.
Namespaces | Functions
rans_calculation_utilities.cpp File Reference
#include <cmath>
#include "utilities/variable_utils.h"
#include "utilities/parallel_utilities.h"
#include "custom_utilities/fluid_calculation_utilities.h"
#include "rans_application_variables.h"
#include "rans_calculation_utilities.h"
Include dependency graph for rans_calculation_utilities.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::RansCalculationUtilities
 

Functions

void Kratos::RansCalculationUtilities::CalculateGeometryData (const GeometryType &rGeometry, const GeometryData::IntegrationMethod &rIntegrationMethod, Vector &rGaussWeights, Matrix &rNContainer, GeometryType::ShapeFunctionsGradientsType &rDN_DX)
 
void Kratos::RansCalculationUtilities::CalculateConditionGeometryData (const GeometryType &rGeometry, const GeometryData::IntegrationMethod &rIntegrationMethod, Vector &rGaussWeights, Matrix &rNContainer)
 
template<unsigned int TDim>
double Kratos::RansCalculationUtilities::CalculateMatrixTrace (const BoundedMatrix< double, TDim, TDim > &rMatrix)
 
GeometryType::ShapeFunctionsGradientsType Kratos::RansCalculationUtilities::CalculateGeometryParameterDerivatives (const GeometryType &rGeometry, const GeometryData::IntegrationMethod &rIntegrationMethod)
 
template<std::size_t TDim>
void Kratos::RansCalculationUtilities::CalculateGeometryParameterDerivativesShapeSensitivity (BoundedMatrix< double, TDim, TDim > &rOutput, const ShapeParameter &rShapeDerivative, const Matrix &rDnDe, const Matrix &rDeDx)
 
template<unsigned int TNumNodes>
void Kratos::RansCalculationUtilities::CalculateGaussSensitivities (BoundedVector< double, TNumNodes > &rGaussSensitivities, const BoundedVector< double, TNumNodes > &rNodalSensitivities, const Vector &rGaussShapeFunctions)
 
double Kratos::RansCalculationUtilities::CalculateLogarithmicYPlusLimit (const double Kappa, const double Beta, const int MaxIterations, const double Tolerance)
 
double Kratos::RansCalculationUtilities::CalculateWallHeight (const ConditionType &rCondition, const array_1d< double, 3 > &rNormal)
 
array_1d< double, 3 > Kratos::RansCalculationUtilities::CalculateWallVelocity (const ConditionType &rCondition)
 
void Kratos::RansCalculationUtilities::CalculateYPlusAndUtau (double &rYPlus, double &rUTau, const double WallVelocity, const double WallHeight, const double KinematicViscosity, const double Kappa, const double Beta, const int MaxIterations, const double Tolerance)
 
bool Kratos::RansCalculationUtilities::IsWallFunctionActive (const ConditionType &rCondition)
 
bool Kratos::RansCalculationUtilities::IsInlet (const ConditionType &rCondition)
 
template<>
ModelPart::NodesContainerType & Kratos::RansCalculationUtilities::GetContainer (ModelPart &rModelPart)
 
template<class TContainerType >
void Kratos::RansCalculationUtilities::CalculateNumberOfNeighbourEntities (ModelPart &rModelPart, const Variable< double > &rOutputVariable)
 Calculates number of neighbours. More...
 
template double Kratos::RansCalculationUtilities::CalculateMatrixTrace< 2 > (const BoundedMatrix< double, 2, 2 > &)
 
template double Kratos::RansCalculationUtilities::CalculateMatrixTrace< 3 > (const BoundedMatrix< double, 3, 3 > &)
 
template void Kratos::RansCalculationUtilities::CalculateGeometryParameterDerivativesShapeSensitivity< 2 > (BoundedMatrix< double, 2, 2 > &, const ShapeParameter &, const Matrix &, const Matrix &)
 
template void Kratos::RansCalculationUtilities::CalculateGeometryParameterDerivativesShapeSensitivity< 3 > (BoundedMatrix< double, 3, 3 > &, const ShapeParameter &, const Matrix &, const Matrix &)
 
template void Kratos::RansCalculationUtilities::CalculateGaussSensitivities< 3 > (BoundedVector< double, 3 > &, const BoundedVector< double, 3 > &, const Vector &)
 
template void Kratos::RansCalculationUtilities::CalculateGaussSensitivities< 4 > (BoundedVector< double, 4 > &, const BoundedVector< double, 4 > &, const Vector &)
 
template void Kratos::RansCalculationUtilities::CalculateNumberOfNeighbourEntities< ModelPart::ConditionsContainerType > (ModelPart &, const Variable< double > &)
 
template void Kratos::RansCalculationUtilities::CalculateNumberOfNeighbourEntities< ModelPart::ElementsContainerType > (ModelPart &, const Variable< double > &)