Neko  0.9.0
A portable framework for high-order spectral element flow simulations
fluid_stats_simcomp Module Reference

Implements the fluid_stats_simcomp_t type.

Data Types

type  fluid_stats_simcomp_t
 A simulation component that computes the velocity and pressure statistics up to 4th order. Can be used to reconstruct the term budget of transport equations for, e.g. the Reynolds stresses and the turbulent kinetic energy. More...
 

Functions/Subroutines

subroutine fluid_stats_simcomp_init_from_json (this, json, case)
 Constructor from json. More...
 
subroutine fluid_stats_simcomp_init_from_attributes (this, u, v, w, p, coef, start_time, hom_dir, stat_set)
 Actual constructor. More...
 
subroutine fluid_stats_simcomp_free (this)
 Destructor. More...
 
subroutine fluid_stats_simcomp_restart (this, t)
 
subroutine fluid_stats_simcomp_compute (this, t, tstep)
 fluid_stats, called depending on compute_control and compute_value More...
 

Function/Subroutine Documentation

◆ fluid_stats_simcomp_compute()

subroutine fluid_stats_simcomp::fluid_stats_simcomp_compute ( class(fluid_stats_simcomp_t), intent(inout)  this,
real(kind=rp), intent(in)  t,
integer, intent(in)  tstep 
)
private
Parameters
tThe time value.
tstepThe current time-step

Definition at line 180 of file fluid_stats_simcomp.f90.

◆ fluid_stats_simcomp_free()

subroutine fluid_stats_simcomp::fluid_stats_simcomp_free ( class(fluid_stats_simcomp_t), intent(inout)  this)
private

Definition at line 165 of file fluid_stats_simcomp.f90.

◆ fluid_stats_simcomp_init_from_attributes()

subroutine fluid_stats_simcomp::fluid_stats_simcomp_init_from_attributes ( class(fluid_stats_simcomp_t), intent(inout)  this,
type(field_t), intent(inout)  u,
type(field_t), intent(inout)  v,
type(field_t), intent(inout)  w,
type(field_t), intent(inout)  p,
type(coef_t), intent(in)  coef,
real(kind=rp), intent(in)  start_time,
character(len=*), intent(in)  hom_dir,
character(len=*), intent(in)  stat_set 
)
private
Parameters
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 129 of file fluid_stats_simcomp.f90.

Here is the caller graph for this function:

◆ fluid_stats_simcomp_init_from_json()

subroutine fluid_stats_simcomp::fluid_stats_simcomp_init_from_json ( class(fluid_stats_simcomp_t), intent(inout)  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 90 of file fluid_stats_simcomp.f90.

Here is the call graph for this function:

◆ fluid_stats_simcomp_restart()

subroutine fluid_stats_simcomp::fluid_stats_simcomp_restart ( class(fluid_stats_simcomp_t), intent(inout)  this,
real(kind=rp), intent(in)  t 
)
private

Definition at line 171 of file fluid_stats_simcomp.f90.