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

LES turbulent pipe flow

Register Blogs Community New Posts Updated Threads Search

Like Tree19Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2021, 04:08
Question Problem using perturbUCylinder
  #61
New Member
 
Maryam
Join Date: Mar 2021
Posts: 3
Rep Power: 5
mary2021 is on a distinguished road
Quote:
Originally Posted by eugene View Post
Try this

perturbCylinder.tgz

You have to edit the code and set the cylinder diameter and Re_tau. It only works for flow in the x direction. It will set up wavy sinusoidal precursor perturbations that should develop into fully blown turbulence after a few dozen flow-through times.
Hi everyone,

I am using perturbUCylinder and had problem getting a turbulent velocity profile for my pipe simulation. Instead, I get a laminar velocity profile.

As I checked the perturbU.C file of this utility I saw that the code has used a parabolic profile for x-velocity, which is the shape of a laminar velocity profile. I am suspicious that this may be a reason for not getting a turbulent velocity profile.

Does anyone have any idea why Eugene has used a parabolic profile (a laminar velocity profile) for what must be a turbulent flow in the end?

Thanks in advance.
mary2021 is offline   Reply With Quote

Old   July 5, 2021, 09:44
Default
  #62
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14
Tobermory will become famous soon enough
Quote:
Originally Posted by mary2021 View Post
Hi everyone,
Does anyone have any idea why Eugene has used a parabolic profile (a laminar velocity profile) for what must be a turbulent flow in the end?
Probably because it is simple to define the laminar profile, and to make sure that it's in balance with the background pressure gradient. You can apply whatever you want though - for example, I have done as you suggest, and applied a more turbulent looking profile, to try and boost the speed of transition (the turbulent profile has a larger near wall gradient, and so greater turbulence production). I have also played with the perturbation settings, again to kick off the transition in my DNS. Just be careful not to overstimulate things though - it can take a Loooooong time to relax back to equilibrium conditions if you do.
mary2021 likes this.
Tobermory is offline   Reply With Quote

Old   July 6, 2021, 02:27
Default
  #63
New Member
 
Maryam
Join Date: Mar 2021
Posts: 3
Rep Power: 5
mary2021 is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
Probably because it is simple to define the laminar profile, and to make sure that it's in balance with the background pressure gradient. You can apply whatever you want though - for example, I have done as you suggest, and applied a more turbulent looking profile, to try and boost the speed of transition (the turbulent profile has a larger near wall gradient, and so greater turbulence production). I have also played with the perturbation settings, again to kick off the transition in my DNS. Just be careful not to overstimulate things though - it can take a Loooooong time to relax back to equilibrium conditions if you do.
Thanks a lot.

One more question. Have you ever got a turbulent field as a result of using the original perturbUCylinder utility (the parabolic one)? I want to know whether I really have to go through changing the code.

Also, if you have published or shared your modified code anywhere, please let me know. I think it would be very helpful to many people like me.
mary2021 is offline   Reply With Quote

Old   July 6, 2021, 04:57
Default
  #64
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14
Tobermory will become famous soon enough
Yes, but for my case I had to ramp up the strength of the perturbations, ie. play with the coefficients (I boosted duplus by a factor of 2 and eps by a factor of 4 I think). I think that was probably necessary since my case was running at a lower Re number than Eugene's original run. As for code - I am just using his code; you can change the coding for the parabolic profile to whatever profile you want. But I would suggest starting with the laminar profile, maybe boost the coeffs and then run again and see if the initial perturbations start to "take off" and propagate (good) or die away slowly (bad - so bump up the perturbation further).

Good luck.
mary2021 likes this.
Tobermory is offline   Reply With Quote

Old   July 6, 2021, 14:34
Default
  #65
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14
Tobermory will become famous soon enough
By the way - I found that plotting Q isocontours alongside contour plots of streamwise and spanwise velocity just off the wall was a good way of keeping track of what was going on. You could tell really easily whether the initially fairly uniform perturbations were starting to go nonlinear and taking off, or were instead dying away. Attached are a few example snapshots.
Attached Images
File Type: jpg combi.0004.jpg (74.4 KB, 33 views)
File Type: jpg combi.0007.jpg (107.0 KB, 17 views)
File Type: jpg combi.0011.jpg (107.1 KB, 22 views)
mary2021 likes this.
Tobermory is offline   Reply With Quote

Old   April 15, 2022, 09:03
Default How to chose the value of Q
  #66
New Member
 
Yanjun Tong
Join Date: Jul 2020
Posts: 13
Rep Power: 5
Hughtong is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
By the way - I found that plotting Q isocontours alongside contour plots of streamwise and spanwise velocity just off the wall was a good way of keeping track of what was going on. You could tell really easily whether the initially fairly uniform perturbations were starting to go nonlinear and taking off, or were instead dying away. Attached are a few example snapshots.
Hello Tobermory, recently im beginning to plot Q isocontours using paraview, I wonder how to chose the value of Q? I've ploted the Q isocontourss in Channel as blow, the value of Q is 0.002. But I do not know how to chose Q, and why using this value
Hughtong is offline   Reply With Quote

Old   April 18, 2022, 12:42
Default
  #67
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 669
Rep Power: 14
Tobermory will become famous soon enough
The magnitude of Q will be tied in to the characteristic velocity and lengthscales of the flow problem that you are solving. However, for the current purposes, the precise value is not important - you are just using it to visualise the perturbations to the velocity field, to observe whether these go chaotic or not. So, with that in mind, just play with the iscontour threshold value in paraview until you resolve the features that you want to see. Good luck.
Hughtong likes this.
Tobermory is offline   Reply With Quote

Old   November 25, 2022, 08:38
Default
  #68
New Member
 
Join Date: Mar 2021
Posts: 8
Rep Power: 5
nukecrafts is on a distinguished road
I'm trying to download the code but receiving .unk file (unknown type) . How could you open the file?



Quote:
Originally Posted by mary2021 View Post
Hi everyone,

I am using perturbUCylinder and had problem getting a turbulent velocity profile for my pipe simulation. Instead, I get a laminar velocity profile.

As I checked the perturbU.C file of this utility I saw that the code has used a parabolic profile for x-velocity, which is the shape of a laminar velocity profile. I am suspicious that this may be a reason for not getting a turbulent velocity profile.

Does anyone have any idea why Eugene has used a parabolic profile (a laminar velocity profile) for what must be a turbulent flow in the end?

Thanks in advance.
nukecrafts is offline   Reply With Quote

Old   January 26, 2023, 11:34
Default
  #69
New Member
 
Join Date: Mar 2021
Posts: 8
Rep Power: 5
nukecrafts is on a distinguished road
Quote:
Originally Posted by nukecrafts View Post
I'm trying to download the code but receiving .unk file (unknown type) . How could you open the file?

Thanks to wyldckat added missing file. Link:

https://openfoamwiki.net/index.php/Contrib/perturbU
nukecrafts 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
MapFields turbulent pipe flow anita OpenFOAM Pre-Processing 5 July 3, 2008 23:29
pipe turbulent flow Hao FLUENT 4 April 29, 2008 22:30
turbulent pipe flow John FLUENT 2 August 2, 2005 13:00
fully developed turbulent flow in a pipe Dipak Phoenics 3 July 20, 2000 05:53
Measurements on turbulent pipe flow Bo B. B. Jensen Main CFD Forum 4 June 30, 1999 05:34


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