Implements the fluid_stats_simcomp_t
type.
|
type | fluid_stats_simcomp_t |
| A simulation component that computes the velocity and pressure statistics up to 4th order. Can be used to reconstruct the term budget of transport equations for, e.g. the Reynolds stresses and the turbulent kinetic energy. More...
|
|
|
subroutine | fluid_stats_simcomp_init_from_json (this, json, case) |
| Constructor from json. More...
|
|
subroutine | fluid_stats_simcomp_init_from_attributes (this, u, v, w, p, coef, start_time, hom_dir, stat_set) |
| Actual constructor. More...
|
|
subroutine | fluid_stats_simcomp_free (this) |
| Destructor. More...
|
|
subroutine | fluid_stats_simcomp_restart (this, t) |
|
subroutine | fluid_stats_simcomp_compute (this, t, tstep) |
| fluid_stats, called depending on compute_control and compute_value More...
|
|
◆ fluid_stats_simcomp_compute()
subroutine fluid_stats_simcomp::fluid_stats_simcomp_compute |
( |
class(fluid_stats_simcomp_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
◆ fluid_stats_simcomp_free()
subroutine fluid_stats_simcomp::fluid_stats_simcomp_free |
( |
class(fluid_stats_simcomp_t), intent(inout) |
this | ) |
|
|
private |
◆ fluid_stats_simcomp_init_from_attributes()
subroutine fluid_stats_simcomp::fluid_stats_simcomp_init_from_attributes |
( |
class(fluid_stats_simcomp_t), intent(inout) |
this, |
|
|
type(field_t), intent(inout) |
u, |
|
|
type(field_t), intent(inout) |
v, |
|
|
type(field_t), intent(inout) |
w, |
|
|
type(field_t), intent(inout) |
p, |
|
|
type(coef_t), intent(in) |
coef, |
|
|
real(kind=rp), intent(in) |
start_time, |
|
|
character(len=*), intent(in) |
hom_dir, |
|
|
character(len=*), intent(in) |
stat_set |
|
) |
| |
|
private |
- Parameters
-
u | x-velocity |
v | x-velocity |
w | x-velocity |
coef | sem coefs |
start_time | time to start sampling stats |
hom_dir | directions to average in |
stat_set | Set of statistics to compute (basic/full) |
Definition at line 129 of file fluid_stats_simcomp.f90.
◆ fluid_stats_simcomp_init_from_json()
subroutine fluid_stats_simcomp::fluid_stats_simcomp_init_from_json |
( |
class(fluid_stats_simcomp_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
class(case_t), intent(inout), target |
case |
|
) |
| |
◆ fluid_stats_simcomp_restart()
subroutine fluid_stats_simcomp::fluid_stats_simcomp_restart |
( |
class(fluid_stats_simcomp_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t |
|
) |
| |
|
private |