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

indicate the particles near the free surface of a fluid body. Note that, SPHinXsys does not require this function for simulating general free surface flow problems. However, some other applications may use this function, such as transport velocity formulation, for masking some function which is only applicable for the bulk of the fluid body. More...

#include <eulerian_weakly_compressible_fluid_dynamics_inner.h>

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

Inherited by SPH::eulerian_weakly_compressible_fluid_dynamics::FreeSurfaceIndicationComplex.

Public Member Functions

 FreeSurfaceIndicationInner (BaseBodyRelationInner &inner_relation, Real thereshold=0.75)
 
- Public Member Functions inherited from SPH::InteractionDynamicsWithUpdate
 InteractionDynamicsWithUpdate (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::InteractionDynamics
 InteractionDynamics (SPHBody &sph_body)
 
- 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
 
virtual void Update (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 thereshold_by_dimensions_
 
StdLargeVec< Real > & Vol_
 
StdLargeVec< int > & surface_indicator_
 
StdLargeVec< Real > pos_div_
 
Real smoothing_length_
 
- Protected Attributes inherited from SPH::InteractionDynamicsWithUpdate
ParticleFunctor functor_update_
 
- 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

indicate the particles near the free surface of a fluid body. Note that, SPHinXsys does not require this function for simulating general free surface flow problems. However, some other applications may use this function, such as transport velocity formulation, for masking some function which is only applicable for the bulk of the fluid body.

Member Function Documentation

◆ Update()

void SPH::eulerian_weakly_compressible_fluid_dynamics::FreeSurfaceIndicationInner::Update ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual

Two layer particles.

Implements SPH::InteractionDynamicsWithUpdate.


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