atl_physFluxFilNvrStk_module Module

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



Functions

public function atl_physFluxRans(state, isenCoeff, penalty_char, porosity) result(physFlux)

Physical flux calculation along x direction for the

Read more…

Arguments

Type IntentOptional 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

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

The physical flux along the x axis for all variables

public function atl_physFluxRans_2d(state, isenCoeff, penalty_char, porosity) result(physFlux)

JZ: here, we divide by a polynomial, we should be careful! We are leaving the polynomial space here!

Read more…

Arguments

Type IntentOptional 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

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

The physical flux along the x axis for all variables

public function atl_viscPhysFluxRans(state, state_gradient, isenCoeff, 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. 5 for Navier-Stokes.

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

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

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

Adiabatice index, also known as isentropic expansion factor.

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

The physical flux along the x axis for all variables

public function atl_viscPhysFluxRans_2d(state, state_gradient, isenCoeff, mu, lambda, thermCond, rans_params, heatCap) result(physFlux)

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) :: isenCoeff

Adiabatice index, also known as isentropic expansion factor.

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

Dynamic Viscosity

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

Viscosity

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

The thermal cond

type(atl_navier_stokes_rans_type), intent(in) :: rans_params

The constants for the Rans eqn

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

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

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

The physical flux along the x axis for all variables

public function atl_mult_nu11_Rans_2d(state, velocity, inVec, isenCoeff, mu, lambda, thermCond, rans_params, heatCap) result(outVec)

Arguments

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

The state array

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

The velocity

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

Vector to be multiplied with nu11

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

Adiabatice index, also known as isentropic expansion factor.

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

Dynamic Viscosity

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

Viscosity

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

The thermal cond

type(atl_navier_stokes_rans_type), intent(in) :: rans_params

The constants for the Rans eqn

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

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

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

The result of the matrix vector product

public function atl_mult_nu21_Rans_2d(state, velocity, inVec, mu, lambda, rans_params) result(outVec)

Arguments

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

The state array

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

The velocity

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

Vector to be multiplied with nu11

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

Dynamic Viscosity

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

Viscosity

type(atl_navier_stokes_rans_type), intent(in) :: rans_params

The constants for the Rans eqn

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

The result of the matrix vector product

public function atl_mult_nu12_Rans_2d(state, velocity, inVec, mu, lambda, rans_params) result(outVec)

Arguments

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

The state array

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

The velocity

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

Vector to be multiplied with nu11

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

Dynamic Viscosity

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

Viscosity

type(atl_navier_stokes_rans_type), intent(in) :: rans_params

The constants for the Rans eqn

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

The result of the matrix vector product

public function atl_mult_nu22_Rans_2d(state, velocity, inVec, isenCoeff, mu, lambda, thermCond, rans_params, heatCap) result(outVec)

Arguments

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

The state array

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

The velocity

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

Vector to be multiplied with nu11

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

Adiabatice index, also known as isentropic expansion factor.

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

Dynamic Viscosity

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

Viscosity

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

The thermal cond

type(atl_navier_stokes_rans_type), intent(in) :: rans_params

The constants for the Rans eqn

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

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

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

The result of the matrix vector product