Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
fluid_stats::fluid_stats_t Type Referenceabstract
Inheritance diagram for fluid_stats::fluid_stats_t:
Collaboration diagram for fluid_stats::fluid_stats_t:

Public Member Functions

procedure, pass(this) init (this, coef, u, v, w, p, set, name)
 Constructor.
 
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, pass(this) make_strong_grad (this)
 
procedure, pass(this) post_process (this, mean, reynolds, pressure_flatness, pressure_skewness, skewness_tensor, mean_vel_grad, dissipation_tensor)
 Compute certain physical statistical quantities based on existing mean fields.
 
procedure(stats_quant_update), deferred, pass update (this, k)
 

Public Attributes

type(field_t) stats_u
 Work fields.
 
type(field_t) stats_v
 
type(field_t) stats_w
 
type(field_t) stats_p
 
type(field_t) stats_work
 
type(field_t), pointer u
 Pointers to the instantaneous quantities.
 
type(field_t), pointer v
 v
 
type(field_t), pointer w
 w
 
type(field_t), pointer p
 p
 
type(mean_field_t) u_mean
 
 
type(mean_field_t) v_mean
 <v>
 
type(mean_field_t) w_mean
 <w>
 
type(mean_field_t) p_mean
 
type(mean_field_t) uu
 Velocity squares.
 
type(mean_field_t) vv
 <vv>
 
type(mean_field_t) ww
 <ww>
 
type(mean_field_t) uv
 <uv>
 
type(mean_field_t) uw
 <uw>
 
type(mean_field_t) vw
 <vw>
 
type(mean_field_t) uuu
 Velocity cubes.
 
type(mean_field_t) vvv
 <vvv>
 
type(mean_field_t) www
 <www>
 
type(mean_field_t) uuv
 <uuv>
 
type(mean_field_t) uuw
 <uuw>
 
type(mean_field_t) uvv
 <uvv>
 
type(mean_field_t) uvw
 <uvv>
 
type(mean_field_t) vvw
 <vvw>
 
type(mean_field_t) uww
 <uww>
 
type(mean_field_t) vww
 <vww>
 
type(mean_field_t) uuuu
 Velocity squares squared.
 
type(mean_field_t) vvvv
 <vvvv>
 
type(mean_field_t) wwww
 <wwww>
 
type(mean_field_t) pp
 Pressure.
 
type(mean_field_t) ppp
 <ppp>
 
type(mean_field_t) pppp
 <pppp>
 
type(mean_field_t) pu
 Pressure * velocity.
 
type(mean_field_t) pv
 <pv>
 
type(mean_field_t) pw
 <pw>
 
type(mean_field_t) pdudx
 Derivatives.
 
type(mean_field_t) pdudy
 
type(mean_field_t) pdudz
 
type(mean_field_t) pdvdx
 
type(mean_field_t) pdvdy
 
type(mean_field_t) pdvdz
 
type(mean_field_t) pdwdx
 
type(mean_field_t) pdwdy
 
type(mean_field_t) pdwdz
 
type(mean_field_t) e11
 Combinations of sums of duvwdxyz*duvwdxyz.
 
type(mean_field_t) e22
 
type(mean_field_t) e33
 
type(mean_field_t) e12
 
type(mean_field_t) e13
 
type(mean_field_t) e23
 
type(field_t) dudx
 gradients
 
type(field_t) dudy
 
type(field_t) dudz
 
type(field_t) dvdx
 
type(field_t) dvdy
 
type(field_t) dvdz
 
type(field_t) dwdx
 
type(field_t) dwdy
 
type(field_t) dwdz
 
type(coef_t), pointer coef
 SEM coefficients.
 
integer n_stats = 44
 Number of statistical fields to be computed.
 
character(5) stat_set
 Specifies a subset of the statistics to be collected. All 44 fields by default.
 
type(field_list_t) stat_fields
 A list of size n_stats, with entries pointing to the fields that will be output (the field components above.) Used to write the output.
 

Detailed Description

Definition at line 53 of file fluid_stats.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) fluid_stats::fluid_stats_t::free ( class(fluid_stats_t), intent(inout)  this)

Definition at line 145 of file fluid_stats.f90.

◆ init()

procedure, pass(this) fluid_stats::fluid_stats_t::init ( class(fluid_stats_t), intent(inout), target  this,
type(coef_t), optional, target  coef,
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,
character(*), intent(in), optional  name 
)
Parameters
coefSEM coefficients. Optional.
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 143 of file fluid_stats.f90.

◆ make_strong_grad()

procedure, pass(this) fluid_stats::fluid_stats_t::make_strong_grad ( class(fluid_stats_t)  this)

Definition at line 151 of file fluid_stats.f90.

◆ post_process()

procedure, pass(this) fluid_stats::fluid_stats_t::post_process ( class(fluid_stats_t)  this,
type(field_list_t), intent(inout), optional  mean,
type(field_list_t), intent(inout), optional  reynolds,
type(field_list_t), intent(in), optional  pressure_flatness,
type(field_list_t), intent(in), optional  pressure_skewness,
type(field_list_t), intent(in), optional  skewness_tensor,
type(field_list_t), intent(inout), optional  mean_vel_grad,
type(field_list_t), intent(in), optional  dissipation_tensor 
)

Definition at line 154 of file fluid_stats.f90.

◆ reset()

procedure, pass(this) fluid_stats::fluid_stats_t::reset ( class(fluid_stats_t), intent(inout), target  this)

Definition at line 149 of file fluid_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) fluid_stats::fluid_stats_t::update ( class(fluid_stats_t), intent(inout)  this,
real(kind=rp), intent(in)  k 
)
Parameters
kTime elapsed since the last update.

Definition at line 147 of file fluid_stats.f90.

Member Data Documentation

◆ coef

type(coef_t), pointer fluid_stats::fluid_stats_t::coef

Definition at line 132 of file fluid_stats.f90.

◆ dudx

type(field_t) fluid_stats::fluid_stats_t::dudx

Definition at line 121 of file fluid_stats.f90.

◆ dudy

type(field_t) fluid_stats::fluid_stats_t::dudy

Definition at line 122 of file fluid_stats.f90.

◆ dudz

type(field_t) fluid_stats::fluid_stats_t::dudz

Definition at line 123 of file fluid_stats.f90.

◆ dvdx

type(field_t) fluid_stats::fluid_stats_t::dvdx

Definition at line 124 of file fluid_stats.f90.

◆ dvdy

type(field_t) fluid_stats::fluid_stats_t::dvdy

Definition at line 125 of file fluid_stats.f90.

◆ dvdz

type(field_t) fluid_stats::fluid_stats_t::dvdz

Definition at line 126 of file fluid_stats.f90.

◆ dwdx

type(field_t) fluid_stats::fluid_stats_t::dwdx

Definition at line 127 of file fluid_stats.f90.

◆ dwdy

type(field_t) fluid_stats::fluid_stats_t::dwdy

Definition at line 128 of file fluid_stats.f90.

◆ dwdz

type(field_t) fluid_stats::fluid_stats_t::dwdz

Definition at line 129 of file fluid_stats.f90.

◆ e11

type(mean_field_t) fluid_stats::fluid_stats_t::e11

Definition at line 114 of file fluid_stats.f90.

◆ e12

type(mean_field_t) fluid_stats::fluid_stats_t::e12

Definition at line 117 of file fluid_stats.f90.

◆ e13

type(mean_field_t) fluid_stats::fluid_stats_t::e13

Definition at line 118 of file fluid_stats.f90.

◆ e22

type(mean_field_t) fluid_stats::fluid_stats_t::e22

Definition at line 115 of file fluid_stats.f90.

◆ e23

type(mean_field_t) fluid_stats::fluid_stats_t::e23

Definition at line 119 of file fluid_stats.f90.

◆ e33

type(mean_field_t) fluid_stats::fluid_stats_t::e33

Definition at line 116 of file fluid_stats.f90.

◆ n_stats

integer fluid_stats::fluid_stats_t::n_stats = 44

Definition at line 134 of file fluid_stats.f90.

◆ p

type(field_t), pointer fluid_stats::fluid_stats_t::p

Definition at line 65 of file fluid_stats.f90.

◆ p_mean

type(mean_field_t) fluid_stats::fluid_stats_t::p_mean

Definition at line 70 of file fluid_stats.f90.

◆ pdudx

type(mean_field_t) fluid_stats::fluid_stats_t::pdudx

Definition at line 103 of file fluid_stats.f90.

◆ pdudy

type(mean_field_t) fluid_stats::fluid_stats_t::pdudy

Definition at line 104 of file fluid_stats.f90.

◆ pdudz

type(mean_field_t) fluid_stats::fluid_stats_t::pdudz

Definition at line 105 of file fluid_stats.f90.

◆ pdvdx

type(mean_field_t) fluid_stats::fluid_stats_t::pdvdx

Definition at line 106 of file fluid_stats.f90.

◆ pdvdy

type(mean_field_t) fluid_stats::fluid_stats_t::pdvdy

Definition at line 107 of file fluid_stats.f90.

◆ pdvdz

type(mean_field_t) fluid_stats::fluid_stats_t::pdvdz

Definition at line 108 of file fluid_stats.f90.

◆ pdwdx

type(mean_field_t) fluid_stats::fluid_stats_t::pdwdx

Definition at line 109 of file fluid_stats.f90.

◆ pdwdy

type(mean_field_t) fluid_stats::fluid_stats_t::pdwdy

Definition at line 110 of file fluid_stats.f90.

◆ pdwdz

type(mean_field_t) fluid_stats::fluid_stats_t::pdwdz

Definition at line 111 of file fluid_stats.f90.

◆ pp

type(mean_field_t) fluid_stats::fluid_stats_t::pp

<pp>

Definition at line 94 of file fluid_stats.f90.

◆ ppp

type(mean_field_t) fluid_stats::fluid_stats_t::ppp

Definition at line 95 of file fluid_stats.f90.

◆ pppp

type(mean_field_t) fluid_stats::fluid_stats_t::pppp

Definition at line 96 of file fluid_stats.f90.

◆ pu

type(mean_field_t) fluid_stats::fluid_stats_t::pu

<pu>

Definition at line 98 of file fluid_stats.f90.

◆ pv

type(mean_field_t) fluid_stats::fluid_stats_t::pv

Definition at line 99 of file fluid_stats.f90.

◆ pw

type(mean_field_t) fluid_stats::fluid_stats_t::pw

Definition at line 100 of file fluid_stats.f90.

◆ stat_fields

type(field_list_t) fluid_stats::fluid_stats_t::stat_fields

Definition at line 140 of file fluid_stats.f90.

◆ stat_set

character(5) fluid_stats::fluid_stats_t::stat_set

Definition at line 137 of file fluid_stats.f90.

◆ stats_p

type(field_t) fluid_stats::fluid_stats_t::stats_p

Definition at line 58 of file fluid_stats.f90.

◆ stats_u

type(field_t) fluid_stats::fluid_stats_t::stats_u

Definition at line 55 of file fluid_stats.f90.

◆ stats_v

type(field_t) fluid_stats::fluid_stats_t::stats_v

Definition at line 56 of file fluid_stats.f90.

◆ stats_w

type(field_t) fluid_stats::fluid_stats_t::stats_w

Definition at line 57 of file fluid_stats.f90.

◆ stats_work

type(field_t) fluid_stats::fluid_stats_t::stats_work

Definition at line 59 of file fluid_stats.f90.

◆ u

type(field_t), pointer fluid_stats::fluid_stats_t::u

u

Definition at line 62 of file fluid_stats.f90.

◆ u_mean

type(mean_field_t) fluid_stats::fluid_stats_t::u_mean

Definition at line 67 of file fluid_stats.f90.

◆ uu

type(mean_field_t) fluid_stats::fluid_stats_t::uu

<uu>

Definition at line 72 of file fluid_stats.f90.

◆ uuu

type(mean_field_t) fluid_stats::fluid_stats_t::uuu

<uuu>

Definition at line 79 of file fluid_stats.f90.

◆ uuuu

type(mean_field_t) fluid_stats::fluid_stats_t::uuuu

<uuuu>

Definition at line 90 of file fluid_stats.f90.

◆ uuv

type(mean_field_t) fluid_stats::fluid_stats_t::uuv

Definition at line 82 of file fluid_stats.f90.

◆ uuw

type(mean_field_t) fluid_stats::fluid_stats_t::uuw

Definition at line 83 of file fluid_stats.f90.

◆ uv

type(mean_field_t) fluid_stats::fluid_stats_t::uv

Definition at line 75 of file fluid_stats.f90.

◆ uvv

type(mean_field_t) fluid_stats::fluid_stats_t::uvv

Definition at line 84 of file fluid_stats.f90.

◆ uvw

type(mean_field_t) fluid_stats::fluid_stats_t::uvw

Definition at line 85 of file fluid_stats.f90.

◆ uw

type(mean_field_t) fluid_stats::fluid_stats_t::uw

Definition at line 76 of file fluid_stats.f90.

◆ uww

type(mean_field_t) fluid_stats::fluid_stats_t::uww

Definition at line 87 of file fluid_stats.f90.

◆ v

type(field_t), pointer fluid_stats::fluid_stats_t::v

Definition at line 63 of file fluid_stats.f90.

◆ v_mean

type(mean_field_t) fluid_stats::fluid_stats_t::v_mean

Definition at line 68 of file fluid_stats.f90.

◆ vv

type(mean_field_t) fluid_stats::fluid_stats_t::vv

Definition at line 73 of file fluid_stats.f90.

◆ vvv

type(mean_field_t) fluid_stats::fluid_stats_t::vvv

Definition at line 80 of file fluid_stats.f90.

◆ vvvv

type(mean_field_t) fluid_stats::fluid_stats_t::vvvv

Definition at line 91 of file fluid_stats.f90.

◆ vvw

type(mean_field_t) fluid_stats::fluid_stats_t::vvw

Definition at line 86 of file fluid_stats.f90.

◆ vw

type(mean_field_t) fluid_stats::fluid_stats_t::vw

Definition at line 77 of file fluid_stats.f90.

◆ vww

type(mean_field_t) fluid_stats::fluid_stats_t::vww

Definition at line 88 of file fluid_stats.f90.

◆ w

type(field_t), pointer fluid_stats::fluid_stats_t::w

Definition at line 64 of file fluid_stats.f90.

◆ w_mean

type(mean_field_t) fluid_stats::fluid_stats_t::w_mean

Definition at line 69 of file fluid_stats.f90.

◆ ww

type(mean_field_t) fluid_stats::fluid_stats_t::ww

Definition at line 74 of file fluid_stats.f90.

◆ www

type(mean_field_t) fluid_stats::fluid_stats_t::www

Definition at line 81 of file fluid_stats.f90.

◆ wwww

type(mean_field_t) fluid_stats::fluid_stats_t::wwww

Definition at line 92 of file fluid_stats.f90.


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