CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Accessing LES Delta Values From Solver Code (

mchurchf October 25, 2010 17:46

Accessing LES Delta Values From Solver Code

I am trying to make a modification to buoyantBoussinesqPisoFoam in which the turbulent Prandtl number is a function of the LES filter width. Is there any way to access the LES filter width field from buoyantBoussinesqPisoFoam.C? I tried turbulence->delta(), but that does not work.

Thank you,


hz283 December 8, 2012 16:44

Hi Matt,
Did you solve this problem?
I am using rhoPimpleFoam and LES Smagorinsky model. The filter width delta is used in the simulation. Now I would like to use delta() to output another quantity (it is volScalarField type), and I think I can add somes lines in creatFields.H. However, I had some problems about how to use the fileter delta () in createFields.H of rhoPimpleFoam. Thank you very much.

All times are GMT -4. The time now is 14:37.