INTERFACE:
subroutine w_split_adv(dt,f,ww,az,splitfac,method)DESCRIPTION:
Here, the
-directional split 1D advection step is executed
with a number of options for the numerical scheme. The basic
advection equation is accompanied by an fractional step
for the continuity equation and both equations look as follows:
with the 1D continuity equation
Here,
and
denote values before and after this operation,
respectively,
denote intermediate values when other
1D advection steps come after this and
denotes intermediate
values when other 1D advection steps came before this.
The interfacial fluxes
are calculated by means of
monotone and non-monotone schemes which are described in detail in
u_split_adv, see section 8.29.5 on
page
.
USES:
use domain, only: imin,imax,jmin,jmax,kmax
use advection_3d, only: hi,hio,cu
use advection_3d, only: UPSTREAM_SPLIT,P2,SUPERBEE,MUSCL,P2_PDM
use advection_3d, only: ONE6TH
$ use omp_lib
IMPLICIT NONE
INPUT PARAMETERS:
REALTYPE , intent(in) :: ww(I3DFIELD),dt
integer , intent(in) :: az(E2DFIELD)
REALTYPE, intent(in) :: splitfac
integer, intent(in) :: method
INPUT/OUTPUT PARAMETERS:
REALTYPE, intent(inout) :: f(I3DFIELD)REVISION HISTORY:
Original author(s): Hans Burchard & Karsten BoldingLOCAL VARIABLES:
integer :: i,j,k
REALTYPE :: c,x,r,Phi,limit,fu,fc,fd