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_newtonian_3d_law.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_NEWTONIAN_LAW_3D_H_INCLUDED)
14 #define KRATOS_RANS_NEWTONIAN_LAW_3D_H_INCLUDED
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
22 
23 namespace Kratos
24 {
32 class KRATOS_API(RANS_APPLICATION) RansNewtonian3DLaw : public Newtonian3DLaw
33 {
34 public:
37 
39 
43 
49 
58 
63  ConstitutiveLaw::Pointer Clone() const override;
64 
69 
74 
82 
92  int Check(
93  const Properties& rMaterialProperties,
94  const GeometryType& rElementGeometry,
95  const ProcessInfo& rCurrentProcessInfo) const override;
96 
100 
108  std::string Info() const override;
109 
111 
112 protected:
115 
117  double GetEffectiveViscosity(ConstitutiveLaw::Parameters& rParameters) const override;
118 
120 private:
123 
124  friend class Serializer;
125 
126  void save(Serializer& rSerializer) const override;
127 
128  void load(Serializer& rSerializer) override;
129 
131 
132 }; // Class RansNewtonian3DLaw
133 } // namespace Kratos.
134 
135 #endif // KRATOS_RANS_NEWTONIAN_LAW_3D_H_INCLUDED defined
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Definition: constitutive_law.h:47
Geometry base class.
Definition: geometry.h:71
Definition: newtonian_3d_law.h:31
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
This class is extending Newtonian3DLaw in FluidDynamicsApplication.
Definition: rans_newtonian_3d_law.h:33
KRATOS_CLASS_POINTER_DEFINITION(RansNewtonian3DLaw)
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189