Fluid model

VariationalPressurelessFluid

Pressure-less fluid equations discretized with a variational method.

Overview

This is the pressureless limit of the variational fluid hierarchy. It

is intended as a reduced benchmark and as a simple transport model with conservative density and momentum updates.

Use cases

This model is appropriate for:
  • pressureless compressible benchmarks
  • testing the minimal variational fluid update chain
  • reduced transport problems without thermodynamics

Governing equations

PDEs solved by model:

Continuity:

Momentum:

Normalization

The flow speed is normalized with the Alfvén speed:

Discretization

Time integration is performed by the following propagators (in sequence):
  1. struphy.propagators.variational_density_evolve.VariationalDensityEvolve
  2. struphy.propagators.variational_momentum_advection.VariationalMomentumAdvection

Diagnostics

The following scalars are tracked during simulation:

  • Kinetic energy: kinetic_energy

Example

Create and initialize a pressureless variational-fluid model:

from struphy.models import VariationalPressurelessFluid

model = VariationalPressurelessFluid()
model.fluid.density
model.fluid.velocity