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

ChannelOodles initial conditions

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2007, 20:20
Default Hi Eugene: A quick question
  #21
Member
 
Ning Yang
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 84
Rep Power: 17
nzy102 is on a distinguished road
Hi Eugene:

A quick question: what does "pressure gradient" in log file stand for? Is it the streamwise pressure gradient after each step? If this is the case, it should be negative for channelOodles. For my case, Retau = 180. Channel dimension is pi*1*pi/2. No matter which perturbU code I used, pressure gradient always converged to a certain value between 1 and 2. Did I misunderstood something?

Ning
nzy102 is offline   Reply With Quote

Old   May 2, 2007, 06:12
Default gradp is the magnitude of the
  #22
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
gradp is the magnitude of the externally applied pressure gradient needed to maintain Ubar.

It is applied to the momentum equation as:

== flowDirection*gradp

Check channelOodles.C for details.

Certainly, its sign has no bearing on perturbU, which only sets initial conditions.
eugene is offline   Reply With Quote

Old   May 2, 2007, 20:13
Default Thanks Euqene for providing th
  #23
rex
New Member
 
lijian sun
Join Date: Mar 2009
Posts: 7
Rep Power: 17
rex is on a distinguished road
Thanks Euqene for providing the new version of pertubU, I am testing it now!

Ning, I think you get the meaning for gradP now from Euqene. For my case, the pressure gradient is about (1.21e-5), and the normalized value is 1.8. I think it is in the reasonable range.
rex is offline   Reply With Quote

Old   May 2, 2007, 20:42
Default Somehow I still can't get pres
  #24
Member
 
Ning Yang
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 84
Rep Power: 17
nzy102 is on a distinguished road
Somehow I still can't get pressure gradient right. Anyhow, thank you for letting me know.

Eugene: thank you for your explanation. It is now pretty clear to me.

Ning
nzy102 is offline   Reply With Quote

Old   May 5, 2007, 02:53
Default Hi Ning and Rex What is yo
  #25
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
Hi Ning and Rex

What is your idea about new version of perurbU?
Did you see turbulance structures in your case after
running?

Best Regards
Marhamat
marhamat is offline   Reply With Quote

Old   May 8, 2007, 07:20
Default Hello Eugene For initializati
  #26
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
Hello Eugene
For initialization of LES cases we are testing a new method.
You can see application of this method for turbulent flat plate in http://www.cfd-online.com/OpenFOAM_D...tml?1178524227
what is your idea after a first general view ?
Best Regards
Marhamt
marhamat is offline   Reply With Quote

Old   May 8, 2007, 08:28
Default Are you seriously trying to ru
  #27
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
Are you seriously trying to run a LES flat plate in 2D?
atmcfd likes this.
eugene is offline   Reply With Quote

Old   May 8, 2007, 09:02
Default I'm trying LES flat plate in 2
  #28
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
I'm trying LES flat plate in 2D only for time serving.So i don't sure in 2D simulation of this case.

Thanks alot
Marhamat
marhamat is offline   Reply With Quote

Old   May 9, 2007, 17:04
Default Hello Eugene Can i expect goo
  #29
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
Hello Eugene
Can i expect good result from 2D simulation of LES flat plate?
In oodles step flow simulated in 2D.
Best Regards
Marhamat
marhamat is offline   Reply With Quote

Old   May 10, 2007, 05:36
Default No, 2D LES generally has no me
  #30
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
No, 2D LES generally has no meaning and certainly wont work for channel flows. If it is done for a tutorial case, then it is simply a demonstration of model and solver settings.

Unless you have a prominent turbulence production mechanism like a free shear layer or shedding, 2D LES wont produce any resolved motion at all.
eugene is offline   Reply With Quote

Old   May 21, 2007, 02:54
Default Hi Eugene I tried on 3D LES
  #31
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
Hi Eugene

I tried on 3D LES cases by noted code(Tuesday, May 08, 2007 - 05:20 am) but i didn't see turbulent structures in 3D turbulent flat plate.
I add that in duct flow i got good result by that.
I'm compeletly wondering.
Essentially what is the difference between these cases?
What is your idea?

Best Regards
Marhamat
marhamat is offline   Reply With Quote

Old   July 9, 2007, 03:36
Default Hi to all, I am simulating
  #32
Member
 
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17
hadi is on a distinguished road
Hi to all,

I am simulating a LES turbulent channelflow using channelOodles, i fixed the value of Ubar and i ran the case for few iterations, i would like to get the values of u_tau in order to estimate the corresponding Re_tau.
Does openFoam print out these values?
u_tau=(nu*(du_x/dy+du_z/dy))^0.5

Thanks in advance
hadi
hadi is offline   Reply With Quote

Old   July 17, 2007, 04:10
Default Hello, Can u please answer
  #33
Member
 
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17
hadi is on a distinguished road
Hello,

Can u please answer my question posted above?
I also tried to extract wallShearStress but i got the following message error : "keyword turbulenceModel is undefined in dictionary".
Can anyone tell me how to get a converged value of U_tau?

Cheers
Hadi
hadi is offline   Reply With Quote

Old   August 9, 2007, 04:45
Default Hi to all, I ran a LES channe
  #34
Member
 
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17
hadi is on a distinguished road
Hi to all,
I ran a LES channel flow simulation using channelOodles , and after 40 flows through time the mean fields are not symmetric.
Could u please tell me what might be wrong in my simulation?
dimensions 3.2x1x1.2
mesh:64x64x64
Ubar=1
Re_tau=180
y+=1

Uinitial

Umean

R

hadi is offline   Reply With Quote

Old   August 9, 2007, 04:59
Default Nothing wrong here, as far as
  #35
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
Nothing wrong here, as far as I can tell: either do averaging across homogenous planes (in z-direction?) or keep running.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   August 9, 2007, 05:19
Default Thank you so much for your rep
  #36
Member
 
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17
hadi is on a distinguished road
Thank you so much for your reply!

I will keep running the simulation.
Over how many flows through time should i run the simulation, to get the right mean fields?
(i checked the velocity profile is good, rms of u, v and w did not converge yet)

cheers
Hadi
hadi is offline   Reply With Quote

Old   August 9, 2007, 07:45
Default We recently had to run such a
  #37
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
We recently had to run such a case and it took around 200 flow-through times to converge the mean profiles. Normally a figure of around 100 is quoted in literature.

Making the duct longer can reduce the overall cost a bit since you have less artificial periodicity.
eugene is offline   Reply With Quote

Old   August 10, 2007, 04:01
Default Thank you Eugene for your repl
  #38
Member
 
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17
hadi is on a distinguished road
Thank you Eugene for your reply, hopefully i will get good results at the end.

Actually i am new to LES and openFOAM, but i found that it is important to calculate u_tau, when u fix U_bar, me i calculate u_tau=(nu*(du_x/dy+du_z/dy))^0.5 by modifying wallGradU utility without doing time average, but i dont know if it is the right way to do it.(does openFoam calculate this value?)
My concern is when u simulate a new case that does not exist in literature, do you run the simulation to get a converged value of u_tau, and then u change the mesh with the adequate y+?
(Sorry if my question seems a bit stupid or unclear)
Thanks in advance
Cheers
Hadi
hadi is offline   Reply With Quote

Old   August 10, 2007, 05:46
Default You should not use u_tau=(nu*(
  #39
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
You should not use u_tau=(nu*(du_x/dy+du_z/dy))^0.5 to calculate utau since this will only be accurate if your y+ < ~2. channelOodles provides you with a driving pressure gradient. Since wall shear is the only force balancing this gradient it is simple to compute utau from the pressure gradient. Thus if you want a fixed utau, it is better to prescribe a fixed pressure gradient than to adjust Ubar for instance.
eugene is offline   Reply With Quote

Old   August 10, 2007, 06:09
Default Thank you eugene for your answ
  #40
Member
 
hadi tartoussi
Join Date: Mar 2009
Location: paris
Posts: 48
Rep Power: 17
hadi is on a distinguished road
Thank you eugene for your answer, actually in my case y+=1.
I know that i can calculate utau using :
U_tau=[(gradp/rho)*2delta]^0.5
But i thought it is only valid for DNS.
Is it the right way to do it?

Cheers
Hadi
hadi 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
Burgerbs equation non constant Boundary Conditions Initial Conditions arkangel OpenFOAM Running, Solving & CFD 1 October 2, 2008 14:48
Initial conditions Shuo Main CFD Forum 2 July 27, 2007 08:57
Initial conditions = final conditions Chucho CFX 5 December 16, 2005 17:14
Initial conditions Allan CFX 5 April 23, 2002 08:54
Initial conditions in CFX 5.5 Astrid CFX 3 December 18, 2001 23:24


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