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

the viscous force induced acceleration More...

#include <fluid_surface_inner.h>

Inherits SPH::InteractionDynamics, and SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >.

Public Member Functions

 SurfaceTensionAccelerationInner (BaseBodyRelationInner &inner_relation, Real gamma)
 
 SurfaceTensionAccelerationInner (BaseBodyRelationInner &inner_relation)
 
- Public Member Functions inherited from SPH::InteractionDynamics
 InteractionDynamics (SPHBody &sph_body)
 
virtual void exec (Real dt=0.0) override
 
virtual void parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >
 DataDelegateInner (BaseBodyRelationInner &body_inner_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

Real gamma_
 
StdLargeVec< Real > & Vol_
 
StdLargeVec< Real > & mass_
 
StdLargeVec< Vecd > & acc_prior_
 
StdLargeVec< int > & surface_indicator_
 
StdLargeVec< Vecd > & color_grad_
 
StdLargeVec< Vecd > & surface_norm_
 
- Protected Attributes inherited from SPH::InteractionDynamics
ParticleFunctor functor_interaction_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 
- Protected Attributes inherited from SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >
ParticleConfigurationinner_configuration_
 

Additional Inherited Members

- Public Attributes inherited from SPH::InteractionDynamics
StdVec< ParticleDynamics< void > * > pre_processes_
 
StdVec< ParticleDynamics< void > * > post_processes_
 
- Static Public Attributes inherited from SPH::GlobalStaticVariables
static Real physical_time_ = 0.0
 

Detailed Description

the viscous force induced acceleration

Member Function Documentation

◆ Interaction()

void SPH::fluid_dynamics::SurfaceTensionAccelerationInner::Interaction ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual


Adami et al. 2010 has a typo in equation. (dv / dt)_s = (1.0 / rho) (-sigma * k * n * delta) = (1/rho) * curvature * color_grad = (1/m) * curvature * color_grad * vol

Implements SPH::InteractionDynamics.


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