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_D_Quadratic_CL.h
Go to the documentation of this file.
1 // Author: Chengshun Shang (CIMNE)
3 // Email: chengshun.shang1996@gmail.com
4 // Date: June 2022
6 
7 //TODO: // Here this Quadratic model is established for Parallel Bond Model only.
8  // It CAN NOT BE USED AS AN INDEPENDENT CANTACT MODEL UNTIL IT IS COMPLETED.
9 
10 #if !defined(DEM_D_QUADRATIC_CL_H_INCLUDED)
11 #define DEM_D_QUADRATIC_CL_H_INCLUDED
12 
13 //project include
14 #include <string>
15 #include <iostream>
17 
18 namespace Kratos{
19 
20  class SphericParticle;
21 
22  class KRATOS_API(DEM_APPLICATION) DEM_D_Quadratic : public DEM_D_Linear_viscous_Coulomb {
23 
24  public:
25 
26  //using DEMDiscontinuumConstitutiveLaw::CalculateNormalForce;
27 
29 
31 
33 
34  std::string GetTypeOfLaw() override;
35 
36  void Check(Properties::Pointer pProp) const override;
37 
38  DEMDiscontinuumConstitutiveLaw::Pointer Clone() const override;
39 
40  std::unique_ptr<DEMDiscontinuumConstitutiveLaw> CloneUnique() override;
41 
42  void InitializeContact(SphericParticle* const element1, SphericParticle* const element2, const double indentation) override;
43 
44  double CalculateNormalForce(const double indentation) override;
45 
46  void InitializeContactWithFEM(SphericParticle* const element, Condition* const wall, const double indentation, const double ini_delta = 0.0) override;
47 
48  private:
49 
50  }; //CLASS DEM_D_QUADRATIC
51 
52 } //namespace Kratos
53 
54 #endif //DEM_D_QUADRATIC_CL_H_INCLUDED defined
Base class for all Conditions.
Definition: condition.h:59
Definition: DEM_D_Linear_viscous_Coulomb_CL.h:15
Definition: DEM_D_Quadratic_CL.h:22
DEM_D_Quadratic()
Definition: DEM_D_Quadratic_CL.h:30
KRATOS_CLASS_POINTER_DEFINITION(DEM_D_Quadratic)
~DEM_D_Quadratic()
Definition: DEM_D_Quadratic_CL.h:32
Definition: spheric_particle.h:31
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Definition: mesh_converter.cpp:33