Neko  0.8.99
A portable framework for high-order spectral element flow simulations
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_mf, v_mf, w_mf, p_mf)
 Initialize the fields associated with fluid_stats. More...
 
subroutine fluid_stats_update (this, k)
 Updates all fields. More...
 
subroutine fluid_stats_free (this)
 Deallocates a mean flow field. More...
 
subroutine fluid_stats_reset (this)
 Initialize a mean flow field. More...
 
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)
 

Function/Subroutine Documentation

◆ fluid_stats_free()

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

Definition at line 519 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(mean_field_t), intent(inout), target  u_mf,
type(mean_field_t), intent(inout), target  v_mf,
type(mean_field_t), intent(inout), target  w_mf,
type(mean_field_t), intent(inout), target  p_mf 
)
Parameters
[in,out]p_mf<uuu>
[in,out]p_mf<vvv>
[in,out]p_mf<www>
[in,out]p_mf<uuv>
[in,out]p_mf<uuw>
[in,out]p_mf<uvv>
[in,out]p_mf<uvv>
[in,out]p_mf<vvw>
[in,out]p_mf<uww>
[in,out]p_mf<vww>
[in,out]p_mf<uuuu>
[in,out]p_mf<vvvv>
[in,out]p_mf<wwww>
[in,out]p_mf<uuu>
[in,out]p_mf<vvv>
[in,out]p_mf<www>
[in,out]p_mf<uuv>
[in,out]p_mf<uuw>
[in,out]p_mf<uvv>
[in,out]p_mf<uvv>
[in,out]p_mf<vvw>
[in,out]p_mf<uww>
[in,out]p_mf<vww>
[in,out]p_mf<uuuu>
[in,out]p_mf<vvvv>
[in,out]p_mf<wwww>

Definition at line 152 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 598 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(inout), optional  pressure_flatness,
type(field_list_t), intent(inout), optional  pressure_skewness,
type(field_list_t), intent(inout), optional  skewness_tensor,
type(field_list_t), intent(inout), optional  mean_vel_grad,
type(field_list_t), intent(inout), optional  dissipation_tensor 
)
private

Definition at line 648 of file fluid_stats.f90.

◆ fluid_stats_reset()

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

Pressure

Pressure * velocity

Definition at line 548 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

Uf is u and Umf is

Definition at line 276 of file fluid_stats.f90.

Here is the call graph for this function: