Physical flux calculation along x direction for Euler equation.
JZ: here, we divide by a polynomial, we should be careful! We are leaving the polynomial space here!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | state(:) | The state in nodal space. Dimension is the number of vars, i.e. 5 for Euler |
||
real(kind=rk), | intent(in) | :: | isenCoeff | Adiabatice index, also known as isentropic expansion factor. |
||
real(kind=rk), | intent(in) | :: | penalty_char | The value of the characteristic function (stemming from penalization) |
||
real(kind=rk), | intent(in) | :: | porosity | The porosity at the current point |
||
real(kind=rk), | intent(in) | :: | U_o | Velocity of the obstacle |
The physical flux along the x axis for all variables
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | private | :: | pressure | ||||
real(kind=rk), | private | :: | velocity(1:3) |