This is a 4th order accurate compressible hydrodynamics solver, implementing the algorithm from McCorquodale & Colella (2011).
- compressible_fv4.fluxes.flux_cons(ivars, idir, gamma, q)¶
- compressible_fv4.fluxes.fluxes(myd, rp, ivars, solid, tc)¶
- class compressible_fv4.simulation.Simulation(solver_name, problem_name, rp, timers=None, data_class=<class 'mesh.fv.FV2d'>)¶
Evolve the equations of compressible hydrodynamics through a timestep dt.
Initialize the grid and variables for compressible flow and set the initial conditions for the chosen problem.
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.
compute the advective source term for the given state