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.
mu_I_rheology_temperature_dependent_2D_law.h
Go to the documentation of this file.
1 //-------------------------------------------------------------
2 // ___ __ ___ _ _ _
3 // KRATOS| _ \/ _|___ _ __ | __| |_ _(_)__| |
4 // | _/ _/ -_) ' \| _|| | || | / _` |
5 // |_| |_| \___|_|_|_|_| |_|\_,_|_\__,_|DYNAMICS
6 //
7 // BSD License: PfemFluidDynamicsApplication/license.txt
8 //
9 // Main authors: Massimiliano Zecchetto
10 // Collaborators:
11 //
12 //-------------------------------------------------------------
13 //
14 
15 #if !defined(KRATOS_MU_I_RHEOLOGY_TEMPERATURE_DEPENDENT_2D_LAW_H_INCLUDED)
16 #define KRATOS_MU_I_RHEOLOGY_TEMPERATURE_DEPENDENT_2D_LAW_H_INCLUDED
17 
18 // System includes
19 
20 // External includes
21 
22 // Project includes
24 
25 namespace Kratos
26 {
37  class KRATOS_API(PFEM_FLUID_DYNAMICS_APPLICATION) MuIRheologyTemperatureDependent2DLaw : public MuIRheology2DLaw
38  {
39  public:
45  typedef std::size_t SizeType;
46 
51 
60 
65  ConstitutiveLaw::Pointer Clone() const override;
66 
71 
76 
94  int Check(const Properties &rMaterialProperties, const GeometryType &rElementGeometry,
95  const ProcessInfo &rCurrentProcessInfo) const override;
96 
104  std::string Info() const override;
105 
106  protected:
109 
113 
117 
121 
123  double GetEffectiveMaterialParameter(ConstitutiveLaw::Parameters &rParameters, const Variable<double> &rVariable) const override;
124 
126 
127  private:
130 
134 
138 
143 
148 
152  friend class Serializer;
153 
154  void save(Serializer &rSerializer) const override;
155 
156  void load(Serializer &rSerializer) override;
158 
159  }; // Class MuIRheologyTemperatureDependent2DLaw
160 
161 } // namespace Kratos.
162 
163 #endif // KRATOS_MU_I_RHEOLOGY_TEMPERATURE_DEPENDENT_2D_LAW_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: mu_I_rheology_2D_law.h:39
Definition: mu_I_rheology_temperature_dependent_2D_law.h:38
KRATOS_CLASS_POINTER_DEFINITION(MuIRheologyTemperatureDependent2DLaw)
std::size_t SizeType
Definition: mu_I_rheology_temperature_dependent_2D_law.h:45
ConstitutiveLaw BaseType
Definition: mu_I_rheology_temperature_dependent_2D_law.h:44
ProcessInfo ProcessInfoType
Definition: mu_I_rheology_temperature_dependent_2D_law.h:43
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
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