module that holds all routines to calculate the flux for hyperbolic linearzied gas dynamic equations.
VK use atl_laxFriedrichFlux_module, only: atl_laxFriedAcoustic
Interface for fluxes of acoustic equations.
calculate flux of pure acoustic equation directly on the face-vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nTotalFaces | |||
integer, | intent(in) | :: | nSides | |||
integer, | intent(in) | :: | nFaceDofs | |||
real(kind=rk), | intent(in) | :: | faceRep(nTotalFaces,nFaceDofs,3,2) | |||
real(kind=rk), | intent(inout) | :: | faceFlux(nTotalFaces,nFaceDofs,3,2) | |||
integer, | intent(in) | :: | leftPos(nSides) | |||
integer, | intent(in) | :: | rightPos(nsides) | |||
integer, | intent(in) | :: | var(3) | |||
type(atl_acoustic_type), | intent(in) | :: | acoustic | Datatype for acoustic equation include all background data |
||
integer, | intent(in) | :: | idir | Direction of the flow, used for background velocity |
Function for physical flux of the acoustic equation F, 1D? Since it is 1d, there need to be passed the correct background velocity (u0 for F - flux in x direction, v0 for G - flux in y direction, w0 for H - flux in z direction)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | state(acoustic%ndims+1) | State to compute the fluxes (rho, u, v, w) |
||
type(atl_acoustic_type), | intent(in) | :: | acoustic | Datatype for acoustic equation include all background data |
||
integer, | intent(in) | :: | iDir | Direction of flux, used fot background velocity |
The resulting flux in x direction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | left(3) | State to compute the fluxes (rho, u, v, w) |
||
real(kind=rk), | intent(in) | :: | right(3) | State to compute the fluxes (rho, u, v, w) |
||
type(atl_acoustic_type), | intent(in) | :: | acoustic | Datatype for acoustic equation include all background data |
||
integer, | intent(in) | :: | iDir | Direction of flux, used fot background velocity |
The resulting flux in x direction
calculate flux of pure acoustic equation directly on the face-vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nTotalFaces | |||
integer, | intent(in) | :: | nSides | |||
integer, | intent(in) | :: | nFaceDofs | |||
real(kind=rk), | intent(in) | :: | faceRep(nTotalFaces,nFaceDofs,3,2) | |||
real(kind=rk), | intent(inout) | :: | faceFlux(nTotalFaces,nFaceDofs,3,2) | |||
integer, | intent(in) | :: | leftPos(nSides) | |||
integer, | intent(in) | :: | rightPos(nsides) | |||
integer, | intent(in) | :: | var(3) | |||
type(atl_acoustic_type), | intent(in) | :: | acoustic | Datatype for acoustic equation include all background data |
||
integer, | intent(in) | :: | idir | Direction of the flow, used for background velocity |