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_epsilon_turbulent_mixing_length_inlet_process.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_EPSILON_TURBULENT_MIXING_LENGTH_INLET_PROCESS_H_INCLUDED)
14 #define KRATOS_RANS_EPSILON_TURBULENT_MIXING_LENGTH_INLET_PROCESS_H_INCLUDED
15 
16 // System includes
17 #include <string>
18 
19 // External includes
20 
21 // Project includes
22 #include "containers/model.h"
23 #include "processes/process.h"
24 
25 namespace Kratos
26 {
29 
32 
49 class KRATOS_API(RANS_APPLICATION) RansEpsilonTurbulentMixingLengthInletProcess : public Process
50 {
51 public:
54 
57 
61 
64  Model& rModel,
65  Parameters rParameters);
66 
69 
72 
75 
79 
80  void ExecuteInitialize() override;
81 
82  void ExecuteInitializeSolutionStep() override;
83 
84  int Check() override;
85 
86  const Parameters GetDefaultParameters() const override;
87 
91 
93  std::string Info() const override;
94 
96  void PrintInfo(std::ostream& rOStream) const override;
97 
99  void PrintData(std::ostream& rOStream) const override;
100 
102 
103 private:
106 
107  Model& mrModel;
108 
109  std::string mModelPartName;
110  double mTurbulentMixingLength;
111  double mMinValue;
112  bool mIsConstrained;
113  int mEchoLevel;
114 
116 
117 }; // Class RansEpsilonTurbulentMixingLengthInletProcess
118 
122 
124 inline std::ostream& operator<<(
125  std::ostream& rOStream,
127 
129 
131 
132 } // namespace Kratos.
133 
134 #endif // KRATOS_RANS_EPSILON_TURBULENT_MIXING_LENGTH_INLET_PROCESS_H_INCLUDED defined
void ExecuteInitialize() override
Definition: periodic_interface_process.hpp:37
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
The base class for all processes in Kratos.
Definition: process.h:49
Sets epsilon value best on turbulent mixing length.
Definition: rans_epsilon_turbulent_mixing_length_inlet_process.h:50
KRATOS_CLASS_POINTER_DEFINITION(RansEpsilonTurbulentMixingLengthInletProcess)
Pointer definition of RansEpsilonTurbulentMixingLengthInletProcess.
RansEpsilonTurbulentMixingLengthInletProcess(RansEpsilonTurbulentMixingLengthInletProcess const &rOther)=delete
Copy constructor.
RansEpsilonTurbulentMixingLengthInletProcess & operator=(RansEpsilonTurbulentMixingLengthInletProcess const &rOther)=delete
Assignment operator.
~RansEpsilonTurbulentMixingLengthInletProcess() override=default
Destructor.
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432