In transient simulations, ANSYS Fluent can collect time-sampled data for postprocessing of time-averaged mean and RMS values of many solution variables. In addition, resolved Reynolds stresses and some other correlation functions can be calculated.
To access the quantities that can be evaluated during postprocessing, the following macros can be used:
Mean Values
Pressure/Velocity Components:
| |
| |
| |
| |
Temperature/Species Mass Fraction:
| |
|
|
Mixture Fraction/Progress Variable:
| |
| |
These quantities, as well as many others, may or may not be available depending on what models have been activated. Access to all of them always follows the same structure.
Note: The storage variable identifiers SV_..._MEAN do not refer directly to time-averaged quantities. Instead, these
storage variables contain the time-integral of these variables. It
is necessary to divide by the sampling time to obtain the time averaged
values.
RMS Values
Pressure/Velocity Components:
| |
| |
| |
| |
Temperature/Species Mass Fraction:
| |
| |
The RMS preprocessor macro
must be defined before it is used:
#define RMS(mean_accum, rms_accum, n, nsq) \ sqrt(fabs(rms_accum/n - SQR(mean_accum)/nsq))
Again, these quantities, as well as many others, may or may not be available depending on what models have been activated. Access to all of them always follows the same structure.
Note: The storage variable identifiers SV_..._RMS contain the time-integral of the square of the solution variables.
It is necessary to divide by the sampling time to obtain the time
averaged values.
Resolved Reynolds (Shear) Stresses
| UV: | uiuj = |
| UW: | uiuj = |
| VW: | uiuj = |
As before, the CROSS_CORRELATION preprocessor macro must be defined before it is used:
#define CROSS_CORRELATION(mean_accum_1, mean_accum_2, cross_accum, n_cross, nsq_mean) \ (cross_accum/n_cross - (mean_accum_1*mean_accum_2)/nsq_mean)
These quantities, as well as many others, may or may not be available depending on what models have been activated. Access to all of them always follows the same structure.
Note: The SV_UV/UW/VW_MEAN storage
variables contain time-integrals of the products of two different
storage variables each. In addition to the Reynolds stresses, SV_[U|V|W]T_MEAN are available to calculate temperature-velocity
component correlations as shown below:
| ut = |