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_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_OMEGA_WALL_CONDITION_DATA_OMEGA_K_BASED_CONDITION_DATA_H_INCLUDED)
14 #define KRATOS_K_OMEGA_WALL_CONDITION_DATA_OMEGA_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 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() {return "KOmegaOmegaKBasedConditionData";}
51 
53  const GeometryType& rGeometry,
54  const Properties& rProperties,
55  const ProcessInfo& rProcessInfo)
56  : BaseType(rGeometry, rProperties, rProcessInfo)
57  {
58  }
59 
60  void CalculateConstants(
61  const ProcessInfo& rCurrentProcessInfo);
62 
63  bool IsWallFluxComputable() const;
64 
65  double CalculateWallFlux(
66  const Vector& rShapeFunctions);
67 
68 protected:
69  double mOmegaSigma;
70  double mKappa;
71  double mYPlus;
72  double mCmu25;
73  double mDensity;
74 };
75 
77 
78 } // namespace KOmegaWallConditionData
79 
80 } // namespace Kratos
81 
82 #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_k_based_wall_condition_data.h:36
double mOmegaSigma
Definition: omega_k_based_wall_condition_data.h:69
static const Variable< double > & GetScalarVariable()
Definition: omega_k_based_wall_condition_data.cpp:33
void CalculateConstants(const ProcessInfo &rCurrentProcessInfo)
Definition: omega_k_based_wall_condition_data.cpp:73
static void Check(const Condition &rCondition, const ProcessInfo &rCurrentProcessInfo)
Definition: omega_k_based_wall_condition_data.cpp:38
static GeometryData::IntegrationMethod GetIntegrationMethod()
Definition: omega_k_based_wall_condition_data.cpp:68
bool IsWallFluxComputable() const
Definition: omega_k_based_wall_condition_data.cpp:94
static const std::string GetName()
Definition: omega_k_based_wall_condition_data.h:50
OmegaKBasedWallConditionData(const GeometryType &rGeometry, const Properties &rProperties, const ProcessInfo &rProcessInfo)
Definition: omega_k_based_wall_condition_data.h:52
double CalculateWallFlux(const Vector &rShapeFunctions)
Definition: omega_k_based_wall_condition_data.cpp:99
double mKappa
Definition: omega_k_based_wall_condition_data.h:70
double mYPlus
Definition: omega_k_based_wall_condition_data.h:71
double mCmu25
Definition: omega_k_based_wall_condition_data.h:72
double mDensity
Definition: omega_k_based_wall_condition_data.h:73
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