CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

LES-Content of a Detached Eddy Simulation for OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2013, 08:23
Default
  #21
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 15
Anne Lincke is on a distinguished road
I have the same in my computation, meaning to use cubeRootVol for delta and IDDESDelta inside SpalartAllmaras model.
This works in any case.
Would be interesting to know if it is possible to set the general delta to "IDDESDelta".
So far, this does not work with OF-2.1.1.
Anne Lincke is offline   Reply With Quote

Old   March 6, 2013, 14:13
Default
  #22
Member
 
Join Date: Jul 2010
Posts: 52
Rep Power: 15
MaryBau is on a distinguished road
It runs perfect! Thank you ingcorra.

But I might have spoken to fast. Anne has a point.

So to check if IDDESDelta is being used and not cubeRoot I simply added a line in the IDDESDelta.C file:

Info<<delta_.internalField()<<endl;

after the calculation of delta.

It prints the value of delta before the first iteration, but not in each iteration.

Does delta is something that is calculated once? (which will mean the IDDESDelta works fine) or it is calculated every iteration? (and there is something wrong in the code)

Last edited by MaryBau; March 6, 2013 at 14:48.
MaryBau is offline   Reply With Quote

Old   April 30, 2013, 09:56
Default
  #23
New Member
 
Sha Huang
Join Date: Dec 2012
Posts: 22
Rep Power: 13
Joanna Huang is on a distinguished road
Quote:
Originally Posted by Anne Lincke View Post
Hey Foamers,

I started with OpenFOAM®+DES, SpalartAllmarasIDDES.
I would like to determine the LES-Content of my computation.
Does someone know an indicator or a way to determine the content?

It would be desirable to see the averaged LES content...

Thanks
Anne

Hello,
Anne, I notice that you are familar with IDDES, I am currently doing some simulation relating to this, but everytime it has errors like this:


request for RASModel RASProperties from objectRegistry region0 failed
available objects of type RASModel are
0
(
)

I attached the case file below(0,constant,system), could you please kindly help me with this, I will really appreciate that since I am suffering this now.
Attached Files
File Type: zip case.zip (4.1 KB, 32 views)
Joanna Huang is offline   Reply With Quote

Old   May 3, 2013, 09:02
Default
  #24
New Member
 
Håkon Bartnes Line
Join Date: Mar 2013
Posts: 27
Rep Power: 14
hakonbar is on a distinguished road
Hi everyone! I was just wondering, what's the consensus on the delta for IDDES? The way I understand the issue is that in old releases of OpenFOAM (pre 2.1) it was possible to define the delta as "IDDESDelta" in the root of the "LESProperties" file (as per post #11), but that in the newer versions, the delta has to be defined as something else first (like in post #20).

Is this a bug in the new releases, or has it been done on purpose? If it's on purpose, is the first definition of delta just a "dummy definition" which isn't really used in the simulation?

I get the following output when I start an IDDES simulation, suggesting that the solver switches back and forth between different definitions of delta.

Code:
Selecting turbulence model type LESModel
Selecting LES turbulence model SpalartAllmarasIDDES
Selecting LES delta type maxDeltaxyz
Selecting LES delta type maxDeltaxyz
Selecting LES delta type IDDESDelta
Selecting LES delta type maxDeltaxyz
When I select a regular LES-model, there's no such switching back and forth:

Code:
Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddy
Selecting LES delta type maxDeltaxyz
So is this a bug or a feature, and how do we find out?
hakonbar is offline   Reply With Quote

Old   May 6, 2013, 07:25
Default
  #25
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 15
Anne Lincke is on a distinguished road
The computation of IDDES delta is based on a general delta. You can find in IDDESDelta.C the formula of IDDESDelta

HTML Code:
delta_.internalField() =
            deltaCoeff_
           *min
            (
                max
                (
                    max(cw_*wallDist(mesh()).y(), cw_*hmax),
                    faceToFacenMax()
                ),
                hmax
            );
where "hmax" needs a general delta as you can see in SpalartAllmarasIDDES.C

HTML Code:
hmax_
    (
        LESdelta::New
        (
            "hmax",
            mesh_,
            *this
        )
    ),
The hmax equals to the maximum local grid spacing. When using structured meshes the defintion of maxDeltaxyz is fine, when using unstructured meshes the cubeRootVolDelta is more appropriate.
In the paper of Shur, Spalart, Strelets and Travin, International Jorunal of Heat and Fluid Flow 29 (2008) 1638-1649 you can read more.

Hope this helped.

Kind Regards,
Anne
kiddmax and hakonbar like this.
Anne Lincke is offline   Reply With Quote

Old   May 7, 2013, 11:33
Default
  #26
New Member
 
Håkon Bartnes Line
Join Date: Mar 2013
Posts: 27
Rep Power: 14
hakonbar is on a distinguished road
Hi Anne, and thanks for the thorough explanation! So in a structured grid, like one would make in blockMesh, all the cells are aligned with the principal axes of the domain, and the "maxDeltaxyz" definition is fine, but since this might not be the case for an unstructured grid, it would be safer to use the "cubeRootVol" definition..is this correct?

Shur et al. do talk a lot about how the "max"-definition is preferable to the cube root, but the choice of delta definition is maybe not as significant for DDES and IDDES, which have the shielding term?

cheers,
Håkon
hakonbar is offline   Reply With Quote

Old   May 8, 2013, 03:41
Default
  #27
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
Hi Håkon,

The LeMoS extensions for OpenFOAM provide an URANS-LES Detatched Eddy approach where the regions of URANS and LES are decomposed dynamically in every timestep dependent on flow properties and local mesh resolution. They have very good validation results using ship hydrodynamic test cases. So if you want to use LES with an unstructured grid, this might be helpful.
hakonbar likes this.
vonboett is offline   Reply With Quote

Old   May 8, 2013, 06:09
Default
  #28
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 15
Anne Lincke is on a distinguished road
Hey Ha°kon,

Quote:
So in a structured grid, like one would make in blockMesh, all the cells are aligned with the principal axes of the domain, and the "maxDeltaxyz" definition is fine, but since this might not be the case for an unstructured grid, it would be safer to use the "cubeRootVol" definition..is this correct?
Yes, this is correct.

Kind Regards
Anne
Anne Lincke is offline   Reply With Quote

Old   July 21, 2015, 11:41
Default baklanton
  #29
New Member
 
Anton
Join Date: Nov 2014
Posts: 2
Rep Power: 0
baklanton is on a distinguished road
Hi Anne,

Could you please post or attach the post-processing tool that you created, the one that writes \tilde{fd}*(1+fe) and 1-\tilde{fd} .

Many Thanks

Anton
baklanton is offline   Reply With Quote

Old   October 12, 2015, 08:58
Default
  #30
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 15
Anne Lincke is on a distinguished road
Dear Anton,

sorry for this late response. I found the tool which I implemented a while ago. If you are still interested, I could send it to you via e-mail.

Kind Regards,
Anne
Anne Lincke is offline   Reply With Quote

Old   January 18, 2016, 21:35
Default
  #31
New Member
 
Jade Chantrell
Join Date: Dec 2015
Location: Newcastle, Australia
Posts: 12
Rep Power: 10
Chanterz is on a distinguished road
(Sorry, ignore me)

Last edited by Chanterz; January 18, 2016 at 21:40. Reason: Accidently post on wrong thread.
Chanterz is offline   Reply With Quote

Old   January 18, 2016, 21:41
Default
  #32
New Member
 
Jade Chantrell
Join Date: Dec 2015
Location: Newcastle, Australia
Posts: 12
Rep Power: 10
Chanterz is on a distinguished road
For anyone still following this thread, the correction Corrado posted in response to Anne's LESProperties post worked for me,

Thanks
Chanterz is offline   Reply With Quote

Old   April 9, 2017, 12:46
Default Is this the answer to your Question ?
  #33
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15
Alhasan is on a distinguished road
Hi All,

My two cents on the intial question,

This should be added to the functions in the controlDict, to get the LES and DES regions during the simulations so it can be visualised after the simulation.

Code:
desField
{
   type DESModelRegions;
   functionObjectLibs ("libutilityFunctionObjects.so");
   log true;
   enabled on;
   storeFilter on;
   timeStart 0.15;
   outputControl outputTime;
}
Regards,
Hasan K.J
Clément_G likes this.
__________________
"Real knowledge is to know the extent of one's ignorance." - Confucius
Alhasan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detached eddy simulation rooholghodos OpenFOAM 0 March 7, 2012 10:35
Transition RANS to LES during simulation LorenzN OpenFOAM Running, Solving & CFD 4 November 17, 2011 10:47
Link between eddy viscosity and subgrid-scale turbulent viscosity in LES Marvin Main CFD Forum 6 December 4, 2009 11:08
Large Eddy Simulation help PattiMichelle Phoenics 2 April 29, 2005 13:24
Detached Eddy Simulation Fred Main CFD Forum 4 December 16, 2000 09:45


All times are GMT -4. The time now is 16:12.