Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
scalar_sgs_stats::scalar_sgs_stats_t Type Referenceabstract
Inheritance diagram for scalar_sgs_stats::scalar_sgs_stats_t:
Collaboration diagram for scalar_sgs_stats::scalar_sgs_stats_t:

Public Member Functions

generic init (this, coef, s_name, alphat_field)
 Constructor.
generic init (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.
procedure, pass(this) init_alphat (this, coef, s_name, alphat_field)
 Constructor.
procedure, pass(this) 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.
procedure, pass(this) free (this)
 Destructor.
procedure, pass(this) update (this, k)
 Update all the mean value fields with a new sample.
procedure, pass(this) reset (this)
 Reset all the computed means values and sampling times to zero.
procedure(stats_quant_update), deferred, pass update (this, k)

Public Attributes

type(field_t), pointer alphat => null()
 Pointers to the instantenious quantities.
type(field_t), pointer nut => null()
 scalar diffusivity
logical nut_dependency = .false.
real(kind=rp) pr_turb
 turbulent Prandtl number
type(field_t), pointer s => null()
 scalar
type(mean_field_t) alphat_mean
 <alphat>
type(mean_field_t) alphatdsdx
 <alphat*dsdx>
type(mean_field_t) alphatdsdy
 <alphat*dsdy>
type(mean_field_t) alphatdsdz
 <alphat*dsdz>
type(field_t), pointer dsdx_work
 gradients
type(field_t), pointer dsdy_work
type(field_t), pointer dsdz_work
type(coef_t), pointer coef => null()
 SEM coefficients.
integer n_stats = 4
 Number of statistical fields to be computed.
type(field_list_t) stat_fields
 A list of size n_stats, whith entries pointing to the fields that will be output (the field components above.) Used to write the output.

Detailed Description

Definition at line 49 of file scalar_sgs_stats.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) scalar_sgs_stats::scalar_sgs_stats_t::free ( class(scalar_sgs_stats_t), intent(inout) this)

Definition at line 81 of file scalar_sgs_stats.f90.

◆ init() [1/2]

generic scalar_sgs_stats::scalar_sgs_stats_t::init ( 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 76 of file scalar_sgs_stats.f90.

◆ init() [2/2]

generic scalar_sgs_stats::scalar_sgs_stats_t::init ( 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 )
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 76 of file scalar_sgs_stats.f90.

◆ init_alphat()

procedure, pass(this) scalar_sgs_stats::scalar_sgs_stats_t::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 78 of file scalar_sgs_stats.f90.

◆ init_nut()

procedure, pass(this) scalar_sgs_stats::scalar_sgs_stats_t::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 )
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 79 of file scalar_sgs_stats.f90.

◆ reset()

procedure, pass(this) scalar_sgs_stats::scalar_sgs_stats_t::reset ( class(scalar_sgs_stats_t), intent(inout), target this)

Definition at line 85 of file scalar_sgs_stats.f90.

◆ update() [1/2]

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

Definition at line 83 of file scalar_sgs_stats.f90.

◆ update() [2/2]

procedure(stats_quant_update), deferred, pass stats_quant::stats_quant_t::update ( class(stats_quant_t), intent(inout) this,
real(kind=rp), intent(in) k )
pure virtualinherited

Definition at line 42 of file stats_quant.f90.

Member Data Documentation

◆ alphat

type(field_t), pointer scalar_sgs_stats::scalar_sgs_stats_t::alphat => null()

scalar diffusivity

Definition at line 51 of file scalar_sgs_stats.f90.

◆ alphat_mean

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphat_mean

Definition at line 57 of file scalar_sgs_stats.f90.

◆ alphatdsdx

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphatdsdx

Definition at line 59 of file scalar_sgs_stats.f90.

◆ alphatdsdy

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphatdsdy

Definition at line 60 of file scalar_sgs_stats.f90.

◆ alphatdsdz

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphatdsdz

Definition at line 61 of file scalar_sgs_stats.f90.

◆ coef

type(coef_t), pointer scalar_sgs_stats::scalar_sgs_stats_t::coef => null()

Definition at line 69 of file scalar_sgs_stats.f90.

◆ dsdx_work

type(field_t), pointer scalar_sgs_stats::scalar_sgs_stats_t::dsdx_work

Definition at line 64 of file scalar_sgs_stats.f90.

◆ dsdy_work

type(field_t), pointer scalar_sgs_stats::scalar_sgs_stats_t::dsdy_work

Definition at line 65 of file scalar_sgs_stats.f90.

◆ dsdz_work

type(field_t), pointer scalar_sgs_stats::scalar_sgs_stats_t::dsdz_work

Definition at line 66 of file scalar_sgs_stats.f90.

◆ n_stats

integer scalar_sgs_stats::scalar_sgs_stats_t::n_stats = 4

Definition at line 71 of file scalar_sgs_stats.f90.

◆ nut

type(field_t), pointer scalar_sgs_stats::scalar_sgs_stats_t::nut => null()

Definition at line 52 of file scalar_sgs_stats.f90.

◆ nut_dependency

logical scalar_sgs_stats::scalar_sgs_stats_t::nut_dependency = .false.

Definition at line 53 of file scalar_sgs_stats.f90.

◆ pr_turb

real(kind=rp) scalar_sgs_stats::scalar_sgs_stats_t::pr_turb

Definition at line 54 of file scalar_sgs_stats.f90.

◆ s

type(field_t), pointer scalar_sgs_stats::scalar_sgs_stats_t::s => null()

Definition at line 55 of file scalar_sgs_stats.f90.

◆ stat_fields

type(field_list_t) scalar_sgs_stats::scalar_sgs_stats_t::stat_fields

Definition at line 74 of file scalar_sgs_stats.f90.


The documentation for this type was generated from the following file: