Computation of the advection term.
|
subroutine | compute_ugradphi_weno5 (phi, velocity, time_step, ugradphi, band) |
| Compute the \( \mathb{u} \cdot \nabla \phi \) term with a WENO5 scheme. More...
|
|
◆ compute_ugradphi_weno5()
subroutine mod_lsm_compute_ugradphi::compute_ugradphi_weno5 |
( |
double precision, dimension(nx,ny,nz), intent(in) |
phi, |
|
|
type(t_face_field), intent(in) |
velocity, |
|
|
double precision, intent(in) |
time_step, |
|
|
double precision, dimension(nx,ny,nz), intent(inout) |
ugradphi, |
|
|
integer, dimension(nx,ny,nz), intent(in) |
band |
|
) |
| |
- Parameters
-
[in] | phi | the level set |
[in] | velocity | the velocity field on faces |
[in,out] | ugradphi | the resulting field |
[in] | band | the band (integers) |
[in] | time_step | the time step (unused, but might be used for high-order fluxes) |
- Note
- A high-order (WENO5) scheme is used inside the close band (band(i,j,k)={1,2}). A first order scheme is used outside (band/={1,2}).