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

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

Data Types

type  scalar_sgs_stats_t
 

Functions/Subroutines

subroutine scalar_sgs_stats_init_alphat (this, coef, s, alphat_field)
 Constructor. Initialize the fields associated with scalar_sgs_stats. This version uses alphat directly.
 
subroutine scalar_sgs_stats_init_nut (this, coef, s, nut_field, pr_turb)
 Constructor. Initialize the fields associated with scalar_sgs_stats. This version uses nut field and turbulent Prandtl number.
 
subroutine scalar_sgs_stats_update (this, k)
 Updates all fields with a new sample.
 
subroutine scalar_sgs_stats_free (this)
 Destructor.
 
subroutine scalar_sgs_stats_reset (this)
 Resets all the computed means values and sampling times to zero.
 

Function/Subroutine Documentation

◆ scalar_sgs_stats_free()

subroutine scalar_sgs_stats::scalar_sgs_stats_free ( class(scalar_sgs_stats_t), intent(inout this)
private

Definition at line 215 of file scalar_sgs_stats.f90.

◆ scalar_sgs_stats_init_alphat()

subroutine scalar_sgs_stats::scalar_sgs_stats_init_alphat ( class(scalar_sgs_stats_t), intent(inout), target  this,
type(coef_t), optional, target  coef,
type(field_t), intent(in), target  s,
character(len=*), intent(in alphat_field 
)
Parameters
coefSEM coefficients. Optional.
sThe scalar.
alphat_fieldSpecifies the name of the alphat field.

Definition at line 98 of file scalar_sgs_stats.f90.

◆ scalar_sgs_stats_init_nut()

subroutine scalar_sgs_stats::scalar_sgs_stats_init_nut ( class(scalar_sgs_stats_t), intent(inout), target  this,
type(coef_t), optional, target  coef,
type(field_t), intent(in), target  s,
character(len=*), intent(in nut_field,
real(kind=rp), intent(in pr_turb 
)
private
Parameters
coefSEM coefficients. Optional.
sThe scalar.
nut_fieldSpecifies the name of the nut field.
pr_turbTurbulent Prandtl number.

Definition at line 136 of file scalar_sgs_stats.f90.

◆ scalar_sgs_stats_reset()

subroutine scalar_sgs_stats::scalar_sgs_stats_reset ( class(scalar_sgs_stats_t), intent(inout), target  this)
private

Definition at line 240 of file scalar_sgs_stats.f90.

◆ scalar_sgs_stats_update()

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

Definition at line 175 of file scalar_sgs_stats.f90.

Here is the call graph for this function: