pyro.compressible_fv4 package#

This is a 4th order accurate compressible hydrodynamics solver, implementing the algorithm from McCorquodale & Colella (2011).

Subpackages#

Submodules#

pyro.compressible_fv4.fluxes module#

pyro.compressible_fv4.fluxes.flux_cons(ivars, idir, gamma, q)[source]#
pyro.compressible_fv4.fluxes.fluxes(myd, rp, ivars)[source]#

pyro.compressible_fv4.simulation module#

class pyro.compressible_fv4.simulation.Simulation(solver_name, problem_name, problem_func, rp, *, problem_finalize_func=None, problem_source_func=None, timers=None, data_class=<class 'pyro.mesh.fv.FV2d'>)[source]#

Bases: Simulation

evolve()[source]#

Evolve the equations of compressible hydrodynamics through a timestep dt.

preevolve()[source]#

Since we are 4th order accurate we need to make sure that we initialized with accurate zone-averages, so the preevolve for this solver assumes that the initialization was done to cell-centers and converts it to cell-averages.

substep(myd)[source]#

compute the advective source term for the given state