Neko 1.99.3
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, alphat_field)
 Constructor.
 
generic init (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.
 
procedure, pass(thisinit_alphat (this, coef, s, alphat_field)
 Constructor.
 
procedure, pass(thisinit_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.
 
procedure, pass(thisfree (this)
 Destructor.
 
procedure, pass(thisupdate (this, k)
 Update all the mean value fields with a new sample.
 
procedure, pass(thisreset (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_tstats_work
 Work fields.
 
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_talphat_mean
 <alphat>
 
type(mean_field_talphatdsdx
 <alphat*dsdx>
 
type(mean_field_talphatdsdy
 <alphat*dsdy>
 
type(mean_field_talphatdsdz
 <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_tstat_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 84 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,
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 79 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,
type(field_t), intent(in), target  s,
character(len=*), intent(in nut_field,
real(kind=rp), intent(in pr_turb 
)
Parameters
coefSEM coefficients. Optional.
sThe scalar.
nut_fieldSpecifies the name of the nut field.
pr_turbTurbulent Prandtl number.

Definition at line 79 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,
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 81 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,
type(field_t), intent(in), target  s,
character(len=*), intent(in nut_field,
real(kind=rp), intent(in pr_turb 
)
Parameters
coefSEM coefficients. Optional.
sThe scalar.
nut_fieldSpecifies the name of the nut field.
pr_turbTurbulent Prandtl number.

Definition at line 82 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 88 of file scalar_sgs_stats.f90.

◆ update() [1/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.

◆ update() [2/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 86 of file scalar_sgs_stats.f90.

Member Data Documentation

◆ alphat

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

scalar diffusivity

Definition at line 54 of file scalar_sgs_stats.f90.

◆ alphat_mean

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphat_mean

Definition at line 60 of file scalar_sgs_stats.f90.

◆ alphatdsdx

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphatdsdx

Definition at line 62 of file scalar_sgs_stats.f90.

◆ alphatdsdy

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphatdsdy

Definition at line 63 of file scalar_sgs_stats.f90.

◆ alphatdsdz

type(mean_field_t) scalar_sgs_stats::scalar_sgs_stats_t::alphatdsdz

Definition at line 64 of file scalar_sgs_stats.f90.

◆ coef

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

Definition at line 72 of file scalar_sgs_stats.f90.

◆ dsdx_work

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

Definition at line 67 of file scalar_sgs_stats.f90.

◆ dsdy_work

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

Definition at line 68 of file scalar_sgs_stats.f90.

◆ dsdz_work

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

Definition at line 69 of file scalar_sgs_stats.f90.

◆ n_stats

integer scalar_sgs_stats::scalar_sgs_stats_t::n_stats = 4

Definition at line 74 of file scalar_sgs_stats.f90.

◆ nut

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

Definition at line 55 of file scalar_sgs_stats.f90.

◆ nut_dependency

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

Definition at line 56 of file scalar_sgs_stats.f90.

◆ pr_turb

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

Definition at line 57 of file scalar_sgs_stats.f90.

◆ s

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

Definition at line 58 of file scalar_sgs_stats.f90.

◆ stat_fields

type(field_list_t) scalar_sgs_stats::scalar_sgs_stats_t::stat_fields

Definition at line 77 of file scalar_sgs_stats.f90.

◆ stats_work

type(field_t) scalar_sgs_stats::scalar_sgs_stats_t::stats_work

Definition at line 51 of file scalar_sgs_stats.f90.


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