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

#include <fluid_calculation_utilities.h>

Collaboration diagram for Kratos::FluidCalculationUtilities:

Public Types

Type Definitions
using IndexType = std::size_t
 
using NodeType = Node
 
using GeometryType = Geometry< NodeType >
 
template<class TDataType >
using ComponentDataType = std::tuple< TDataType &, const TDataType & >
 

Static Public Member Functions

Static Operations
template<class... TRefVariableValuePairArgs>
static void EvaluateInPoint (const GeometryType &rGeometry, const Vector &rShapeFunction, const int Step, const TRefVariableValuePairArgs &... rValueVariablePairs)
 Evaluates given list of variable pairs at gauss point locations at step. More...
 
template<class... TRefVariableValuePairArgs>
static void EvaluateInPoint (const GeometryType &rGeometry, const Vector &rShapeFunction, const TRefVariableValuePairArgs &... rValueVariablePairs)
 Evaluates given list of variable pairs at gauss point locations at current step. More...
 
template<class... TRefVariableValuePairArgs>
static void EvaluateNonHistoricalInPoint (const GeometryType &rGeometry, const Vector &rShapeFunction, const TRefVariableValuePairArgs &... rValueVariablePairs)
 Evaluates given list of non historical variable pairs at gauss point locations. More...
 
template<class... TRefVariableValuePairArgs>
static void EvaluateGradientInPoint (const GeometryType &rGeometry, const Matrix &rShapeFunctionDerivatives, const int Step, const TRefVariableValuePairArgs &... rValueVariablePairs)
 Evaluates gradients of given list of variable pairs at gauss point locations at step. More...
 
template<class... TRefVariableValuePairArgs>
static void EvaluateGradientInPoint (const GeometryType &rGeometry, const Matrix &rShapeFunctionDerivatives, const TRefVariableValuePairArgs &... rValueVariablePairs)
 Evaluates gradients of given list of variable pairs at gauss point locations at current step. More...
 
template<class... TRefVariableValuePairArgs>
static void EvaluateNonHistoricalGradientInPoint (const GeometryType &rGeometry, const Matrix &rShapeFunctionDerivatives, const TRefVariableValuePairArgs &... rValueVariablePairs)
 Evaluates non historical gradients of given list of variable pairs at gauss point locations. More...
 
template<unsigned int TSize>
static void ReadSubVector (BoundedVector< double, TSize > &rOutput, const Vector &rInput, const IndexType Position)
 Get a sub vector from a vector. More...
 
template<unsigned int TSize>
static void AddSubVector (Matrix &rOutput, const BoundedVector< double, TSize > &rInput, const unsigned int RowIndex, const unsigned int ColumnIndex)
 Adds values of a vector to a given matrix. More...
 
static double CalculateLogarithmicYPlusLimit (const double Kappa, const double Beta, const int MaxIterations=20, const double Tolerance=1e-6)
 Calculates logarithmic and linear wall law region limit. More...
 
static double CalculateLogarithmicYPlus (const double WallVelocityMagnitude, const double WallHeight, const double KinematicViscosity, const double Kappa, const double Beta, const double YPlusLimit, const int MaxIterations=20, const double Tolerance=1e-6)
 Calculates linear or logarithmic y_plus value. More...
 

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