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.
epsilon_k_based_wall_condition_data.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Suneth Warnakulasuriya
11 //
12 
13 #if !defined(KRATOS_K_EPSILON_HIGH_RE_WALL_CONDITION_DATA_EPSILON_K_BASED_CONDITION_DATA_H_INCLUDED)
14 #define KRATOS_K_EPSILON_HIGH_RE_WALL_CONDITION_DATA_EPSILON_K_BASED_CONDITION_DATA_H_INCLUDED
15 
16 // System includes
17 
18 // Project includes
19 #include "containers/variable.h"
21 #include "includes/node.h"
22 #include "includes/process_info.h"
24 
25 // Application includes
27 
28 namespace Kratos
29 {
32 
33 namespace KEpsilonWallConditionData
34 {
36 {
37 public:
39  using NodeType = Node;
41 
42  static const Variable<double>& GetScalarVariable();
43 
44  static void Check(
45  const Condition& rCondition,
46  const ProcessInfo& rCurrentProcessInfo);
47 
49 
50  static const std::string GetName()
51  {
52  return "KEpsilonEpsilonKBasedConditionData";
53  }
54 
56  const GeometryType& rGeometry,
57  const Properties& rProperties,
58  const ProcessInfo& rProcessInfo)
59  : BaseType(rGeometry, rProperties, rProcessInfo)
60  {
61  }
62 
63  void CalculateConstants(
64  const ProcessInfo& rCurrentProcessInfo);
65 
66  bool IsWallFluxComputable() const;
67 
68  double CalculateWallFlux(
69  const Vector& rShapeFunctions);
70 
71 protected:
72  double mEpsilonSigma;
73  double mKappa;
74  double mYPlus;
75  double mCmu25;
76  double mDensity;
77 };
78 
80 
81 } // namespace KEpsilonWallConditionData
82 
83 } // namespace Kratos
84 
85 #endif
Base class for all Conditions.
Definition: condition.h:59
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
Definition: epsilon_k_based_wall_condition_data.h:36
double CalculateWallFlux(const Vector &rShapeFunctions)
Definition: epsilon_k_based_wall_condition_data.cpp:99
double mKappa
Definition: epsilon_k_based_wall_condition_data.h:73
static const std::string GetName()
Definition: epsilon_k_based_wall_condition_data.h:50
double mYPlus
Definition: epsilon_k_based_wall_condition_data.h:74
double mCmu25
Definition: epsilon_k_based_wall_condition_data.h:75
bool IsWallFluxComputable() const
Definition: epsilon_k_based_wall_condition_data.cpp:94
double mEpsilonSigma
Definition: epsilon_k_based_wall_condition_data.h:72
EpsilonKBasedWallConditionData(const GeometryType &rGeometry, const Properties &rProperties, const ProcessInfo &rProcessInfo)
Definition: epsilon_k_based_wall_condition_data.h:55
static GeometryData::IntegrationMethod GetIntegrationMethod()
Definition: epsilon_k_based_wall_condition_data.cpp:68
void CalculateConstants(const ProcessInfo &rCurrentProcessInfo)
Definition: epsilon_k_based_wall_condition_data.cpp:73
double mDensity
Definition: epsilon_k_based_wall_condition_data.h:76
static void Check(const Condition &rCondition, const ProcessInfo &rCurrentProcessInfo)
Definition: epsilon_k_based_wall_condition_data.cpp:38
static const Variable< double > & GetScalarVariable()
Definition: epsilon_k_based_wall_condition_data.cpp:33
This class defines the node.
Definition: node.h:65
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
Definition: scalar_wall_flux_condition_data.h:37
ScalarWallFluxConditionData(const GeometryType &rGeometry, const Properties &rConditionProperties, const ProcessInfo &rProcessInfo)
Definition: scalar_wall_flux_condition_data.h:41
Geometry< Node > GeometryType
Definition: scalar_wall_flux_condition_data.h:39
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21