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

Computes various statistics for the fluid 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  fluid_stats_t

Functions/Subroutines

subroutine fluid_stats_init (this, coef, u, v, w, p, set, name)
 Constructor. Initialize the fields associated with fluid_stats.
subroutine fluid_stats_update (this, k)
 Updates all fields with a new sample.
subroutine fluid_stats_free (this)
 Destructor.
subroutine fluid_stats_reset (this)
 Resets all the computed means values and sampling times to zero.
subroutine fluid_stats_make_strong_grad (this)
subroutine fluid_stats_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.

Function/Subroutine Documentation

◆ fluid_stats_free()

subroutine fluid_stats::fluid_stats_free ( class(fluid_stats_t), intent(inout) this)
private

Definition at line 402 of file fluid_stats.f90.

◆ fluid_stats_init()

subroutine fluid_stats::fluid_stats_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.

Pressure

Pressure * velocity

Definition at line 150 of file fluid_stats.f90.

◆ fluid_stats_make_strong_grad()

subroutine fluid_stats::fluid_stats_make_strong_grad ( class(fluid_stats_t) this)
private

Definition at line 524 of file fluid_stats.f90.

◆ fluid_stats_post_process()

subroutine fluid_stats::fluid_stats_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 )
private

Definition at line 591 of file fluid_stats.f90.

◆ fluid_stats_reset()

subroutine fluid_stats::fluid_stats_reset ( class(fluid_stats_t), intent(inout), target this)
private

Definition at line 468 of file fluid_stats.f90.

◆ fluid_stats_update()

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

Definition at line 294 of file fluid_stats.f90.

Here is the call graph for this function: