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.
rans_application_variables.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_RANS_APPLICATION_VARIABLES_H_INCLUDED)
14 #define KRATOS_RANS_APPLICATION_VARIABLES_H_INCLUDED
15 
16 // System includes
17 #include <vector>
18 #include <string>
19 
20 // External includes
21 
22 // Project includes
23 #include "includes/define.h"
24 #include "containers/variable.h"
25 
26 namespace Kratos
27 {
28  // incompressible potential flow specific variables
29  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, VELOCITY_POTENTIAL )
30  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, PRESSURE_POTENTIAL )
31  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, int, RANS_IS_INLET )
32  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, int, RANS_IS_OUTLET )
33  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, int, RANS_IS_STRUCTURE )
34 
35  // residual based flux corrected stabilization variables
36  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, RANS_STABILIZATION_DISCRETE_UPWIND_OPERATOR_COEFFICIENT )
37  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, RANS_STABILIZATION_DIAGONAL_POSITIVITY_PRESERVING_COEFFICIENT )
38 
39  // algebraic flux corrected stabilization variables
40  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, AFC_POSITIVE_ANTI_DIFFUSIVE_FLUX )
41  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, AFC_NEGATIVE_ANTI_DIFFUSIVE_FLUX )
42  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, AFC_POSITIVE_ANTI_DIFFUSIVE_FLUX_LIMIT )
43  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, AFC_NEGATIVE_ANTI_DIFFUSIVE_FLUX_LIMIT )
44 
45  // k-epsilon-high-re turbulence modelling variables
46  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_KINETIC_ENERGY )
47  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_ENERGY_DISSIPATION_RATE )
48  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_KINETIC_ENERGY_RATE )
49  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_ENERGY_DISSIPATION_RATE_2 )
50  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, RANS_AUXILIARY_VARIABLE_1 )
51  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, RANS_AUXILIARY_VARIABLE_2 )
52  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_C_MU )
53  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_KINETIC_ENERGY_SIGMA )
54  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_ENERGY_DISSIPATION_RATE_SIGMA )
55  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_C1 )
56  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_C2 )
57 
58  // k-omega turbulence modelling specific additional variables
59  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_SPECIFIC_ENERGY_DISSIPATION_RATE )
60  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_SPECIFIC_ENERGY_DISSIPATION_RATE_2 )
61  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_SPECIFIC_ENERGY_DISSIPATION_RATE_SIGMA )
62  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_BETA )
63  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_GAMMA )
64 
65  // k-omega-sst turbulence modelling specific additional variables
66  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_KINETIC_ENERGY_SIGMA_1 )
67  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_KINETIC_ENERGY_SIGMA_2 )
68  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_SPECIFIC_ENERGY_DISSIPATION_RATE_SIGMA_1 )
69  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENT_SPECIFIC_ENERGY_DISSIPATION_RATE_SIGMA_2 )
70  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_A1 )
71  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_BETA_1 )
72  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, TURBULENCE_RANS_BETA_2 )
73  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, VON_KARMAN )
74 
75  // wall function condition specific additional variables
76  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, RANS_Y_PLUS )
77  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, RANS_LINEAR_LOG_LAW_Y_PLUS_LIMIT )
78  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, WALL_SMOOTHNESS_BETA )
79  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, int, RANS_IS_WALL_FUNCTION_ACTIVE )
80  KRATOS_DEFINE_3D_APPLICATION_VARIABLE_WITH_COMPONENTS( RANS_APPLICATION, FRICTION_VELOCITY )
81 
82  // formulation specific variables
83  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, std::vector<std::string>, ANALYSIS_STEPS )
84  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, std::string, WALL_MODEL_PART_NAME )
85  KRATOS_DEFINE_APPLICATION_VARIABLE( RANS_APPLICATION, double, NUMBER_OF_NEIGHBOUR_CONDITIONS )
86 
87 } // namespace Kratos
88 
89 #endif /* KRATOS_RANS_APPLICATION_VARIABLES_H_INCLUDED */
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KRATOS_DEFINE_APPLICATION_VARIABLE(CHIMERA_APPLICATION, double, CHIMERA_DISTANCE)
KRATOS_DEFINE_3D_APPLICATION_VARIABLE_WITH_COMPONENTS(CHIMERA_APPLICATION, ROTATION_MESH_DISPLACEMENT)