Explicit Reconstruction scheme (generic) for the advection equation.
|
subroutine | compute_cell_cons_advection_term_exp_upwind_generic_rec (velocity, time_step, scalar, divut, flux_type, directions, rec_scheme) |
| Fills divuT with \( div(u \cdot T) \) with a generic reconstruction scheme Non regular grid.
|
|
subroutine | compute_cell_cons_advection_term_exp_centered_generic_rec (velocity, time_step, scalar, divut, flux_type, directions, rec_scheme) |
| Fills divuT with \( div(u \cdot T) \) with a generic centered reconstruction scheme Non regular grid.
|
|
◆ compute_cell_cons_advection_term_exp_centered_generic_rec()
subroutine mod_compute_cell_cons_advection_term_exp_generic_rec::compute_cell_cons_advection_term_exp_centered_generic_rec |
( |
type(t_face_field), intent(in) | velocity, |
|
|
double precision, intent(in) | time_step, |
|
|
double precision, dimension(:,:,:), intent(in) | scalar, |
|
|
double precision, dimension(:,:,:), intent(inout) | divut, |
|
|
type(t_fv_flux), intent(in) | flux_type, |
|
|
integer, dimension(:), intent(in) | directions, |
|
|
class(t_rec_scheme), intent(inout) | rec_scheme ) |
- Parameters
-
[in] | velocity | the velocity u |
[in] | scalar | the scalar T to be advected |
[in] | flux_type | the flux type |
[in] | time_step | the time step \( \delta t^{n} = t^{n+1} - t^{n} \) |
[in] | directions | the vector made of directions ([1,2,3] for all of them or [1] for only "x"). This is used for splitted methods. |
[in,out] | rec_scheme | the given reconstruction scheme |
[in,out] | divut | the resulting explicit term |
◆ compute_cell_cons_advection_term_exp_upwind_generic_rec()
subroutine mod_compute_cell_cons_advection_term_exp_generic_rec::compute_cell_cons_advection_term_exp_upwind_generic_rec |
( |
type(t_face_field), intent(in) | velocity, |
|
|
double precision, intent(in) | time_step, |
|
|
double precision, dimension(:,:,:), intent(in) | scalar, |
|
|
double precision, dimension(:,:,:), intent(inout) | divut, |
|
|
type(t_fv_flux), intent(in) | flux_type, |
|
|
integer, dimension(:), intent(in) | directions, |
|
|
class(t_rec_scheme), intent(inout) | rec_scheme ) |
- Parameters
-
[in] | velocity | the velocity u |
[in] | scalar | the scalar T to be advected |
[in] | flux_type | the flux type |
[in] | time_step | the time step \( \delta t^{n} = t^{n+1} - t^{n} \) |
[in] | directions | the vector made of directions ([1,2,3] for all of them or [1] for only "x"). This is used for splitted methods. |
[in,out] | rec_scheme | the given reconstruction scheme |
[in,out] | divut | the resulting explicit term |