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

Implements the scalar_stats_simcomp_t type.

Data Types

type  scalar_stats_simcomp_t
 A simulation component that computes the scalar statistics for the skewness, kurtosis, and the Reynolds-averaged mean scalar transport equation, scalar variance budget, and scalar flux budgets. More...
 

Functions/Subroutines

subroutine scalar_stats_simcomp_init_from_json (this, json, case)
 Constructor from json.
 
subroutine scalar_stats_simcomp_init_from_components (this, s, u, v, w, p, coef, start_time, hom_dir, stat_set, fname)
 Actual constructor.
 
subroutine scalar_stats_simcomp_free (this)
 Destructor.
 
subroutine scalar_stats_simcomp_restart (this, time)
 
subroutine scalar_stats_simcomp_compute (this, time)
 scalar_stats, called depending on compute_control and compute_value
 

Function/Subroutine Documentation

◆ scalar_stats_simcomp_compute()

subroutine scalar_stats_simcomp::scalar_stats_simcomp_compute ( class(scalar_stats_simcomp_t), intent(inout this,
type(time_state_t), intent(in time 
)
private
Parameters
tThe time value.
tstepThe current time-step

Definition at line 228 of file scalar_stats_simcomp.f90.

◆ scalar_stats_simcomp_free()

subroutine scalar_stats_simcomp::scalar_stats_simcomp_free ( class(scalar_stats_simcomp_t), intent(inout this)
private

Definition at line 192 of file scalar_stats_simcomp.f90.

◆ scalar_stats_simcomp_init_from_components()

subroutine scalar_stats_simcomp::scalar_stats_simcomp_init_from_components ( class(scalar_stats_simcomp_t), intent(inout), target  this,
type(field_t), intent(in), target  s,
type(field_t), intent(in), target  u,
type(field_t), intent(in), target  v,
type(field_t), intent(in), target  w,
type(field_t), intent(in), target  p,
type(coef_t), intent(in), target  coef,
real(kind=rp), intent(in start_time,
character(len=*), intent(in hom_dir,
character(len=*), intent(in stat_set,
character(len=*), intent(in), optional  fname 
)
private
Parameters
sscalar
ux-velocity
vx-velocity
wx-velocity
coefsem coefs
start_timetime to start sampling stats
hom_dirdirections to average in
stat_setSet of statistics to compute (basic/full)

Definition at line 143 of file scalar_stats_simcomp.f90.

Here is the caller graph for this function:

◆ scalar_stats_simcomp_init_from_json()

subroutine scalar_stats_simcomp::scalar_stats_simcomp_init_from_json ( class(scalar_stats_simcomp_t), intent(inout), target  this,
type(json_file), intent(inout json,
class(case_t), intent(inout), target  case 
)
Parameters
jsonJSON object with the parameters.
caseThe case object.

Definition at line 93 of file scalar_stats_simcomp.f90.

Here is the call graph for this function:

◆ scalar_stats_simcomp_restart()

subroutine scalar_stats_simcomp::scalar_stats_simcomp_restart ( class(scalar_stats_simcomp_t), intent(inout this,
type(time_state_t), intent(in time 
)
private

Definition at line 198 of file scalar_stats_simcomp.f90.

Here is the call graph for this function: