CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Question about two dimensional simulations

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Eifoehn4
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2024, 07:55
Default Question about two dimensional simulations
  #1
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 13
Eifoehn4 is on a distinguished road
Is a two-dimensional simulation able to reproduce the law of wall, especially the log-law region?

I am interested in the comparison of different models:
  1. 2D RANS, with wall-function
  2. 2D RANS, wall-resolved
  3. High resolved 2D simulation without turbulence model (either solved transient or steady)

How do commercial tools, e.g. Fluent, handle this? Thank you for the discussion.
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.

Last edited by Eifoehn4; February 15, 2024 at 17:37.
Eifoehn4 is offline   Reply With Quote

Old   February 13, 2024, 08:08
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
1 & 2 There's 0 difference between 2D RANS and 3D RANS
3 It gives a law of the wall, but a 2D one and not a 3D one. So yes and simultaneously, no.
LuckyTran is offline   Reply With Quote

Old   February 13, 2024, 12:24
Default
  #3
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 13
Eifoehn4 is on a distinguished road
Thank you LuckyTran. This was also my guess. This means (1), (2) and (3) are comparable in 3D however not in 2D.

Or in other words: A high resolved 2D simulation without turbulence model will not reproduce the log-law region.
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   February 13, 2024, 18:44
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It produces a law of the wall but with a different Karman constant.
LuckyTran is offline   Reply With Quote

Old   February 13, 2024, 23:25
Default
  #5
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,274
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
I do not think commercial codes even need to worry about it. 2D equation are special approximation on 3d equations.

The point is that because in our nature we have 3d world and navier stokes are written for it. This is what commecial codes provide for.



Quote:
Originally Posted by Eifoehn4 View Post
Is a two-dimensional simulation able to reproduce the law of wall, especially the log-law region.

I am interested in the comparison of different models:
  1. 2D RANS, with wall-function
  2. 2D RANS, wall-resolved
  3. High resolved 2D simulation without turbulence model (either solved transient or steady)

How do commercial tools, e.g. Fluent, handle this? Thank you for the discussion.
arjun is offline   Reply With Quote

Old   February 14, 2024, 02:18
Default
  #6
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 13
Eifoehn4 is on a distinguished road
Quote:
Originally Posted by arjun View Post
I do not think commercial codes even need to worry about it. 2D equation are special approximation on 3d equations.

The point is that because in our nature we have 3d world and navier stokes are written for it. This is what commecial codes provide for.
Yes that's obviously true. There is not need to derive a pseudo-turbulence model to recover the exact solution for the 2D equations.

Quote:
Originally Posted by LuckyTran View Post
It produces a law of the wall but with a different Karman constant.
Do you have a reference for the different value in 2D? Currently I would expect a viscous and buffer layer, only.
arjun likes this.
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   February 14, 2024, 06:15
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
A simple example is a flow around a wing. If wing is finite, you have no homogeneous direction, the flow remains 3D even in statistical sense. Of course, also the profile of velocities will change.

But if you assume a homogeneous wing, that is a 3D wing extending periodically in spanwise direction, your 3D solution is only a 2D solution repeated in that direction.
The key is when you can afford the physical model with a 2D RANS ...
FMDenaro is offline   Reply With Quote

Old   February 14, 2024, 10:51
Default
  #8
Senior Member
 
andy
Join Date: May 2009
Posts: 270
Rep Power: 18
andy_ is on a distinguished road
Quote:
Originally Posted by Eifoehn4 View Post
Is a two-dimensional simulation able to reproduce the law of wall, especially the log-law region.
Turbulence cannot exist in 2D because the energy cascade due to vortex stretching requires 3 dimensions. What happens in 2D is the vortices generated by flow instabilities keep growing in size given they cannot roll up in the 3rd dimension and become smaller and more intense until dissipated by viscosity. Such behaviour can be seen in temperature inversions and jupiter's red spot. This 2D unsteady motion is nothing like turbulence and cannot be nudged towards turbulence because they are close to an inverse of each w.r.t. to the behaviour of the time and length scales.

If you project a 2D geometry to form a 3D one with periodic boundary conditions on the ends then you will be able to simulate a law of the wall behaviour if the periodic conditions are far enough apart for the motion on the planes to not influence each other through the solution domain. This will depend on the length scale of the largest turbulent motion which tends to vary from flow to flow.
andy_ is offline   Reply With Quote

Old   February 14, 2024, 11:29
Default
  #9
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 13
Eifoehn4 is on a distinguished road
Quote:
Originally Posted by andy_ View Post
Turbulence cannot exist in 2D because the energy cascade due to vortex stretching requires 3 dimensions. What happens in 2D is the vortices generated by flow instabilities keep growing in size given they cannot roll up in the 3rd dimension and become smaller and more intense until dissipated by viscosity. Such behaviour can be seen in temperature inversions and jupiter's red spot. This 2D unsteady motion is nothing like turbulence and cannot be nudged towards turbulence because they are close to an inverse of each w.r.t. to the behaviour of the time and length scales.

If you project a 2D geometry to form a 3D one with periodic boundary conditions on the ends then you will be able to simulate a law of the wall behaviour if the periodic conditions are far enough apart for the motion on the planes to not influence each other through the solution domain. This will depend on the length scale of the largest turbulent motion which tends to vary from flow to flow.
It is quite clear for me that turbulence cannot exist in 2D due to the missing vortex stretching effect in z-direction.

My question is actually quite simple: You have a highly resolved 2D simulation of a flat plate without turbulence model and without wall function (steady or unsteady using the 2D equations). You take a line plot through the boundary.

Is a logarithmic region visible? Yes or no?

Edit: I meant "cannot exist in 2D"
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   February 14, 2024, 12:00
Default
  #10
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 501
Rep Power: 20
JBeilke is on a distinguished road
Why don't you try it and tell us, what you find?
JBeilke is offline   Reply With Quote

Old   February 14, 2024, 12:06
Default
  #11
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Eifoehn4 View Post
It is quite clear for me that turbulence cannot exist in 2D due to the missing vortex stretching effect in z-direction.

My question is actually quite simple: You have a highly resolved 2D simulation of a flat plate without turbulence model and without wall function (steady or unsteady using the 2D equations). You take a line plot through the boundary.

Is a logarithmic region visible? Yes or no?


Edit: I meant "cannot exist in 2D"

are you thinking a sort of DNS or LES in 2D? or a high resolved RANS?
The problem you stated has zero mean spanwise flow but in LES/DNS your 2D solution would be unsteady, even without the vortex stretching. Then you have to do the ensemble averaging of data. If the effect of the vortex stretching is disregardable in average, you could get some acceptable approximation in the averaged. Note that I am thinking to a region of fully developed turbulence. If you think to develop turbulence from a laminar BL, the transition regions is not well represented.

But such a case is well suited and would be resolved very well by a 2D RANS.
FMDenaro is offline   Reply With Quote

Old   February 14, 2024, 12:06
Default
  #12
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 13
Eifoehn4 is on a distinguished road
Quote:
Originally Posted by JBeilke View Post
Why don't you try it and tell us, what you find?
I did a test yesterday (a fast one) and could not reproduce a logarithmic region.
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   February 14, 2024, 12:24
Default
  #13
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 13
Eifoehn4 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
are you thinking a sort of DNS or LES in 2D? or a high resolved RANS?
The problem you stated has zero mean spanwise flow but in LES/DNS your 2D solution would be unsteady, even without the vortex stretching. Then you have to do the ensemble averaging of data. If the effect of the vortex stretching is disregardable in average, you could get some acceptable approximation in the averaged. Note that I am thinking to a region of fully developed turbulence. If you think to develop turbulence from a laminar BL, the transition regions is not well represented.

But such a case is well suited and would be resolved very well by a 2D RANS.
I think that's the actual confusion. My solution was time-resolved, however never unsteady. Would an unsteady solution in 2D in the limit of t \rightarrow \infty and \Delta x \rightarrow 0 ever occur? I think not, or?
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   February 14, 2024, 14:09
Default
  #14
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Eifoehn4 View Post
I think that's the actual confusion. My solution was time-resolved, however never unsteady. Would an unsteady solution in 2D in the limit of t \rightarrow \infty and \Delta x \rightarrow 0 ever occur? I think not, or?



If you have a resolved grid, a high accurate method, the 2d solution will develop instability and produces a time-dependent flow even in 2D.
Be sure you grid is really so fine, ensure that the lenght is chosen to be long enough and use a scheme without numerical dissipation.
FMDenaro is offline   Reply With Quote

Old   February 14, 2024, 14:11
Default
  #15
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I bet you have done a transient laminar calc and that's why you only see a viscous region, because that's exactly what a laminar flow is, it's viscous everywhere.
LuckyTran is offline   Reply With Quote

Old   February 15, 2024, 16:27
Default
  #16
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Don't take me wrong, you all know what I'm going to write, but I feel like a summary is needed.

A 2D unsteady Navier-Stokes simulation with no additional term (e.g. turbulence model) is laminar. Laminar in the special way of a system that can only be laminar. Laminar meaning that none of the defining features of turbulence are present.

This 2D simulation, as such, can't reproduce the log-law as the underlying dynamics, <u'v'>, is different between the two.

Analogously, using a proper model for <u'v'> in a steady 2D simulation is sufficient to get a log law, as any 2D RANS test will show.
sbaffini is offline   Reply With Quote

Old   February 15, 2024, 17:27
Default
  #17
Senior Member
 
Eifoehn4's Avatar
 
-
Join Date: Jul 2012
Location: Germany
Posts: 184
Rep Power: 13
Eifoehn4 is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
Don't take me wrong, you all know what I'm going to write, but I feel like a summary is needed.

A 2D unsteady Navier-Stokes simulation with no additional term (e.g. turbulence model) is laminar. Laminar in the special way of a system that can only be laminar. Laminar meaning that none of the defining features of turbulence are present.

This 2D simulation, as such, can't reproduce the log-law as the underlying dynamics, <u'v'>, is different between the two.

Analogously, using a proper model for <u'v'> in a steady 2D simulation is sufficient to get a log law, as any 2D RANS test will show.
Thank's for your reply @sbaffini. Your explanations are in line with my current understanding. However, if I have some time and enough resources I will rerun the case with my high order spectral code. But I doubt that the transient simulation will ever get unsteady.
__________________
Check out my side project:

A multiphysics discontinuous Galerkin framework: Youtube, Gitlab.
Eifoehn4 is offline   Reply With Quote

Old   February 16, 2024, 03:08
Default
  #18
Senior Member
 
andy
Join Date: May 2009
Posts: 270
Rep Power: 18
andy_ is on a distinguished road
Quote:
Originally Posted by Eifoehn4 View Post
Your explanations are in line with my current understanding. However, if I have some time and enough resources I will rerun the case with my high order spectral code. But I doubt that the transient simulation will ever get unsteady.
Performing that simulation looks like a good idea to me if you doubt flow becomes unstable at high Reynolds numbers. Laminar 2D flow instabilities are often what initiates turbulence for example vortex streets, developing free or boundary shear layers,... What happens when motion in the 3rd direction is suppressed like in temperature inversions or strong gravity fields is interesting but of limited practical interest due to rarity.
andy_ is offline   Reply With Quote

Old   February 16, 2024, 04:37
Default
  #19
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Eifoehn4 View Post
Thank's for your reply @sbaffini. Your explanations are in line with my current understanding. However, if I have some time and enough resources I will rerun the case with my high order spectral code. But I doubt that the transient simulation will ever get unsteady.

How do you define the extension of your computational domain? Are you sure you extended it at least up to Re_x=O(10^5) and the BL is resolved (apart the region near x=0)?
FMDenaro is offline   Reply With Quote

Old   February 16, 2024, 14:29
Default
  #20
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It's not clear to me what steps were taken to even ensure that the 2D simulation is a proper DNS. Btw, people have done 2D DNS before. I want to point out that even a 3D high resolution mesh can produce a fully laminar solution if you do not take all the proper steps to include perturbations in the initial condition and the boundary conditions. The challenges you are facing are not caused by "2D turbulence"
arjun likes this.
LuckyTran is offline   Reply With Quote

Reply

Tags
turbulence


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
Can converge do two dimensional simulation? Weiqiang Liu CONVERGE 2 August 21, 2020 21:34
Before you post a question please read this ghorrocks CFX 5 October 23, 2019 07:44
Confusion choosing between static / transient simulations TharunSK CFX 1 March 15, 2019 17:53
Can SU2-6.0.1 do RANS + Rotating Mesh simulations for helicopter rotors? (Bug?) adrisabate SU2 0 July 20, 2018 08:08
Timestepping in two - phase Simulations using RSM challenger85 CFX 0 January 4, 2010 05:00


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