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_element_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_ELEMENT_DATA_EPSILON_ELEMENT_DATA_H_INCLUDED)
14 #define KRATOS_K_EPSILON_HIGH_RE_ELEMENT_DATA_EPSILON_ELEMENT_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 KEpsilonElementData
34 {
35 template <unsigned int TDim>
37 {
38 public:
41 
43 
44  using NodeType = Node;
45 
47 
51 
53  const GeometryType& rGeometry,
54  const Properties& rProperties,
55  const ProcessInfo& rProcessInfo)
56  : BaseType(rGeometry, rProperties, rProcessInfo)
57  {
58  }
59 
60  ~EpsilonElementData() override = default;
61 
65 
66  static const Variable<double>& GetScalarVariable();
67 
68  static void Check(
69  const Element& rElement,
70  const ProcessInfo& rCurrentProcessInfo);
71 
72  static const std::string GetName()
73  {
74  return "KEpsilonEpsilonElementData";
75  }
76 
80 
81  void CalculateConstants(
82  const ProcessInfo& rCurrentProcessInfo);
83 
85  const Vector& rShapeFunctions,
86  const Matrix& rShapeFunctionDerivatives,
87  const int Step = 0);
88 
90 
91 protected:
94 
99 
101 
102  double mC1;
103  double mC2;
104  double mCmu;
105  double mGamma;
111  double mDensity;
112 
114 };
115 
117 
118 } // namespace KEpsilonElementData
119 
120 } // namespace Kratos
121 
122 #endif
Base class to hold Convection-Diffusion-Reaction transport equation data.
Definition: convection_diffusion_reaction_element_data.h:64
double mSourceTerm
Definition: convection_diffusion_reaction_element_data.h:137
double mReactionTerm
Definition: convection_diffusion_reaction_element_data.h:136
ArrayD mEffectiveVelocity
Definition: convection_diffusion_reaction_element_data.h:134
Geometry< Node > GeometryType
Definition: convection_diffusion_reaction_element_data.h:69
double mEffectiveKinematicViscosity
Definition: convection_diffusion_reaction_element_data.h:135
Base class for all Elements.
Definition: element.h:60
Geometry base class.
Definition: geometry.h:71
Definition: epsilon_element_data.h:37
double mC2
Definition: epsilon_element_data.h:103
double mTurbulentKinematicViscosity
Definition: epsilon_element_data.h:107
double mC1
Definition: epsilon_element_data.h:102
double mDensity
Definition: epsilon_element_data.h:111
void CalculateGaussPointData(const Vector &rShapeFunctions, const Matrix &rShapeFunctionDerivatives, const int Step=0)
Definition: epsilon_element_data.cpp:90
double mInvEpsilonSigma
Definition: epsilon_element_data.h:110
static const Variable< double > & GetScalarVariable()
Definition: epsilon_element_data.cpp:34
EpsilonElementData(const GeometryType &rGeometry, const Properties &rProperties, const ProcessInfo &rProcessInfo)
Definition: epsilon_element_data.h:52
double mGamma
Definition: epsilon_element_data.h:105
static const std::string GetName()
Definition: epsilon_element_data.h:72
void CalculateConstants(const ProcessInfo &rCurrentProcessInfo)
Definition: epsilon_element_data.cpp:79
double mVelocityDivergence
Definition: epsilon_element_data.h:109
BoundedMatrix< double, TDim, TDim > mVelocityGradient
Definition: epsilon_element_data.h:100
static void Check(const Element &rElement, const ProcessInfo &rCurrentProcessInfo)
Definition: epsilon_element_data.cpp:40
double mKinematicViscosity
Definition: epsilon_element_data.h:108
double mTurbulentKineticEnergy
Definition: epsilon_element_data.h:106
double mCmu
Definition: epsilon_element_data.h:104
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
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21