atl_viscPhysFluxNavierStokes Function

public function atl_viscPhysFluxNavierStokes(state, state_gradient, mu, lambda, thermCond, heatCap) result(physFlux)

Physical flux calculation along x direction for Euler equation.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: state(:)

The state in nodal space. Dimension is the number of state variables i.e. 5 for Navier-Stokes.

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

The state in nodal space. First dimension is the number of variables i.e. 5 for Navier-Stokes. Second dimension is the dimension, e.g. 3 in two dimensions.

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

Dynamic Viscosity

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

Viscosity

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

The thermal cond

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

The specific heat capacity (per mass unit mass, at constant volume)

Return Value real(kind=rk), (5)

The physical flux along the x axis for all variables