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_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_EPSILON_WALL_CONDITION_DATA_EPSILON_U_BASED_CONDITION_DATA_H_INCLUDED)
14 #define KRATOS_K_EPSILON_WALL_CONDITION_DATA_EPSILON_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 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 "KEpsilonEpsilonUBasedConditionData";
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 mInvKappa;
75  double mBeta;
76  double mYPlus;
77  double mDensity;
78 };
79 
81 
82 } // namespace KEpsilonWallConditionData
83 
84 } // namespace Kratos
85 
86 #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_u_based_wall_condition_data.h:36
bool IsWallFluxComputable() const
Definition: epsilon_u_based_wall_condition_data.cpp:97
double mBeta
Definition: epsilon_u_based_wall_condition_data.h:75
double mEpsilonSigma
Definition: epsilon_u_based_wall_condition_data.h:72
static GeometryData::IntegrationMethod GetIntegrationMethod()
Definition: epsilon_u_based_wall_condition_data.cpp:69
static const Variable< double > & GetScalarVariable()
Definition: epsilon_u_based_wall_condition_data.cpp:33
EpsilonUBasedWallConditionData(const GeometryType &rGeometry, const Properties &rProperties, const ProcessInfo &rProcessInfo)
Definition: epsilon_u_based_wall_condition_data.h:55
double CalculateWallFlux(const Vector &rShapeFunctions)
Definition: epsilon_u_based_wall_condition_data.cpp:102
double mYPlus
Definition: epsilon_u_based_wall_condition_data.h:76
void CalculateConstants(const ProcessInfo &rCurrentProcessInfo)
Definition: epsilon_u_based_wall_condition_data.cpp:74
double mDensity
Definition: epsilon_u_based_wall_condition_data.h:77
double mInvKappa
Definition: epsilon_u_based_wall_condition_data.h:74
static const std::string GetName()
Definition: epsilon_u_based_wall_condition_data.h:50
double mKappa
Definition: epsilon_u_based_wall_condition_data.h:73
static void Check(const Condition &rCondition, const ProcessInfo &rCurrentProcessInfo)
Definition: epsilon_u_based_wall_condition_data.cpp:38
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