addParticleSourceToAuxfield_DPS Subroutine

public subroutine addParticleSourceToAuxfield_DPS(particle, interpolator, scheme, geometry, params, Ftot)

Routine to modify the auxField (velocity) with the forces exerted by particles on the fluid

Arguments

Type IntentOptional Attributes Name
type(mus_particle_DPS_type), intent(inout) :: particle

Particle to interpolate fluid properties to

type(mus_particle_interpolator_type), intent(in) :: interpolator

interpolator object containing stencil and weight function info

type(mus_scheme_type), intent(inout) :: scheme

Scheme

type(mus_geom_type), intent(in) :: geometry

Geometry for access to tree

type(mus_param_type), intent(in) :: params

Params for access to dt, dx, etc.

real(kind=rk), intent(out) :: Ftot(3)

Output, total force exerted on fluid by particle