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_omega_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: Dharmin Shah
11 // Bence Rochlitz
12 //
13 // Supervised by: Jordi Cotela
14 // Suneth Warnakulasuriya
15 //
16 
17 #if !defined(KRATOS_RANS_OMEGA_TURBULENT_MIXING_LENGTH_INLET_PROCESS_H_INCLUDED)
18 #define KRATOS_RANS_OMEGA_TURBULENT_MIXING_LENGTH_INLET_PROCESS_H_INCLUDED
19 
20 // System includes
21 #include <string>
22 
23 // External includes
24 
25 // Project includes
26 #include "containers/model.h"
27 #include "processes/process.h"
28 
29 namespace Kratos
30 {
33 
36 
53 class KRATOS_API(RANS_APPLICATION) RansOmegaTurbulentMixingLengthInletProcess : public Process
54 {
55 public:
58 
61 
65 
68  Model& rModel,
69  Parameters& rParameters);
70 
73 
76 
79 
83 
84  void ExecuteInitialize() override;
85 
86  void ExecuteInitializeSolutionStep() override;
87 
88  int Check() override;
89 
90  const Parameters GetDefaultParameters() const override;
91 
95 
97  std::string Info() const override;
98 
100  void PrintInfo(std::ostream& rOStream) const override;
101 
103  void PrintData(std::ostream& rOStream) const override;
104 
106 
107 private:
110 
111  Model& mrModel;
112 
113  std::string mModelPartName;
114  double mTurbulentMixingLength;
115  double mMinValue;
116  bool mIsConstrained;
117  int mEchoLevel;
118 
120 
121 }; // Class RansOmegaTurbulentMixingLengthInletProcess
122 
126 
128 inline std::ostream& operator<<(
129  std::ostream& rOStream,
131 
133 
135 
136 } // namespace Kratos.
137 
138 #endif // KRATOS_RANS_OMEGA_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 omega value best on turbulent mixing length.
Definition: rans_omega_turbulent_mixing_length_inlet_process.h:54
RansOmegaTurbulentMixingLengthInletProcess & operator=(RansOmegaTurbulentMixingLengthInletProcess const &rOther)=delete
Assignment operator.
KRATOS_CLASS_POINTER_DEFINITION(RansOmegaTurbulentMixingLengthInletProcess)
Pointer definition of RansOmegaTurbulentMixingLengthInletProcess.
RansOmegaTurbulentMixingLengthInletProcess(RansOmegaTurbulentMixingLengthInletProcess const &rOther)=delete
Copy constructor.
~RansOmegaTurbulentMixingLengthInletProcess() 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