atl_laxFriedrichFlux_module Module

Module collects all Lax-Friedrich flux for different types of equations.



Subroutines

public subroutine atl_laxFriedEuler(euler, state_left, state_right, material_left, material_right, nPoints, flux)

Lax-Friedrich flux (in fully conservative variables) for the Euler equation

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_euler_type), intent(in) :: euler
real(kind=rk), intent(in) :: state_left(:,:)

The state on the face from its left limit (in conservative variables).

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

The state on the face from its right limit (in conservative variables).

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

The left value of the characteristic function (stemming from penalization)

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

The right value of the characteristic function (stemming from penalization)

integer, intent(in) :: nPoints

Number of points to evaluate the flux at.

real(kind=rk), intent(out) :: flux(:,:)

Resulting flux for the left element (in conservative variables).

public subroutine atl_laxFriedLinearEuler(nSides, nFaceDofs, faceRep, faceFlux, leftPos, rightPos, var, LinearEuler, idir)

Lax-Friedrich flux (in fully conservative variables) for the

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nSides
integer, intent(in) :: nFaceDofs
real(kind=rk), intent(in) :: faceRep(:,:,:,:)
real(kind=rk), intent(inout) :: faceFlux(:,:,:,:)
integer, intent(in) :: leftPos(nSides)
integer, intent(in) :: rightPos(nsides)
integer, intent(in) :: var(:)
type(atl_LinearEuler_type), intent(in) :: LinearEuler

Datatype for acoustic equation include all background data

integer, intent(in) :: idir

Direction of the flow, used for background velocity

public subroutine atl_laxFriedAcoustic(left, right, acoustic, flux, idir)

Lax-Friedrich flux (in fully conservative variables) for the Acoustic equation

Arguments

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

The state on the face from its left limit (in conservative variables).

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

The state on the face from its right limit (in conservative variables).

type(atl_acoustic_type), intent(in) :: acoustic

Datatype for acoustic equation include all background data

real(kind=rk), intent(out) :: flux(4)

Resulting flux for the left element (in conservative variables).

integer, intent(in) :: idir

Direction of the flow, used for background velocity

public subroutine atl_laxFriedRans(euler, state_left, state_right, material_left, material_right, nPoints, flux)

Lax-Friedrich flux (in fully conservative variables) for the Euler equation

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_euler_type), intent(in) :: euler
real(kind=rk), intent(in) :: state_left(:,:)

The state on the face from its left limit (in conservative variables).

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

The state on the face from its right limit (in conservative variables).

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

The left value of the characteristic function (stemming from penalization)

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

The right value of the characteristic function (stemming from penalization)

integer, intent(in) :: nPoints

Number of points to evaluate the flux at.

real(kind=rk), intent(out) :: flux(:,:)

Resulting flux for the left element (in conservative variables).

public subroutine atl_laxFriedRans_2D(euler, state_left, state_right, material_left, material_right, nPoints, flux)

Arguments

Type IntentOptional Attributes Name
class(atl_euler_type), intent(in) :: euler
real(kind=rk), intent(in) :: state_left(:,:)

The state on the face from its left limit (in conservative variables).

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

The state on the face from its right limit (in conservative variables).

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

The left value of the characteristic function (stemming from penalization)

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

The right value of the characteristic function (stemming from penalization)

integer, intent(in) :: nPoints

Number of points to evaluate the flux at.

real(kind=rk), intent(out) :: flux(:,:)

Resulting flux for the left element (in conservative variables).