Low Mach number hydrodynamics

Low Mach number hydrodynamics#

pyro’s low Mach hydrodynamics solver is designed for atmospheric flows. It captures the effects of stratification on a fluid element by enforcing a divergence constraint on the velocity field. The governing equations are:

ρt+(ρU)=0Ut+UU+β0ρ(pβ0)=ρρg(β0U)=0

with p0=ρ0g and β0=p01/γ.

lm_atm solver#

As with the incompressible solver, we implement a cell-centered approximate projection method.

The main parameters that affect this solver are:

  • section: [driver]

    option

    value

    description

    cfl

    0.8

  • section: [eos]

    option

    value

    description

    gamma

    1.4

    pres = rho ener (gamma - 1)

  • section: [lm-atmosphere]

    option

    value

    description

    limiter

    2

    limiter (0 = none, 1 = 2nd order, 2 = 4th order)

    proj_type

    2

    what are we projecting? 1 includes -Gp term in U*

    grav

    -2.0

supported problems#

bubble#

Initialize a buoyant bubble in a hydrostatic atmosphere. This is meant to be used to compare with the compressible solver bubble problem.

parameters:

name

default

bubble.dens_base

10.0

bubble.scale_height

2.0

bubble.x_pert

2.0

bubble.y_pert

2.0

bubble.r_pert

0.25

bubble.pert_amplitude_factor

5.0

bubble.dens_cutoff

0.01