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_k_turbulent_intensity_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_K_TURBULENT_INTENSITY_INLET_PROCESS_H_INCLUDED)
14 #define KRATOS_RANS_K_TURBULENT_INTENSITY_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 
51 class KRATOS_API(RANS_APPLICATION) RansKTurbulentIntensityInletProcess : public Process
52 {
53 public:
56 
59 
63 
66  Model& rModel,
67  Parameters rParameters);
68 
71 
74 
77 
81 
82  void ExecuteInitialize() override;
83 
84  void ExecuteInitializeSolutionStep() override;
85 
86  int Check() override;
87 
88  const Parameters GetDefaultParameters() const override;
89 
93 
95  std::string Info() const override;
96 
98  void PrintInfo(std::ostream& rOStream) const override;
99 
101  void PrintData(std::ostream& rOStream) const override;
102 
104 
105 private:
108 
109  Model& mrModel;
110 
111  std::string mModelPartName;
112  double mTurbulentIntensity;
113  double mMinValue;
114  int mEchoLevel;
115  bool mIsConstrained;
116 
118 
119 }; // Class RansKTurbulentIntensityInletProcess
120 
124 
126 inline std::ostream& operator<<(
127  std::ostream& rOStream,
129 
131 
133 
134 } // namespace Kratos.
135 
136 #endif // KRATOS_RANS_K_TURBULENT_INTENSITY_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
Set turbulent kinetic energy value based on the given turbulent intensity.
Definition: rans_k_turbulent_intensity_inlet_process.h:52
KRATOS_CLASS_POINTER_DEFINITION(RansKTurbulentIntensityInletProcess)
Pointer definition of RansKTurbulentIntensityInletProcess.
~RansKTurbulentIntensityInletProcess() override=default
Destructor.
RansKTurbulentIntensityInletProcess(RansKTurbulentIntensityInletProcess const &rOther)=delete
Copy constructor.
RansKTurbulentIntensityInletProcess & operator=(RansKTurbulentIntensityInletProcess const &rOther)=delete
Assignment operator.
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