ReynoldsStress Class Reference
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Public Member Functions |
Static Public Member Functions |
Static Private Member Functions |
Private Attributes |
List of all members
amr_wind::averaging::ReynoldsStress Class Reference
#include <ReynoldsStress.H>
Inheritance diagram for amr_wind::averaging::ReynoldsStress:
Collaboration diagram for amr_wind::averaging::ReynoldsStress:
Public Member Functions | |
| ReynoldsStress (CFDSim &, const std::string &avgname, const std::string &fname) | |
| void | operator() (const SimTime &, const amrex::Real, const amrex::Real, const amrex::Real) override |
| const std::string & | average_field_name () override |
Static Public Member Functions | |
| static std::string | identifier () |
Static Private Member Functions | |
| static std::string | stress_name (const std::string &fname, const std::string &avgname) |
| Generate the Reynolds stress field name based on the field name and label. | |
| static std::string | re_stress_name (const std::string &fname, const std::string &avgname) |
Private Attributes | |
| const Field & | m_field |
| Fluctuating field. | |
| const Field & | m_average |
| Reynolds averaged field. | |
| Field & | m_stress |
| The stresses < AB > | |
| Field & | m_re_stress |
| The reynolds stresses < ab > = < AB > - < A > < B > | |
Detailed Description
Compute correlation from 2 CFD fields The formula used to compute the correlations between two fields: A = < A > + a and B = < B > + b is < ab > = < AB > -< A >< B > where A and B are the mean values and a and b are the fluctuations
Constructor & Destructor Documentation
◆ ReynoldsStress()
| amr_wind::averaging::ReynoldsStress::ReynoldsStress | ( | CFDSim & | sim, |
| const std::string & | avgname, | ||
| const std::string & | fname ) |
Member Function Documentation
◆ average_field_name()
|
override |
◆ identifier()
|
inlinestatic |
◆ operator()()
|
override |
Update field averaging at a given timestep
- Parameters
-
time SimTime instance filter_width Time-averaging window specified by user avg_time_interval Time interval at which averaging is performed elapsed_time Time elapsed since averaging was initiated
◆ re_stress_name()
|
inlinestaticprivate |
◆ stress_name()
|
inlinestaticprivate |
Generate the Reynolds stress field name based on the field name and label.
Member Data Documentation
◆ m_average
|
private |
Reynolds averaged field.
◆ m_field
|
private |
Fluctuating field.
◆ m_re_stress
|
private |
The reynolds stresses < ab > = < AB > - < A > < B >
◆ m_stress
|
private |
The stresses < AB >
The documentation for this class was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/averaging/ReynoldsStress.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/averaging/ReynoldsStress.cpp
Generated by