Repository navigation
Conversation
…ons based on k and w - Added computation of k and w starting from SA variables - Added first implementation of SAS (Scale Adaptive Simulation) model
- Changed previous SAS model to SAS_SIMPLE
- Fixed DataType for Periodic Comms
…lified IDDES (SIDDES)
- Changed names of SAS models - Added descriptions of functions - Clean up of output functions - Removed SA functions or SST variables
|
Hi @rois1995 any progress? Would be very interesting to add this to develop, looking forward to using it actually. |
Hi @bigfooted, unfortunately I do not have enough time/computational power to perform a proper validation. I only tried something with a NACA0021 at 17 deg and 60 deg and they were promising, at least for the DDES implementation. The SAS ones are not that good. I'll upload some post-processing as soon as I have the time to do so. |
|
I find your work really interesting. I've been studying the internal flow field in compressors and have had good results using SU2's SA_EDDES for calculating the cantilevered stator with a tip clearance. If you need help with code verification, I'd be glad to assist. |
Hi @Linnnnnn23, every help on the validation/verification is gladly accepted! Let me know if you need anything by my side. |
|
|
Hi @rois1995 , I'd like to help with validation/verification if I can. Let me know if you are interested. You can contact me at berkecancfd@gmail.com. |
Hi @rois1995, I believe there is an error or a typo in the Babu's paper in the Q_SAS source term and in turn in your implementation, which may be the reason for the poor performance in SAS results. This term changes units depending on the output of the max function, which doesn't make any sense. I believe the terms in the max function should be divided by omega^2 and k^2 instead of omega and k, respectively. Which is exactly how it is done in https://resolver.tudelft.nl/uuid:5d23e2a6-5675-450d-bf3d-1dd40d736cae I will try some of the benchmark cases in these papers when I have the time. Let me know what you think. [edit: fixed the link to the tudelft repository] |
# Conflicts: # TestCases/parallel_regression.py
|
@rois1995 can you resolve all conversations that are done? It looks like this is close to finishing so let's finalize it. |
…tests (#206) SST and SA solutions (400 iterations) of rans/oneram6/mesh_ONERAM6_turb_hexa_43008.su2, used as restart by the ddes/oneram6 regression tests of su2code/SU2#2150. Claude-Session: https://claude.ai/code/session_01LEL91DW5WPbPwgFtCvHga6 Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The TestCases files of this PR are merged into TestCases develop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013BK58iC1x1atmaCvSH4WtN
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g in its unit test The vortex-tilting unit test built the SST variable without HYBRID_RANSLES= SST_EDDES, so the vortex-tilting storage was not allocated and the test crashed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Final reviewTwo issues I would fix before merge, plus smaller points. Should fix
Smaller points
This review was read from the diff only; I did not build or run the PR. 🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@bigfooted a question about CodeFactor. The alignment changes in the regression scripts were not random: I made them to fix CodeFactor, which reports extra spaces before Which do you prefer?
|
|
@bigfooted thanks, all points are addressed:
|
SIDDES is the simplified IDDES of Gritskevich et al. 2012 (Section 5, Eq. 12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Proposed Changes
DDES formulations for the SST model, and fixes to the shear-layer-adapted (EDDES) length scale of SA.
New
HYBRID_RANSLESoptions for SST, from Gritskevich et al., Development of DDES and IDDES Formulations for the k-ω Shear Stress Transport Model, Flow Turbulence Combust 88, 2012 (DOI):SST_DDES: DDES (Appendix 1).SST_IDDES: IDDES (Appendix 2).SST_SIDDES: simplified IDDES, i.e. IDDES without the elevating function f_e (Eq. 12).In all of them the destruction term of the k equation becomes ρ k^{3/2} / l_DES, with C_DES = 0.78 F1 + 0.61 (1 − F1). Its implicit Jacobian uses the same form, with the length scale frozen.
Shear-layer-adapted (SLA) length scale, from Shur et al., An Enhanced Version of DES with Rapid Transition from RANS to LES in Separated Flows, Flow Turbulence Combust 95, 2015 (DOI): Δ_SLA = Δ̃_ω F_KH(⟨VTM⟩), with F_KH = 1 where f_d < 0.99 (Eq. 6).
SST_EDDES: SST-DDES with Δ_SLA (as in Guseva et al., Flow Turbulence Combust 98, 2017, and Xiao et al., Int. J. Heat Fluid Flow 85, 2020).The length scale is computed by
CTurbSolver::ShearLayerAdaptedLengthScale, shared by SA and SST. Where the vorticity vanishes, its direction is undefined and h_max is used, as in standard DDES.Fixes to the existing
SA_EDDES(they change the reference values of theddes_flatplatetest):Other changes
TIME_DOMAIN= YESin SU2_CFD, and the hybrid model must match the turbulence model (SA_*with SA,SST_*with SST).LES_SENSORis written for SA and SST hybrid models: 0 indicates the RANS length-scale branch, 1 the LES branch, and intermediate values blending. For IDDES the sensor is the LES coefficient1 - f̃_d; the RANS term also contains the elevating function. This field describes the model length scale, not how much turbulence is resolved.DDESoutput group includesLESIQ, a viscosity-based LES quality index.STOCHASTIC_BACKSCATTER,LES_FILTER_WIDTHandENFORCE_LES, since these work only with the SA models. An explicitDES_CONSTis ignored with a warning; SST uses its F1-blended constant, including in the NTS low-dissipation sensor.KIND_TRANS_MODEL) with a hybrid model runs with a warning: the combination is not validated.COMPRESSIBILITY-WILCOXorCOMPRESSIBILITY-SARKARis set. How these corrections should act in the LES region needs its own validation: Forsythe et al. (2002) put the correction only into the RANS length scale, Xiao and Fu (2009) keep it everywhere. SA withCOMPRESSIBILITYis unchanged.Tests
ddes_oneram6_*(serial, parallel and hybrid), one per model:SST_DDES,SST_IDDES,SST_SIDDES,SST_EDDES,SA_EDDES. They run 5 time steps on the existing ONERA M6 hexahedral grid, restarting from a SST or SA RANS solution, so that every model gives different results (about 2 s each on 2 ranks). The LES branch is active in all of them exceptSST_DDES, which is still in RANS mode at these iterations..github/workflows/regression.ymluses thefeature_SST_IDDESbranch of TestCases until that PR is merged.Validation
NACA 0021 at 60 degrees (Re 2.7e5, span 1 chord, periodic), compared with the experiment of Swalwell et al. and with published DES at the same span (Garbaruk et al. 2009). All runs are averaged over the same 520 c/U after the start-up transient.
The EDDES runs (SA and SST) agree with the published DES at the same span. The DDES runs give more lift, drag and suction. This is the expected effect of the shear-layer-adapted length scale: the shear layers switch to LES sooner.
Setup, figures and discussion are in a V&V page for the SU2 website. Preview on my fork: https://rois1995.github.io/SU2/vandv/NACA0021_DDES/
The same site update also rewrites the description of the hybrid models: https://rois1995.github.io/SU2/docs_v7/Hybrid-RANS-LES/
Related Work
PR Checklist
pre-commit run --allto format old commits.🤖 Generated with Claude Code