Physical flux implementation for 1D Euler equations.
author: Jens Zudrop Collects all functions related to the physical fluxes of the Euler equations.
Physical flux calculation along x direction for Euler equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | state(:) |
The state in nodal space. Dimension is the number of vars, i.e. 3 for Euler 1d |
||
real(kind=rk), | intent(in) | :: | isenCoeff |
Adiabatic index, also known as isentropic expansion factor. |
||
real(kind=rk), | intent(in) | :: | penalty_scaling |
The scaling of the mass flux due to the penality in the porous material. |
||
real(kind=rk), | intent(in) | :: | U_o |
Obstacle velocity |
The physical flux along the x axis for all variables