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.
omega_u_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_OMEGA_WALL_CONDITION_DATA_OMEGA_U_BASED_CONDITION_DATA_H_INCLUDED)
14 #define KRATOS_K_OMEGA_WALL_CONDITION_DATA_OMEGA_U_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 KOmegaWallConditionData
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 "KOmegaOmegaUBasedConditionData";
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 mOmegaSigma;
73  double mKappa;
74  double mInvKappa;
75  double mBeta;
76  double mYPlus;
77  double mCmu25;
78  double mDensity;
79 };
80 
82 
83 } // namespace KOmegaWallConditionData
84 
85 } // namespace Kratos
86 
87 #endif
Base class for all Conditions.
Definition: condition.h:59
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
Definition: omega_u_based_wall_condition_data.h:36
OmegaUBasedWallConditionData(const GeometryType &rGeometry, const Properties &rProperties, const ProcessInfo &rProcessInfo)
Definition: omega_u_based_wall_condition_data.h:55
bool IsWallFluxComputable() const
Definition: omega_u_based_wall_condition_data.cpp:99
double mBeta
Definition: omega_u_based_wall_condition_data.h:75
void CalculateConstants(const ProcessInfo &rCurrentProcessInfo)
Definition: omega_u_based_wall_condition_data.cpp:75
double CalculateWallFlux(const Vector &rShapeFunctions)
Definition: omega_u_based_wall_condition_data.cpp:104
double mInvKappa
Definition: omega_u_based_wall_condition_data.h:74
double mKappa
Definition: omega_u_based_wall_condition_data.h:73
double mDensity
Definition: omega_u_based_wall_condition_data.h:78
double mCmu25
Definition: omega_u_based_wall_condition_data.h:77
static const Variable< double > & GetScalarVariable()
Definition: omega_u_based_wall_condition_data.cpp:33
static void Check(const Condition &rCondition, const ProcessInfo &rCurrentProcessInfo)
Definition: omega_u_based_wall_condition_data.cpp:38
double mOmegaSigma
Definition: omega_u_based_wall_condition_data.h:72
static GeometryData::IntegrationMethod GetIntegrationMethod()
Definition: omega_u_based_wall_condition_data.cpp:70
double mYPlus
Definition: omega_u_based_wall_condition_data.h:76
static const std::string GetName()
Definition: omega_u_based_wall_condition_data.h:50
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