4 #if !defined(SDEM_DRAG_LAW_H_INCLUDED)
5 #define SDEM_DRAG_LAW_H_INCLUDED
13 #include "../DEMApplication/custom_elements/spheric_particle.h"
17 class KRATOS_API(SWIMMING_DEM_APPLICATION)
DragLaw :
public Flags {
29 virtual DragLaw::Pointer Clone()
const;
31 virtual void Initialize(
const ProcessInfo& r_process_info);
33 void SetDragLawInProperties(Properties::Pointer pProp)
const;
35 virtual std::string GetTypeOfLaw();
38 const double reynolds_number,
39 double particle_radius,
41 double fluid_kinematic_viscosity,
50 virtual void save(
Serializer& rSerializer)
const override {
Definition: drag_law.h:17
~DragLaw()
Definition: drag_law.h:27
DragLaw()
Definition: drag_law.h:23
Node NodeType
Definition: drag_law.h:20
KRATOS_CLASS_POINTER_DEFINITION(DragLaw)
DragLaw(Parameters r_parameters)
Definition: drag_law.h:25
This class defines the node.
Definition: node.h:65
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
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_particle.h:31
#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
KRATOS_DEFINE_APPLICATION_VARIABLE(CHIMERA_APPLICATION, double, CHIMERA_DISTANCE)
def load(f)
Definition: ode_solve.py:307