Alpha in IDDES
Hello,
The way alpha is calculated in IDDES seems slightly wrong. It should be - alpha = 0.25 -dw/hmax where hmax is a local cell maximum length e.g. max(dx,dy,dz). In the source however I think it is calculating the max cell length in the entire mesh and hence not using a local max. Currently its - tmp<volScalarField> SpalartAllmarasIDDES::alpha() const { return max ( 0.25 - y_/dimensionedScalar("hMax", dimLength, max(cmptMax(delta()))), scalar(-5) ); } Am I right in thinking this returns a mesh-wide maximum? what exactly does the cmptMax() do? How can I change it to find the local max, or use the deltamax calculated in IDDESDelta.c ? Thanks James |
Hey James,
Quote:
http://www.cfd-online.com/Forums/ope...tml#post368916 Quote:
Regards Anne |
All times are GMT -4. The time now is 18:40. |