Computes various statistics for the scalar fields. We use the Reynolds decomposition for a field u = + u' = U + u' Spatial derivatives i.e. du/dx we denote dudx.
◆ scalar_stats_free()
| subroutine scalar_stats::scalar_stats_free |
( |
class(scalar_stats_t), intent(inout) | this | ) |
|
|
private |
◆ scalar_stats_init()
| subroutine scalar_stats::scalar_stats_init |
( |
class(scalar_stats_t), intent(inout), target | this, |
|
|
type(coef_t), optional, target | coef, |
|
|
type(field_t), intent(in), target | s, |
|
|
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
-
| coef | SEM coefficients. Optional. |
| s | The scalar. |
| 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. |
Definition at line 145 of file scalar_stats.f90.
◆ scalar_stats_make_strong_grad()
| subroutine scalar_stats::scalar_stats_make_strong_grad |
( |
class(scalar_stats_t) | this | ) |
|
|
private |
◆ scalar_stats_reset()
| subroutine scalar_stats::scalar_stats_reset |
( |
class(scalar_stats_t), intent(inout), target | this | ) |
|
|
private |
◆ scalar_stats_update()
| subroutine scalar_stats::scalar_stats_update |
( |
class(scalar_stats_t), intent(inout) | this, |
|
|
real(kind=rp), intent(in) | k ) |
|
private |
- Parameters
-
| k | Time elapsed since the last update. |
Gradient of one velocity component at a time.
Definition at line 297 of file scalar_stats.f90.