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.
DEM_ExponentialHC_CL.h
Go to the documentation of this file.
1 
2 #if !defined(DEM_EXPONENTIALHC_CL_H_INCLUDED)
3 #define DEM_EXPONENTIALHC_CL_H_INCLUDED
4 
5 /* Project includes */
7 
8 
9 namespace Kratos {
10 
11  class KRATOS_API(DEM_APPLICATION) DEM_ExponentialHC : public DEMContinuumConstitutiveLaw {
12 
14 
15  public:
16 
18 
20 
25  double mGamma1;
26  double mGamma2;
27  double mGamma3;
28  double mMaxDef;
29 
30  void Initialize(SphericContinuumParticle* element1, SphericContinuumParticle* element2, Properties::Pointer pProps) override;
31 
33 
34  DEMContinuumConstitutiveLaw::Pointer Clone() const override;
35 
36  void CalculateNormalForces(double LocalElasticContactForce[3],
37  const double kn_el,
38  double equiv_young,
39  double indentation,
40  double calculation_area,
41  double& acumulated_damage,
42  SphericContinuumParticle* element1,
43  SphericContinuumParticle* element2,
44  int i_neighbour_count,
45  int time_steps,
46  const ProcessInfo& r_process_info) override;
47 
48  private:
49 
50  friend class Serializer;
51 
52  virtual void save(Serializer& rSerializer) const override {
54  //rSerializer.save("MyMemberName",myMember);
55  }
56 
57  virtual void load(Serializer& rSerializer) override {
59  //rSerializer.load("MyMemberName",myMember);
60  }
61 
62  };
63 
64 } /* namespace Kratos.*/
65 #endif /* DEM_EXPONENTIALHC_H_INCLUDED defined */
66 
Definition: DEM_ExponentialHC_CL.h:11
KRATOS_CLASS_POINTER_DEFINITION(DEM_ExponentialHC)
double mGamma1
Definition: DEM_ExponentialHC_CL.h:25
double mGamma2
Definition: DEM_ExponentialHC_CL.h:26
double mHistoryDamage
Definition: DEM_ExponentialHC_CL.h:23
~DEM_ExponentialHC()
Definition: DEM_ExponentialHC_CL.h:32
double mMaxDef
Definition: DEM_ExponentialHC_CL.h:28
double mHistoryMaxInd
Definition: DEM_ExponentialHC_CL.h:21
double mGamma3
Definition: DEM_ExponentialHC_CL.h:27
double mHistoryDegradation
Definition: DEM_ExponentialHC_CL.h:24
DEM_ExponentialHC()
Definition: DEM_ExponentialHC_CL.h:19
double mHistoryMaxForce
Definition: DEM_ExponentialHC_CL.h:22
Definition: DEM_continuum_constitutive_law.h:23
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: spheric_continuum_particle.h:26
#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