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.
|
|
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.
|
|
◆ fluid_stats_free()
◆ 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 |
|
) |
| |
- 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()
◆ 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 |
◆ fluid_stats_reset()
◆ fluid_stats_update()
- Parameters
-
k | Time elapsed since the last update. |
Uf is u and Umf is
Definition at line 313 of file fluid_stats.f90.