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

LESDES deltas

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 8, 2008, 04:11
Default Hi all I had a look at the
  #1
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 7
cfdmarkus is on a distinguished road
Hi all

I had a look at the DES model currently implemented in OF1.5. For computing the DES length scale one needs a delta defined as delta()=C*max(dx,dy,dz). This definition is a crucial point in DES and should be used.

I could only find definitions of delta() which are based on the cuberoot delta()=C*(dx*dy*dz)^1/3.

Is the definition of delta based on the maximum grid spacing readily available in OF, or do I have to implement it?

Best regrads,
Markus
cfdmarkus is offline   Reply With Quote

Old   January 11, 2009, 06:10
Default Hi, Markus, how did you do tha
  #2
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Hi, Markus, how did you do that now? I am interested!

Daniel
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 00:56
Default Hi, did you take a look at:
  #3
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 9
braennstroem is on a distinguished road
Hi,

did you take a look at: src/turbulenceModels/LES/LESdeltas/PrandtlDelta/PrandtlDelta.C
or
src/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.C

I think this could be a good start to implement this!?

Fabian
braennstroem is offline   Reply With Quote

Old   January 12, 2009, 02:06
Default Well, I am not poor in using C
  #4
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Well, I am not poor in using C++, so I need help.

PrandtlDelta.C and cubeRootVolDelta.C does not give me much infomation, since it seems the length of each cell is needed, But in fvMesh.H, only mesh().V() etc. is provided, so I'm not sure how to get mesh().maxLength() in a easiest way, could someone give me a hint? Many thanks.

Daniel
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 03:11
Default Sorry, I mean I'm good at C++
  #5
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Sorry, I mean I'm good at C++ programing.
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 03:13
Default Sorry, I mean I'm NOT good at
  #6
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Sorry, I mean I'm NOT good at C++ programing.
I hate my keyBoard
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 03:41
Default Hi Daniel Sorry I haven't h
  #7
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 7
cfdmarkus is on a distinguished road
Hi Daniel

Sorry I haven't had enough time to work on this issue.
But I still believe that a delta based on the maximum grid spacing is crucial for the old DES versions. Therefore, sooner or later I will have to implement it as well.

I am also wondering if there is a command to return the maximum grid spacing of a cell !?

Markus
cfdmarkus is offline   Reply With Quote

Old   January 12, 2009, 08:03
Default Considering that FOAM cells ar
  #8
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 724
Rep Power: 11
eugene is on a distinguished road
Considering that FOAM cells are represented as arbitrary polyhedra, what would the definition of "grid spacing" be?
eugene is offline   Reply With Quote

Old   January 12, 2009, 09:09
Default Yes, but isn't that most of th
  #9
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Yes, but isn't that most of the DES Simulations now are carried on structured hexahedra?
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 09:20
Default The cells might look like hexa
  #10
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 724
Rep Power: 11
eugene is on a distinguished road
The cells might look like hexahedra, but the internal representation is 100% face based. FOAM meshes are completely unstructured. The best you could do would be to ask for a maximum edge length, which could be misleading in some situations, but would do what you need provided all cells were hex shaped.

I do not know of any unambiguous definitions that will comply to the Spalart method for getting max(dx,dy,dx) on arbitrary meshes.
eugene is offline   Reply With Quote

Old   January 12, 2009, 09:30
Default Ok I get your point. I jus
  #11
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 7
cfdmarkus is on a distinguished road
Ok I get your point.

I just don't believe that the cubeRootVolDelta is an appropriate length scale for high aspect ratio hexahedral cells.
Also, the only way to ensure the correct behaviour of DES for attached flows is the design of "DES-grids" (with high aspect ratio cells inside the boundary layer) combined with the "MaxDelta" definition.

Markus
cfdmarkus is offline   Reply With Quote

Old   January 12, 2009, 09:30
Default Fully Agree! And have you t
  #12
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Fully Agree!

And have you tried DDES, can you give some comments? Thanks
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 09:42
Default To Markus, For me, maxDelt
  #13
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
To Markus,

For me, maxDelta is just a method, and an easy way to control the appropriate length scale, to control the proper RANS region.
1. "Easy" but not so easy in preprocessing, that is "DES-grids" design process.
2. "Easy" but not best, why do you think cubeRootVolDelta will violate the "DES-law"?
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 10:19
Default We will be trying DDES this ye
  #14
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 724
Rep Power: 11
eugene is on a distinguished road
We will be trying DDES this year, so I have no personal experience of it yet. Initial indications are that it is a definite improvement.

Assuming you have a hex dominant mesh with surface layers, then the only place that cuberoot vol will be different from max xyz, will be in the transition zone between wall distance and cell size length scales. Near the wall the wall distance remains unchanged and far from the wall, the cuberoot is equal to the max length. In any case, it doesn't seem to make a massive difference to the results. I did a study in my thesis (which is available for download from Hrv's foamcfd website), so you can follow my logic and make up your own mind.
eugene is offline   Reply With Quote

Old   January 12, 2009, 10:20
Default I am not sure what you mean by
  #15
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 7
cfdmarkus is on a distinguished road
I am not sure what you mean by "DES-law".

Using the cubeRootVolDelta makes it much more difficult to maintain RANS in attached flows and consequently, the switch from RANS to LES can occur well inside the boundary layer. A switch inside the boundary layer usually has negative consequences (drop in skin friction). A length scale defined by delta=max(dx,dy,dx) combined with anisotropic cells will help to prevent a switch from RANS to LES inside the boundary layer. Thats why I want to use delta=max(dx,dy,dx).

Markus
cfdmarkus is offline   Reply With Quote

Old   January 12, 2009, 10:37
Default I came across an upgraded vers
  #16
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 7
cfdmarkus is on a distinguished road
I came across an upgraded version of DDES called IDDES. If you are interested:

A hybrid RANS-LES approach with delayed-DES and wall-modelled LES capabilities
International Journal of Heat and Fluid Flow, Volume 29, Issue 6, December 2008, Pages 1638-1649
Mikhail L. Shur, Philippe R. Spalart, Mikhail Kh. Strelets, Andrey K. Travin

Markus
cfdmarkus is offline   Reply With Quote

Old   January 12, 2009, 11:44
Default I know this article. But accor
  #17
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
I know this article. But according to Wilcox´╝îi won't use it for its GREAT complexity, for i think its improvement is limited both in engineering-requirement results and basic theory.
It's too complex to have a model like that. :-) just my thought.

Good night!
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 12, 2009, 22:42
Default Hi, Markus! Do you have the
  #18
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 685
Blog Entries: 9
Rep Power: 10
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Hi, Markus!

Do you have the original paper of DES by Spalart. May I have a copy of it? Thank you.
My Email is lakeat@gmail.com

Daniel

---------------------------
Spalart, P.R., Jou, W.-H., Strelets, M., Allmaras, S.R.: Comments on the feasibility of LES for wings, and on a hybrid
RANS/LES approach. In: Proceedings of first AFOSR international conference on DNS/LES, Ruston, Louisiana. Greyden
Press, 4–8 Aug (1997)
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   January 13, 2009, 03:36
Default Hi, could it possible to us
  #19
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 9
braennstroem is on a distinguished road
Hi,

could it possible to use the gradient of a virtual field, which then could be used to determine the max value!?
For attached flows it might be better to use a different approach with a hard, kind of 'predefined', interface position. As the name suggests, DES is more suitable for detached flows. There is a review about hybrid LES/RANS methods of Froehlich and von Terzi, which is quite interesting.

By the way, it would be quite nice, if you guys support the Turbulence Special Interest Group!?

Fabian
braennstroem is offline   Reply With Quote

Old   January 13, 2009, 07:04
Default Daniel: yes I should have a h
  #20
Member
 
Markus Weinmann
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 77
Rep Power: 7
cfdmarkus is on a distinguished road
Daniel:
yes I should have a hardcopy of the original DES97 paper. If I find a scanner I can send it to you (might take some time).

Fabian:
I am really not sure about your first point. However, constructing a MaxDelta for hexahedral cells shouldn't be too difficult.
I agree that the definition of a proper interface location is clearly superior to any global-hybrid method. However, these zonal-hybrid methods bring up a lot of other problems and therefore, global-hybrid methods are at least a good starting point.

Do you have any experience in running hybrid simulations in OF wich use a predefined interface location? I am very interested to hear about your experiences regarding this issue!

Markus
cfdmarkus is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 00:39.