Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
adv_no_dealias Module Reference

Subroutines to add advection terms to the RHS of a transport equation.

Data Types

type  adv_no_dealias_t
 Type encapsulating advection routines with no dealiasing applied. More...
 

Functions/Subroutines

subroutine init_no_dealias (this, coef)
 Constructor.
 
subroutine free_no_dealias (this)
 Destructor.
 
subroutine compute_advection_no_dealias (this, vx, vy, vz, fx, fy, fz, xh, coef, n, dt)
 Add the advection term for the fluid, i.e. \(u \cdot \nabla u \) to the RHS.
 
subroutine compute_scalar_advection_no_dealias (this, vx, vy, vz, s, fs, xh, coef, n, dt)
 Add the advection term for a scalar, i.e. \(u \cdot \nabla s \), to the RHS.
 
subroutine recompute_metrics_no_dealias (this, coef, moving_boundary)
 
subroutine compute_ale_advection_no_dealias (this, vx, vy, vz, wm_x, wm_y, wm_z, fx, fy, fz, xh, coef, n, dt)
 

Function/Subroutine Documentation

◆ compute_advection_no_dealias()

subroutine adv_no_dealias::compute_advection_no_dealias ( class(adv_no_dealias_t), intent(inout this,
type(field_t), intent(inout vx,
type(field_t), intent(inout vy,
type(field_t), intent(inout vz,
type(field_t), intent(inout fx,
type(field_t), intent(inout fy,
type(field_t), intent(inout fz,
type(space_t), intent(in xh,
type(coef_t), intent(in coef,
integer, intent(in n,
real(kind=rp), intent(in), optional  dt 
)
private
Parameters
vxThe x component of velocity.
vyThe y component of velocity.
vzThe z component of velocity.
fxThe x component of source term.
fyThe y component of source term.
fzThe z component of source term.
XhThe function space.
coefThe coefficients of the (Xh, mesh) pair.
nTypically the size of the mesh.
dtCurrent time-step, not required for this method.

Definition at line 114 of file adv_no_dealias.f90.

Here is the call graph for this function:

◆ compute_ale_advection_no_dealias()

subroutine adv_no_dealias::compute_ale_advection_no_dealias ( class(adv_no_dealias_t), intent(inout this,
type(field_t), intent(inout vx,
type(field_t), intent(inout vy,
type(field_t), intent(inout vz,
type(field_t), intent(inout wm_x,
type(field_t), intent(inout wm_y,
type(field_t), intent(inout wm_z,
type(field_t), intent(inout fx,
type(field_t), intent(inout fy,
type(field_t), intent(inout fz,
type(space_t), intent(in xh,
type(coef_t), intent(in coef,
integer, intent(in n,
real(kind=rp), intent(in), optional  dt 
)
private

Definition at line 201 of file adv_no_dealias.f90.

Here is the call graph for this function:

◆ compute_scalar_advection_no_dealias()

subroutine adv_no_dealias::compute_scalar_advection_no_dealias ( class(adv_no_dealias_t), intent(inout this,
type(field_t), intent(inout vx,
type(field_t), intent(inout vy,
type(field_t), intent(inout vz,
type(field_t), intent(inout s,
type(field_t), intent(inout fs,
type(space_t), intent(in xh,
type(coef_t), intent(in coef,
integer, intent(in n,
real(kind=rp), intent(in), optional  dt 
)
private
Parameters
thisThe object.
vxThe x component of velocity.
vyThe y component of velocity.
vzThe z component of velocity.
sThe scalar.
fsThe source term.
XhThe function space.
coefThe coefficients of the (Xh, mesh) pair.
nTypically the size of the mesh.
dtCurrent time-step, not required for this method.

Definition at line 163 of file adv_no_dealias.f90.

Here is the call graph for this function:

◆ free_no_dealias()

subroutine adv_no_dealias::free_no_dealias ( class(adv_no_dealias_t), intent(inout this)
private

Definition at line 91 of file adv_no_dealias.f90.

Here is the call graph for this function:

◆ init_no_dealias()

subroutine adv_no_dealias::init_no_dealias ( class(adv_no_dealias_t), intent(inout this,
type(coef_t), intent(in coef 
)
Parameters
coefThe coefficients of the (space, mesh) pair.

Definition at line 78 of file adv_no_dealias.f90.

◆ recompute_metrics_no_dealias()

subroutine adv_no_dealias::recompute_metrics_no_dealias ( class(adv_no_dealias_t), intent(inout this,
type(coef_t), intent(in coef,
logical, intent(in moving_boundary 
)
private

Definition at line 194 of file adv_no_dealias.f90.