|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
James
Join Date: Jan 2010
Posts: 6
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 | ||
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16 ![]() |
Hey James,
Quote:
http://www.cfd-online.com/Forums/ope...tml#post368916 Quote:
Regards Anne |
|||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TwoPhaseEulerFoam and Boundary conditions | raagh77 | OpenFOAM Running, Solving & CFD | 99 | February 6, 2018 19:31 |
Error or Different Meaning of alpha in eEqu and hEqu of compressible solver? | universez | OpenFOAM Running, Solving & CFD | 1 | August 8, 2010 12:51 |
settlingFoam fails with timeVarying conditions on U | alberto | OpenFOAM Bugs | 1 | April 21, 2010 15:16 |
BubbleFoam alpha equation | alberto | OpenFOAM Running, Solving & CFD | 9 | September 21, 2005 02:33 |
Determining alpha and beta for porous baffle | Liaqat Khan | Siemens | 1 | October 27, 2000 05:44 |