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.
|
subroutine | fluid_stats_init (this, coef, u, v, w, p, set) |
| Constructor. Initialize the fields associated with fluid_stats. More...
|
|
subroutine | fluid_stats_update (this, k) |
| Updates all fields with a new sample. More...
|
|
subroutine | fluid_stats_free (this) |
| Destructor. More...
|
|
subroutine | fluid_stats_reset (this) |
| Resets all the computed means values and sampling times to zero. 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) |
| Compute certain physical statistical quantities based on existing mean fields. More...
|
|
◆ fluid_stats_free()
subroutine fluid_stats::fluid_stats_free |
( |
class(fluid_stats_t), intent(inout) |
this | ) |
|
|
private |
◆ 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(inout), target |
u, |
|
|
type(field_t), intent(inout), target |
v, |
|
|
type(field_t), intent(inout), target |
w, |
|
|
type(field_t), intent(inout), target |
p, |
|
|
character(*), intent(in), optional |
set |
|
) |
| |
- Parameters
-
coef | SEM coefficients. Optional. |
u | The x component of velocity. |
v | The y component of velocity. |
w | The z component of velocity. |
p | The pressure. |
set | Specifies the subset of the statistics to be collected. Optional. Either basic or full , defaults to full . |
Pressure
Pressure * velocity
Definition at line 167 of file fluid_stats.f90.
◆ fluid_stats_make_strong_grad()
subroutine fluid_stats::fluid_stats_make_strong_grad |
( |
class(fluid_stats_t) |
this | ) |
|
|
private |
◆ 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 |
◆ fluid_stats_reset()
subroutine fluid_stats::fluid_stats_reset |
( |
class(fluid_stats_t), intent(inout), target |
this | ) |
|
|
private |
◆ fluid_stats_update()
subroutine fluid_stats::fluid_stats_update |
( |
class(fluid_stats_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
k |
|
) |
| |
|
private |
- Parameters
-
k | Time elapsed since the last update. |
Uf is u and Umf is
Definition at line 313 of file fluid_stats.f90.