Neko 1.99.11
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_name, 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_name, 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 199 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,
character(len=*), intent(in) s_name,
character(len=*), intent(in) alphat_field )
Parameters
coefSEM coefficients. Optional.
s_nameThe name of the scalar field.
alphat_fieldSpecifies the name of the alphat field.

Definition at line 95 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,
character(len=*), intent(in) s_name,
character(len=*), intent(in) nut_field,
real(kind=rp), intent(in) pr_turb )
private
Parameters
coefSEM coefficients. Optional.
s_nameThe name of the scalar field.
nut_fieldSpecifies the name of the nut field.
pr_turbTurbulent Prandtl number.

Definition at line 131 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 222 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 168 of file scalar_sgs_stats.f90.

Here is the call graph for this function: