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

Implements the cpu kernel for the sponge_source_term_t type.

Functions/Subroutines

subroutine, public sponge_source_term_compute_cpu (fields, u, v, w, u_bf, v_bf, w_bf, fringe, a_x, a_y, a_z)
 Computes the generic sponge source term on the cpu.
 

Function/Subroutine Documentation

◆ sponge_source_term_compute_cpu()

subroutine, public sponge_source_term_cpu::sponge_source_term_compute_cpu ( type(field_list_t), intent(inout)  fields,
type(field_t), intent(in)  u,
type(field_t), intent(in)  v,
type(field_t), intent(in)  w,
type(field_t), intent(in)  u_bf,
type(field_t), intent(in)  v_bf,
type(field_t), intent(in)  w_bf,
type(field_t), intent(in)  fringe,
real(kind=rp), intent(in)  a_x,
real(kind=rp), intent(in)  a_y,
real(kind=rp), intent(in)  a_z 
)
Parameters
uThe x component of velocity.
vThe y component of velocity.
wThe z component of velocity.
u_bfThe x component of the baseflow.
v_bfThe y component of the baseflow.
w_bfThe z component of the baseflow.
fringeThe fringe field
a_xThe amplitude in the x-direction
a_yThe amplitude in the y-direction
a_zThe amplitude in the z-direction

Definition at line 57 of file sponge_source_term_cpu.f90.