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 | Typedefs | Functions
rans_calculation_utilities.h File Reference
#include <cmath>
#include <tuple>
#include "geometries/geometry.h"
#include "geometries/geometry_data.h"
#include "includes/model_part.h"
#include "utilities/geometrical_sensitivity_utility.h"
Include dependency graph for rans_calculation_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Typedefs

using Kratos::RansCalculationUtilities::NodeType = ModelPart::NodeType
 Node type. More...
 
using Kratos::RansCalculationUtilities::ElementType = ModelPart::ElementType
 
using Kratos::RansCalculationUtilities::ConditionType = ModelPart::ConditionType
 
using Kratos::RansCalculationUtilities::GeometryType = Geometry< NodeType >
 Geometry type (using with given NodeType) More...
 
template<class TDataType >
using Kratos::RansCalculationUtilities::RefVariablePair = std::tuple< TDataType &, const Variable< TDataType > & >
 

Functions

long double Kratos::RansCalculationUtilities::SoftMax (const long double value_1, const long double value_2)
 
long double Kratos::RansCalculationUtilities::SoftPositive (const long double value)
 
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)
 
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 TDim>
double Kratos::RansCalculationUtilities::CalculateMatrixTrace (const BoundedMatrix< double, TDim, TDim > &rMatrix)
 
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)
 
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)
 
double Kratos::RansCalculationUtilities::CalculateWallHeight (const ConditionType &rCondition, const array_1d< double, 3 > &rNormal)
 
array_1d< double, 3 > Kratos::RansCalculationUtilities::CalculateWallVelocity (const ConditionType &rCondition)
 
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...