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

Computing the contact density due to shell contact using a surface integral being solved by Gauss-Legendre quadrature integration. More...

#include <contact_dynamics.h>

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

Public Member Functions

 ShellContactDensity (SolidBodyRelationContact &solid_body_contact_relation)
 
- 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 > contact_density_
 
StdVec< StdLargeVec< Vecd > * > contact_pos_
 
StdLargeVec< Vecd > & pos_
 
Kernelkernel_
 
Real spacing_ref_
 
Real boundary_factor_
 
Real x_0 = 0.774596669241483377035853079956
 
Real x_1 = 0.000000000000000000000000000000
 
Real x_2 = -x_0
 
Real w_0 = 0.555555555555555555555555555556
 
Real w_1 = 0.888888888888888888888888888889
 
Real w_2 = w_0
 
- 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 density due to shell contact using a surface integral being solved by Gauss-Legendre quadrature integration.

Member Function Documentation

◆ Interaction()

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

shell contact interaction.
a calibration factor to avoid particle penetration into shell structure

Implements SPH::PartInteractionDynamicsByParticle.

Member Data Documentation

◆ x_0

Real SPH::solid_dynamics::ShellContactDensity::x_0 = 0.774596669241483377035853079956
protected

Abscissas and weights for Gauss-Legendre quadrature integration with n=3 nodes


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