ENH: SpalartAllmaras: add estimation functions for k, epsilon and omega
Summary
- Adds estimation functions for
k
,epsilon
,omega
fields into theSpalartAllmaras
turbulence closure model, so that various utilities can be enabled with this model if necessary, e.g.turbulenceFields
function object. - Reduces peak-memory usage in the
SpalartAllmaras
model.
Resolved bugs
N/A
Details of new models
- The first test case was based on a direct-numerical simulation
by (Moser et al., 1999). The test case is a smooth-wall turbulent
plane channel flow wherein an internal flow statistically develops downstream
(until is fully developed) through parallel smooth walls that are two
characteristic-length apart. The friction Reynolds number of the flow is
\mathrm{Re}_\tau = 180
.
Turbulent kinetic energy
![](/Development/openfoam/uploads/b0cf7d41b347137dc29afe6a16776929/all_setups_yPlus_vs_kPlus1.png)
Turbulent kinetic energy dissipation rate
![](/Development/openfoam/uploads/c3349de9e0923e438206b9a2d4fa3a3d/all_setups_yPlus_vs_epsilonPlus.png)
Turbulent kinetic energy production rate
![](/Development/openfoam/uploads/7fe9b01e82dafe5a40e30190a76f0d51/all_setups_yPlus_vs_productionRatePlus.png)
Streamwise flow speed
![](/Development/openfoam/uploads/9f9fd069fcb7e6d9762b52e7f250d8c0/all_setups_yPlus_vs_uPlus.png)
Reynolds stress tensor components
![](/Development/openfoam/uploads/c4c631ee9e2a487c7475f34e3c6bb476/all_setups_yPlus_vs_Ruv.png)
![](/Development/openfoam/uploads/982bc15a688f2388778f22bc4e3445c0/all_setups_yPlus_vs_Rww.png)
![](/Development/openfoam/uploads/038dda65b4c2e4015013c58f7812529f/all_setups_yPlus_vs_Rvv.png)
![](/Development/openfoam/uploads/5e174efaba0470289ba83133942238b9/all_setups_yPlus_vs_Ruu.png)
Risks
No known risks or user-input changes.
PS: Hi @vaggelisp, might affect or be relevant? just for your info in any case.
Edited by Kutalmış Berçin