src.dycore.physics.gas_dynamics.numerical_flux#

Functions

hll_solver(flux, Lefts, Rights, Sol, lmbda, ...)

HLL solver for the Riemann problem.

recompute_advective_fluxes(flux, Sol, *args, ...)

Recompute the advective fluxes at the cell interfaces, i.e. the faces.

src.dycore.physics.gas_dynamics.numerical_flux.recompute_advective_fluxes(flux, Sol, *args, **kwargs)#

Recompute the advective fluxes at the cell interfaces, i.e. the faces. This function updates the flux container in-place.

Parameters#

fluxmanagement.variable.States

Data container for the fluxes at the cell interfaces.

Solmanagement.variable.States

Data container for the Solution.

Attention#

This function is a mess and requires cleaning up.

src.dycore.physics.gas_dynamics.numerical_flux.hll_solver(flux, Lefts, Rights, Sol, lmbda, ud, th)#

HLL solver for the Riemann problem. Chooses the advected quantities from Lefts or Rights based on the direction given by flux.

Parameters#

fluxmanagement.variable.States

Data container for fluxes.

Leftsmanagement.variable.States

Container for the quantities on the left of the cell interfaces.

Rightsmanagement.variable.States

Container for the quantities on the right of the cell interfaces.

Solmanagement.variable.Vars

Solution data container.

lmbdafloat

\(\frac{dt}{dx}\), where \(dx\) is the grid-size in the direction of the substep.

udinputs.user_data.UserDataInit

Class container for the initial condition.

thphysics.gas_dynamics.thermodynamic.init

Class container for the thermodynamical constants.

Returns#

management.variable.States

flux data container with the solution of the Riemann problem.