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

Computes the subgrid-scale contributions for Reynolds stresses. We use the Reynolds decomposition for a field u = + u' = U + u'.

Data Types

type  fluid_sgs_stats_t
 

Functions/Subroutines

subroutine fluid_sgs_stats_init (this, coef, u, v, w, nut_field)
 Constructor. Initialize the fields associated with fluid_sgs_stats.
 
subroutine fluid_sgs_stats_update (this, k)
 Updates all fields with a new sample.
 
subroutine fluid_sgs_stats_free (this)
 Destructor.
 
subroutine fluid_sgs_stats_reset (this)
 Resets all the computed means values and sampling times to zero.
 

Function/Subroutine Documentation

◆ fluid_sgs_stats_free()

subroutine fluid_sgs_stats::fluid_sgs_stats_free ( class(fluid_sgs_stats_t), intent(inout this)
private

Definition at line 210 of file fluid_sgs_stats.f90.

◆ fluid_sgs_stats_init()

subroutine fluid_sgs_stats::fluid_sgs_stats_init ( class(fluid_sgs_stats_t), intent(inout), target  this,
type(coef_t), target  coef,
type(field_t), intent(in), target  u,
type(field_t), intent(in), target  v,
type(field_t), intent(in), target  w,
character(*), intent(in), optional  nut_field 
)
Parameters
coefSEM coefficients.
uThe x component of velocity.
vThe y component of velocity.
wThe z component of velocity.
nut_fieldSpecifies the name of the nut field. Optional, defaults to nut.

Definition at line 103 of file fluid_sgs_stats.f90.

◆ fluid_sgs_stats_reset()

subroutine fluid_sgs_stats::fluid_sgs_stats_reset ( class(fluid_sgs_stats_t), intent(inout), target  this)
private

Definition at line 235 of file fluid_sgs_stats.f90.

◆ fluid_sgs_stats_update()

subroutine fluid_sgs_stats::fluid_sgs_stats_update ( class(fluid_sgs_stats_t), intent(inout this,
real(kind=rp), intent(in k 
)
private
Parameters
kTime elapsed since the last update.

Definition at line 151 of file fluid_sgs_stats.f90.

Here is the call graph for this function: