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

How to run a steady state case in OpenFOAM

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

Like Tree1Likes
  • 1 Post By Lieven

Reply
 
LinkBack Thread Tools Display Modes
Old   July 17, 2012, 01:06
Default How to run a steady state case in OpenFOAM
  #1
New Member
 
Vignesh V
Join Date: Jun 2012
Posts: 16
Rep Power: 5
Vignesh V is on a distinguished road
can anyone tell me how to run a steady state case in openFOAM.

I'm a new user of openFoam.
Vignesh V is offline   Reply With Quote

Old   July 17, 2012, 01:59
Smile More Details.
  #2
New Member
 
Balaji Sankar
Join Date: Nov 2011
Posts: 19
Rep Power: 5
Bajji is on a distinguished road
Hi,
People will be able to help you if you provide a bit more details and be specific in your question.
Bajji is offline   Reply With Quote

Old   July 17, 2012, 04:07
Default Staedy State case
  #3
New Member
 
Vignesh V
Join Date: Jun 2012
Posts: 16
Rep Power: 5
Vignesh V is on a distinguished road
I'm trying to find a steady state flow ventilation of a parking basement.

But we need to specify the timestep and start and end time in controldict. This shows a results in unsteady state.

can anyone help in running a steady state solution.
Vignesh V is offline   Reply With Quote

Old   December 23, 2012, 10:55
Default
  #4
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 667
Rep Power: 8
sharonyue is on a distinguished road
Quote:
Originally Posted by Vignesh V View Post
I'm trying to find a steady state flow ventilation of a parking basement.

But we need to specify the timestep and start and end time in controldict. This shows a results in unsteady state.

can anyone help in running a steady state solution.
It depends on which solver u use. for example. simple is steady,interFoam is unsteady.
sharonyue is offline   Reply With Quote

Old   December 23, 2012, 11:38
Default
  #5
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 13
Lieven will become famous soon enough
Most obvious choice would be to take a steady state solver such as simpleFoam. But you can also use a transient solver like pisoFoam or pimpleFoam in combination with false time stepping (global or local).

Don't forget that it is the turbulence modelling which determines whether a case is steady or not (so not the choice of solver):
1. LES = by definition unsteady
2. RANS = depends on the boundary conditions
a. constant boundary conditions = steady flow
b. time-dependent boundary conditions = unsteady flow
So only with RANS + constant BC you will be able to obtain a steady solution.

You will obtain exactly the same solution with a steady or a transient solvers, but my experience is that a transient solver (piso/pimpleFoam) with local time stepping (localEuler) results in the fastest convergence...

Kind regards,


L
Grimoli likes this.
Lieven is offline   Reply With Quote

Old   December 23, 2012, 11:48
Default
  #6
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 667
Rep Power: 8
sharonyue is on a distinguished road
Quote:
Originally Posted by Lieven View Post
Most obvious choice would be to take a steady state solver such as simpleFoam. But you can also use a transient solver like pisoFoam or pimpleFoam in combination with false time stepping (global or local).

Don't forget that it is the turbulence modelling which determines whether a case is steady or not (so not the choice of solver):
1. LES = by definition unsteady
2. RANS = depends on the boundary conditions
a. constant boundary conditions = steady flow
b. time-dependent boundary conditions = unsteady flow
So only with RANS + constant BC you will be able to obtain a steady solution.

You will obtain exactly the same solution with a steady or a transient solvers, but my experience is that a transient solver (piso/pimpleFoam) with local time stepping (localEuler) results in the fastest convergence...

Kind regards,


L
Thanks a lot,dear Lieven.

but if I switch of the tubulence via SimpleFoam. What does this mean... It should be steady state. but I set it is laminer..

and I find in my case that the velocity fields changes depends on time even many iterations. I think this is not normal in steady state. I dont know where Im wrong about the concept. any hints please? thank in advance.~
sharonyue is offline   Reply With Quote

Old   December 23, 2012, 16:54
Default
  #7
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 128
Rep Power: 8
wouter is on a distinguished road
hello,
look at this forum item:
http://www.cfd-online.com/Forums/ope...-unsteady.html

maybe that answers your question.
best
Wouter
wouter is offline   Reply With Quote

Old   December 24, 2012, 06:40
Default
  #8
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 13
Lieven will become famous soon enough
SimpleFoam doesn't include the time derivative in the momentum equation so what you see is not a time dependence simply because the time variable is not treated. It's simply the solver trying to find a solution to the problem. You can monitor the residuals and if they go down smoothly (without peaks) you are converging towards a steady solution.
Have a look at Tutorial of how to plot residuals ! to see how to do this.

I'm pretty sure however that it will be very difficult to obtain a steady solution when you treat the flow as laminar because you won't have a lot of momentum dissipation. So even a small fluctuation can prevent you from reaching a steady solution.
I would therefore recommend you to turn on the turbulence and use a RANS model. This way the modeled turbulence appears as an additional diffusive flux in the momentum equation. The result is that the time scale of any resulting unsteadyness is drastically increased and in most cases a steady solution can be obtained this way.

Regards,


L
Lieven is offline   Reply With Quote

Old   December 24, 2012, 11:52
Question
  #9
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 667
Rep Power: 8
sharonyue is on a distinguished road
Quote:
Originally Posted by Lieven View Post
I'm pretty sure however that it will be very difficult to obtain a steady solution when you treat the flow as laminar because you won't have a lot of momentum dissipation. So even a small fluctuation can prevent you from reaching a steady solution.


Regards,


L
Thanks Lieven, sorry about this thing. now I am more confused. AFAIK, icoFoam is an unsteady solver for laminar flow of Newtonian fluids. but according to what you have said. that seems a little contradiction?
sharonyue is offline   Reply With Quote

Old   December 26, 2012, 06:29
Default
  #10
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 13
Lieven will become famous soon enough
Hi Sharonyue,

I don't really see the contradiction. icoFoam is a transient solver. The contradiction would be if icoFoam were a steady state solver for laminar flow of Newtonian fluids...
I hope this makes it a bit more clear.

Kind regards,

L
Lieven is offline   Reply With Quote

Old   December 26, 2012, 06:31
Default
  #11
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 667
Rep Power: 8
sharonyue is on a distinguished road
Quote:
Originally Posted by Lieven View Post
Hi Sharonyue,

I don't really see the contradiction. icoFoam is a transient solver. The contradiction would be if icoFoam were a steady state solver for laminar flow of Newtonian fluids...
I hope this makes it a bit more clear.

Kind regards,

L
Woo,its my fault....I must be dizzy that time.~ Thanks so much!
sharonyue 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Comparison of axisymmetric case, Starccm+ and OpenFOAM linnemann OpenFOAM Running, Solving & CFD 12 June 16, 2011 05:43
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
Monitor point values in a steady state simulation Kushagra CFX 2 July 13, 2008 20:03


All times are GMT -4. The time now is 02:33.