4 #if !defined(SDEM_INVISCID_FORCE_LAW_H_INCLUDED)
5 #define SDEM_INVISCID_FORCE_LAW_H_INCLUDED
28 virtual InviscidForceLaw::Pointer Clone()
const;
30 virtual void Initialize(
const ProcessInfo& r_process_info);
32 void SetInviscidForceLawInProperties(Properties::Pointer pProp)
const;
34 virtual std::string GetTypeOfLaw();
37 const double fluid_density,
38 const double displaced_volume,
44 const ProcessInfo& r_current_process_info){
return mLastVirtualMassAddedMass;}
46 double ComputeParticleAccelerationNumber(
const double particle_radius,
61 virtual void save(
Serializer& rSerializer)
const override {
Geometry base class.
Definition: geometry.h:71
Definition: inviscid_force_law.h:16
virtual double GetAddedMass(Geometry< Node > &r_geometry, double fluid_density, const ProcessInfo &r_current_process_info)
Definition: inviscid_force_law.h:42
InviscidForceLaw()
Definition: inviscid_force_law.h:22
double mLastVirtualMassAddedMass
Definition: inviscid_force_law.h:52
~InviscidForceLaw()
Definition: inviscid_force_law.h:26
KRATOS_CLASS_POINTER_DEFINITION(InviscidForceLaw)
InviscidForceLaw(Parameters r_parameters)
Definition: inviscid_force_law.h:24
virtual void ComputeForce(Geometry< Node > &r_geometry, const double fluid_density, const double displaced_volume, array_1d< double, 3 > &virtual_mass_plus_undisturbed_flow_force, const ProcessInfo &r_current_process_info)
Definition: inviscid_force_law.h:36
virtual double GetVirtualMassCoefficient(Geometry< Node > &r_geometry, const array_1d< double, 3 > &minus_slip_acc)
Definition: inviscid_force_law.h:54
Node NodeType
Definition: inviscid_force_law.h:19
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
#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