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_2d_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_2D_H_INCLUDED)
14 #define KRATOS_RANS_NEWTONIAN_LAW_2D_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) RansNewtonian2DLaw : public Newtonian2DLaw
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 
107  std::string Info() const override;
108 
110 
111 protected:
114 
116  double GetEffectiveViscosity(ConstitutiveLaw::Parameters& rParameters) const override;
117 
119 private:
122 
123  friend class Serializer;
124 
125  void save(Serializer& rSerializer) const override;
126 
127  void load(Serializer& rSerializer) override;
128 
130 }; // Class RansNewtonian2DLaw
131 } // namespace Kratos.
132 #endif // KRATOS_RANS_NEWTONIAN_LAW_2D_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_2d_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 Newtonian2DLaw in FluidDynamicsApplication.
Definition: rans_newtonian_2d_law.h:33
KRATOS_CLASS_POINTER_DEFINITION(RansNewtonian2DLaw)
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