SPHinXsys  alpha version
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SPH::solid_dynamics::DynamicContactForceWithWall Class Reference

Computing the contact force with a rigid wall. Note that the body surface of the wall should be updated before computing the contact force. More...

#include <contact_dynamics.h>

Inherits SPH::PartInteractionDynamicsByParticle, and SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >.

Public Member Functions

 DynamicContactForceWithWall (SolidBodyRelationContact &solid_body_contact_relation, Real penalty_strength=1.0)
 
- Public Member Functions inherited from SPH::PartInteractionDynamicsByParticle
 PartInteractionDynamicsByParticle (SPHBody &sph_body, BodyPartByParticle &body_part)
 
virtual void exec (Real dt=0.0) override
 
virtual void parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::PartDynamicsByParticle
 PartDynamicsByParticle (SPHBody &sph_body, BodyPartByParticle &body_part)
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >
 DataDelegateContact (BaseBodyRelationContact &body_contact_relation)
 

Protected Member Functions

virtual void Interaction (size_t index_i, Real dt=0.0) override
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Protected Attributes

StdLargeVec< Real > & Vol_
 
StdLargeVec< Real > & mass_
 
StdLargeVec< Vecd > & vel_
 
StdLargeVec< Vecd > & acc_prior_
 
StdVec< StdLargeVec< Real > * > contact_Vol_
 
StdVec< StdLargeVec< Vecd > * > contact_vel_n_
 
StdVec< StdLargeVec< Vecd > * > contact_n_
 
Real penalty_strength_
 
Real impedance_
 
Real reference_pressure_
 
- Protected Attributes inherited from SPH::PartInteractionDynamicsByParticle
ParticleFunctor functor_interaction_
 
- Protected Attributes inherited from SPH::PartDynamicsByParticle
IndexVectorbody_part_particles_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 
- Protected Attributes inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >
StdVec< ContactBodyType * > contact_bodies_
 
StdVec< ContactParticlesType * > contact_particles_
 
StdVec< ContactMaterialType * > contact_material_
 
StdVec< ParticleConfiguration * > contact_configuration_
 

Additional Inherited Members

- Static Public Attributes inherited from SPH::GlobalStaticVariables
static Real physical_time_ = 0.0
 

Detailed Description

Computing the contact force with a rigid wall. Note that the body surface of the wall should be updated before computing the contact force.

Member Function Documentation

◆ Interaction()

void SPH::solid_dynamics::DynamicContactForceWithWall::Interaction ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual

Contact interaction.

Implements SPH::PartInteractionDynamicsByParticle.


The documentation for this class was generated from the following files: