modg_2d_viscNavierStokes_oneDim_numFlux Subroutine

private subroutine modg_2d_viscNavierStokes_oneDim_numFlux(equation, facedata, scheme, faces, faceDir, poly_proj, elemLength)

Numerical flux calculation for viscous part of the Navier-Stokes equation across the faces in a single spatial direction.

Arguments

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

The equation you solve.

type(atl_facedata_type), intent(inout) :: facedata

The face state if the equation

type(atl_modg_2d_scheme_type), intent(in) :: scheme

Parameters of the modal dg scheme

type(tem_faceIterator_type), intent(in) :: faces

The faces to calculate the fluxes for.

integer, intent(in) :: faceDir

The spatial direction of the faces you calc the fluxes for, use the following: * 1 --> x direction. * 2 --> y direction. * 3 --> z direction.

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

Parameter for used projection

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

The length of an element