Fluid model
PressureLessSPH
Particle discretization of pressureless Euler flow with external forcing.
Overview
PressureLessSPH is a meshfree particle model for a pressureless fluid.
It is primarily useful as a simple SPH benchmark or as a reduced particle transport model in a prescribed force field or potential.
Use cases
This model is appropriate for:
- meshfree pressureless-flow benchmarks
- straight-line particle transport with external forcing
- testing SPH particle loading and diagnostics
Governing equations
PDEs solved by model:
Continuity:
Momentum:
where is an external force.
Normalization
Velocity and field normalizations:
Discretization
Time integration is performed by the following propagators (in sequence):
struphy.propagators.push_eta.PushEtastruphy.propagators.push_vin_efield.PushVinEfield
Diagnostics
The following scalars are tracked during simulation:
- SPH kinetic energy:
en_kin
Example
Create and initialize a pressureless SPH model:
from struphy.models import PressureLessSPH
model = PressureLessSPH() model.cold_fluid.var