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.
frictional_viscoplastic_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: Riccardo Rossi, Alessandro Franci
10 // Collaborators: Massimiliano Zecchetto
11 //
12 //-------------------------------------------------------------
13 //
14 
15 #if !defined(KRATOS_FRICTIONAL_VISCOPLASTIC_LAW_2D_H_INCLUDED)
16 #define KRATOS_FRICTIONAL_VISCOPLASTIC_LAW_2D_H_INCLUDED
17 
18 // System includes
19 
20 // External includes
21 
22 // Project includes
23 #include "fluid_constitutive_law.h"
24 
25 namespace Kratos
26 {
34  class KRATOS_API(PFEM_FLUID_DYNAMICS_APPLICATION) FrictionalViscoplastic2DLaw : public PfemFluidConstitutiveLaw
35  {
36  public:
42  typedef std::size_t SizeType;
43 
48 
57 
62  ConstitutiveLaw::Pointer Clone() const override;
63 
68 
72  ~FrictionalViscoplastic2DLaw() override;
73 
85  SizeType WorkingSpaceDimension() override;
86 
90  SizeType GetStrainSize() const override;
91 
92  void CalculateMaterialResponseCauchy(Parameters &rValues) override;
93 
103  int Check(const Properties &rMaterialProperties, const GeometryType &rElementGeometry,
104  const ProcessInfo &rCurrentProcessInfo) const override;
105 
113  std::string Info() const override;
114 
115  protected:
127 
128  // /// Get the effective density for the fluid.
129  double GetEffectiveMaterialParameter(ConstitutiveLaw::Parameters &rParameters, const Variable<double> &rVariable) const override;
131 
132  private:
135 
139 
143 
148 
153 
157  friend class Serializer;
158 
159  void save(Serializer &rSerializer) const override;
160 
161  void load(Serializer &rSerializer) override;
163 
164  }; // Class FrictionalViscoplastic2DLaw
165 
166 } // namespace Kratos.
167 
168 #endif // KRATOS__FRICTIONAL_VISCOPLASTIC_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
std::size_t SizeType
Definition: constitutive_law.h:82
Definition: frictional_viscoplastic_2D_law.h:35
std::size_t SizeType
Definition: frictional_viscoplastic_2D_law.h:42
KRATOS_CLASS_POINTER_DEFINITION(FrictionalViscoplastic2DLaw)
ProcessInfo ProcessInfoType
Definition: frictional_viscoplastic_2D_law.h:40
ConstitutiveLaw BaseType
Definition: frictional_viscoplastic_2D_law.h:41
Geometry base class.
Definition: geometry.h:71
This class contains the common infrastructure for the pfem fluid constitutive laws.
Definition: fluid_constitutive_law.h:36
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