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

Computes various statistics for the scalar fields. We use the Reynolds decomposition for a field u = + u' = U + u' Spatial derivatives i.e. du/dx we denote dudx.

Data Types

type  scalar_stats_t
 

Functions/Subroutines

subroutine scalar_stats_init (this, coef, s, u, v, w, p, set)
 Constructor. Initialize the fields associated with scalar_stats.
 
subroutine scalar_stats_update (this, k)
 Updates all fields with a new sample.
 
subroutine scalar_stats_free (this)
 Destructor.
 
subroutine scalar_stats_reset (this)
 Resets all the computed means values and sampling times to zero.
 
subroutine scalar_stats_make_strong_grad (this)
 

Function/Subroutine Documentation

◆ scalar_stats_free()

subroutine scalar_stats::scalar_stats_free ( class(scalar_stats_t), intent(inout this)
private

Definition at line 619 of file scalar_stats.f90.

◆ scalar_stats_init()

subroutine scalar_stats::scalar_stats_init ( class(scalar_stats_t), intent(inout), target  this,
type(coef_t), optional, target  coef,
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,
character(*), intent(in), optional  set 
)
Parameters
coefSEM coefficients. Optional.
sThe scalar.
uThe x component of velocity.
vThe y component of velocity.
wThe z component of velocity.
pThe pressure.
setSpecifies the subset of the statistics to be collected. Optional. Either basic or full, defaults to full.

Definition at line 166 of file scalar_stats.f90.

◆ scalar_stats_make_strong_grad()

subroutine scalar_stats::scalar_stats_make_strong_grad ( class(scalar_stats_t this)
private

Definition at line 765 of file scalar_stats.f90.

◆ scalar_stats_reset()

subroutine scalar_stats::scalar_stats_reset ( class(scalar_stats_t), intent(inout), target  this)
private

Definition at line 704 of file scalar_stats.f90.

◆ scalar_stats_update()

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

Uf is u and Umf is

Definition at line 330 of file scalar_stats.f90.

Here is the call graph for this function: