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.
simo_ju_nonlocal_damage_plane_stress_2D_law.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosPoromechanicsApplication $
3 // Last Modified by: $Author: Ignasi de Pouplana $
4 // Date: $Date: February 2016 $
5 // Revision: $Revision: 1.0 $
6 //
7 
8 #if !defined (KRATOS_SIMO_JU_NONLOCAL_DAMAGE_PLANE_STRESS_2D_LAW_H_INCLUDED)
9 #define KRATOS_SIMO_JU_NONLOCAL_DAMAGE_PLANE_STRESS_2D_LAW_H_INCLUDED
10 
11 // System includes
12 #include <cmath>
13 
14 // Project includes
15 #include "includes/serializer.h"
16 
17 // Application includes
19 #include "custom_constitutive/custom_hardening_laws/exponential_damage_hardening_law.hpp"
20 #include "custom_constitutive/custom_yield_criteria/simo_ju_yield_criterion.hpp"
23 
24 namespace Kratos
25 {
26 
27 class KRATOS_API(POROMECHANICS_APPLICATION) SimoJuNonlocalDamagePlaneStress2DLaw : public NonlocalDamagePlaneStress2DLaw
28 {
29 
30 public:
31 
33 
34  typedef FlowRule::Pointer FlowRulePointer;
35  typedef YieldCriterion::Pointer YieldCriterionPointer;
36  typedef HardeningLaw::Pointer HardeningLawPointer;
37 
39 
42 
45 
48 
51 
53 
54  int Check(const Properties& rMaterialProperties, const GeometryType& rElementGeometry, const ProcessInfo& rCurrentProcessInfo) const override;
55 
56  ConstitutiveLaw::Pointer Clone() const override;
57 
59 
60 protected:
61 
63 
65 
66  void CalculateCharacteristicSize( double& rCharacteristicSize, const GeometryType& DomainGeometry ) override;
67 
68 private:
69 
71 
72  friend class Serializer;
73 
74  void save(Serializer& rSerializer) const override
75  {
77  }
78 
79  void load(Serializer& rSerializer) override
80  {
82  }
83 
84 }; // Class SimoJuNonlocalDamagePlaneStress2DLaw
85 } // namespace Kratos.
86 #endif // KRATOS_SIMO_JU_NONLOCAL_DAMAGE_PLANE_STRESS_2D_LAW_H_INCLUDED defined
Definition: constitutive_law.h:47
Geometry base class.
Definition: geometry.h:71
YieldCriterion::Pointer YieldCriterionPointer
Definition: hyperelastic_plastic_3D_law.hpp:62
FlowRule::Pointer FlowRulePointer
Definition: hyperelastic_plastic_3D_law.hpp:61
HardeningLaw::Pointer HardeningLawPointer
Definition: hyperelastic_plastic_3D_law.hpp:63
Definition: nonlocal_damage_plane_stress_2D_law.hpp:22
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
Definition: simo_ju_nonlocal_damage_plane_stress_2D_law.hpp:28
KRATOS_CLASS_POINTER_DEFINITION(SimoJuNonlocalDamagePlaneStress2DLaw)
YieldCriterion::Pointer YieldCriterionPointer
Definition: simo_ju_nonlocal_damage_plane_stress_2D_law.hpp:35
HardeningLaw::Pointer HardeningLawPointer
Definition: simo_ju_nonlocal_damage_plane_stress_2D_law.hpp:36
FlowRule::Pointer FlowRulePointer
Definition: simo_ju_nonlocal_damage_plane_stress_2D_law.hpp:34
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307