mus_particles_DPS_interpolateFluidProperties Subroutine

public subroutine mus_particles_DPS_interpolateFluidProperties(particle, interpolator, scheme, geometry, params, intp, calc_vel_and_p_grad)

Interpolates fluid properties from neighboring lattice sites to determine the fluid density and velocity at the location of the particle

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

Interpolation object containing interpolation bounds and weigth function info

type(mus_scheme_type), intent(in) :: 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.

procedure(interpolateFluidPropFunc) :: intp

Procedure to interpolate fluid props (different for Generalized Navier-Stokes) and regular Navier-Stokes

procedure(calcVelAndPGradFunc) :: calc_vel_and_p_grad

Procedure to interpolate fluid props (different for Generalized Navier-Stokes) and regular Navier-Stokes