SPHinXsys
alpha version
|
Inflow boundary condition imposed on an emitter, in which pressure and density profile are imposed too. The body part region is required to have parallel lower- and upper-bound surfaces. More...
#include <fluid_boundary.h>
Inherits SPH::PartSimpleDynamicsByParticle, and SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.
Public Member Functions | |
EmitterInflowCondition (FluidBody &fluid_body, BodyAlignedBoxByParticle &aligned_box_part) | |
Public Member Functions inherited from SPH::PartSimpleDynamicsByParticle | |
PartSimpleDynamicsByParticle (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) | |
SPHBody * | getSPHBody () |
Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType > | |
DataDelegateSimple (SPHBody &sph_body) | |
BodyType * | getBody () |
ParticlesType * | getParticles () |
MaterialType * | getMaterial () |
Protected Member Functions | |
virtual void | updateTransform () |
virtual Vecd | getTargetVelocity (Vecd &position, Vecd &velocity)=0 |
virtual void | setupDynamics (Real dt=0.0) override |
virtual void | Update (size_t unsorted_index_i, Real dt=0.0) override |
Protected Member Functions inherited from SPH::ParticleDynamics< void > | |
void | setBodyUpdated () |
Protected Attributes | |
StdLargeVec< Vecd > & | pos_ |
StdLargeVec< Vecd > & | vel_ |
StdLargeVec< Real > & | rho_ |
StdLargeVec< Real > & | p_ |
Real | inflow_pressure_ |
Real | rho0_ |
AlignedBoxShape & | aligned_box_ |
Transformd & | updated_transform_ |
Transformd | old_transform_ |
Protected Attributes inherited from SPH::PartSimpleDynamicsByParticle | |
ParticleFunctor | functor_update_ |
Protected Attributes inherited from SPH::PartDynamicsByParticle | |
IndexVector & | body_part_particles_ |
Protected Attributes inherited from SPH::ParticleDynamics< void > | |
SPHBody * | sph_body_ |
SPHAdaptation * | sph_adaptation_ |
BaseParticles * | base_particles_ |
Protected Attributes inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType > | |
BodyType * | body_ |
ParticlesType * | particles_ |
MaterialType * | material_ |
StdLargeVec< size_t > & | sorted_id_ |
StdLargeVec< size_t > & | unsorted_id_ |
Additional Inherited Members | |
Static Public Attributes inherited from SPH::GlobalStaticVariables | |
static Real | physical_time_ = 0.0 |
Inflow boundary condition imposed on an emitter, in which pressure and density profile are imposed too. The body part region is required to have parallel lower- and upper-bound surfaces.
|
inlineoverrideprotectedvirtual |
the function for set global parameters for the particle dynamics
Reimplemented from SPH::ParticleDynamics< void >.
|
inlineprotectedvirtual |
no transform by default
|
protected |
inflow pressure condition