modg_2d_rans_oneDim_numFlux_const Subroutine

private subroutine modg_2d_rans_oneDim_numFlux_const(equation, nSides, faceRep, faceFlux, leftPos, rightPos, poly_proj, varRotation, material_left, material_right)

Numerical flux calculation for Rans 2D equation across the faces in a single spatial direction (with constant penalization parameters).

Arguments

Type IntentOptional Attributes Name
type(atl_Equations_type), intent(in) :: equation

The equation you solve.

integer, intent(in) :: nSides

The number of faces to compute the flux for

real(kind=rk), intent(in) :: faceRep(:,:,:,:)

The state on the face.

real(kind=rk), intent(inout) :: faceFlux(:,:,:,:)

The fluxes on the face.

integer, intent(in) :: leftPos(:)

The positions of the faces to calculate the fluxes for (for elements left and right of the face).

integer, intent(in) :: rightPos(:)

The positions of the faces to calculate the fluxes for (for elements left and right of the face).

type(ply_poly_project_type), intent(inout) :: poly_proj

Parameter for used projection

integer, intent(in) :: varRotation(6)
real(kind=rk), intent(in) :: material_left(:,:,:)

The penalization material left and right of the face

real(kind=rk), intent(in) :: material_right(:,:,:)

The penalization material left and right of the face