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_nut_k_omega_update_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_NUT_K_OMEGA_UPDATE_PROCESS_H_INCLUDED)
14 #define KRATOS_RANS_NUT_K_OMEGA_UPDATE_PROCESS_H_INCLUDED
15 
16 // System includes
17 #include <string>
18 
19 // External includes
20 
21 // Project includes
22 #include "containers/model.h"
23 
24 // Application includes
26 
27 namespace Kratos
28 {
31 
34 
47 class KRATOS_API(RANS_APPLICATION) RansNutKOmegaUpdateProcess
49 {
50 public:
53 
56 
60 
62 
64  Model& rModel,
65  Parameters rParameters);
66 
68  Model& rModel,
69  const std::string& rModelPartName,
70  const double MinValue,
71  const int EchoLevel);
72 
74  ~RansNutKOmegaUpdateProcess() override = default;
75 
78 
81 
85 
86  int Check() override;
87 
88  void ExecuteInitializeSolutionStep() override;
89 
90  void ExecuteAfterCouplingSolveStep() override;
91 
92  const Parameters GetDefaultParameters() const override;
93 
97 
99  std::string Info() const override;
100 
102  void PrintInfo(std::ostream& rOStream) const override;
103 
105  void PrintData(std::ostream& rOStream) const override;
106 
108 
109 private:
112 
113  Model& mrModel;
114  std::string mModelPartName;
115  double mMinValue;
116  int mEchoLevel;
117  bool mIsInitialized = false;
118 
120 
121 }; // Class RansNutKOmegaUpdateProcess
122 
126 
128 inline std::ostream& operator<<(
129  std::ostream& rOStream,
130  const RansNutKOmegaUpdateProcess& rThis);
131 
133 
135 
136 } // namespace Kratos.
137 
138 #endif // KRATOS_RANS_NUT_K_OMEGA_UPDATE_PROCESS_H_INCLUDED defined
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
This class is extending standard Process interface.
Definition: rans_formulation_process.h:41
Calculates turbulent kinematic viscosity.
Definition: rans_nut_k_omega_update_process.h:49
RansNutKOmegaUpdateProcess(RansNutKOmegaUpdateProcess const &rOther)=delete
Copy constructor.
~RansNutKOmegaUpdateProcess() override=default
Destructor.
KRATOS_CLASS_POINTER_DEFINITION(RansNutKOmegaUpdateProcess)
Pointer definition of RansNutKOmegaUpdateProcess.
RansNutKOmegaUpdateProcess & operator=(RansNutKOmegaUpdateProcess const &rOther)=delete
Assignment operator.
static int EchoLevel
Definition: co_sim_EMPIRE_API.h:42
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