atl_physFluxNvrStk_2d_module Module

Collects all functions related to the physical fluxes of the compressible Navier-Stokes equations.


Uses


Functions

public function atl_viscPhysFluxNavierStokes_2d(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 vars, i.e. 4 for Navier-Stokes.

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

The state in nodal space. First dimension is the number of vars, i.e. 4 for Navier-Stokes. Second dimension is the dimension, e.g. 2 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), (4)

The physical flux along the x axis for all variables

public function atl_mult_nu11_NavierStokes_2d(density, velocity, totEnergy, inVec, mu, lambda, thermCond, heatCap) result(outVec)

Arguments

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

The density

real(kind=rk), intent(in) :: velocity(2)

The velocity

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

The total energy

real(kind=rk), intent(in) :: inVec(4)

Vector to be multiplied with nu11

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), (4)

The result of the matrix vector product

public function atl_mult_nu21_NavierStokes_2d(density, velocity, inVec, mu, lambda) result(outVec)

Arguments

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

The density

real(kind=rk), intent(in) :: velocity(2)

The velocity

real(kind=rk), intent(in) :: inVec(4)

Vector to be multiplied with nu11

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

Dynamic Viscosity

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

Viscosity

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

The result of the matrix vector product

public function atl_mult_nu12_NavierStokes_2d(density, velocity, inVec, mu, lambda) result(outVec)

Arguments

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

The density

real(kind=rk), intent(in) :: velocity(2)

The velocity

real(kind=rk), intent(in) :: inVec(4)

Vector to be multiplied with nu11

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

Dynamic Viscosity

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

Viscosity

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

The result of the matrix vector product

public function atl_mult_nu22_NavierStokes_2d(density, velocity, totEnergy, inVec, mu, lambda, thermCond, heatCap) result(outVec)

Arguments

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

The density

real(kind=rk), intent(in) :: velocity(2)

The velocity

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

The total energy

real(kind=rk), intent(in) :: inVec(4)

Vector to be multiplied with nu11

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), (4)

The result of the matrix vector product