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

time step ?

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

Like Tree2Likes
  • 1 Post By brunoc
  • 1 Post By singer1812

Reply
 
LinkBack Thread Tools Display Modes
Old   September 2, 2013, 12:57
Question time step ?
  #1
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 9
hmasenger is on a distinguished road
hi dear friends
i have a dumb question but i cant fined the final answer for it in the CFX manual.
the question is"when to decrease the time step and when to increase it"
how can i estimate a proper initial time step?
and one more question which is "what is the difference between the inner loop and outer loop in an steady state model?"
any reference would really help

regards
hmasenger is offline   Reply With Quote

Old   September 2, 2013, 13:56
Default
  #2
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 273
Rep Power: 13
brunoc is on a distinguished road
Hi Hamed,

The CFX documentation has an extensive text on that. Take a look at section 15.4.1:
CFX > Modeling Guide > Advice on Flow Modeling > Timestep Selection > Steady State Time Scale Control

Cheers
brunoc is offline   Reply With Quote

Old   September 2, 2013, 15:07
Default
  #3
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 9
hmasenger is on a distinguished road
thanks brunoc I will take a look at that but what about the inner and outer loops in a steady state problem? can you explain it a little in a simple way ?
hmasenger is offline   Reply With Quote

Old   September 2, 2013, 16:48
Default
  #4
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 273
Rep Power: 13
brunoc is on a distinguished road
Maybe I'm not understanding your question correctly, but inner and outer loops are only present in transient simulations, not steady state ones (unless we're talking about 2-way FSI, but that's another subject).

- The inner loops (or coefficient loops, as CFX calls them) are iterations within a timestep in order to correct the non-linearities for the result of that given time.

- The outer loop are the iterations that advance the simulation in time.

So, if you have a timestep of 0.1 s, the outer loops are the ones that advance your simulation from 0.1 to 0.2, 0.3, etc. The inner loops are the ones that solve your current timestep until it reaches a desired residual level.
hmasenger likes this.
brunoc is offline   Reply With Quote

Old   September 3, 2013, 04:43
Default
  #5
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 9
hmasenger is on a distinguished road
thanx bruno. you have answered my question .but there is one more question.
if my model needs to be solved as transient to reach a final steady state condition then does it really matter how many inner loopes hav been set? for example if the steady state model converges after 100 iterations and i want to run a similar model in transient(which i know it is going to be steady sate after some time steps), then i should set the inner loops to 100 or it is enough to set it to 5-10 by CFX default?
hmasenger is offline   Reply With Quote

Old   September 3, 2013, 09:03
Default
  #6
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 512
Rep Power: 12
singer1812 is on a distinguished road
Why does your model need to be solved as a transient to reach the SS value?

Under most conditions, it only needs to be done that way if you are interested in some solutions prior to reaching SS.
singer1812 is offline   Reply With Quote

Old   September 3, 2013, 12:15
Default
  #7
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 9
hmasenger is on a distinguished road
Quote:
Originally Posted by singer1812 View Post
Why does your model need to be solved as a transient to reach the SS value?

Under most conditions, it only needs to be done that way if you are interested in some solutions prior to reaching SS.
i am modeling 2 phase flow to study cavitation phenomena.i figured it out that in some cases a SS model is not converging and a transient model should be used
hmasenger is offline   Reply With Quote

Old   September 3, 2013, 13:16
Default
  #8
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 512
Rep Power: 12
singer1812 is on a distinguished road
If you find you need to run it transient to get it to converge, then it probably has highly transient effects in it and most likely isnt really a steady state problem, which in turn means to get an accurate solution, you will have to resolve the time.

If it isnt highly transient, then it probably means you just havent set your timescale properly in the steady state solution to get it to solve.
singer1812 is offline   Reply With Quote

Old   September 3, 2013, 13:39
Default
  #9
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 9
hmasenger is on a distinguished road
Quote:
Originally Posted by singer1812 View Post
If you find you need to run it transient to get it to converge, then it probably has highly transient effects in it and most likely isnt really a steady state problem, which in turn means to get an accurate solution, you will have to resolve the time.

If it isnt highly transient, then it probably means you just havent set your timescale properly in the steady state solution to get it to solve.
i used automatic time scale in SS model and as i know(pleas confirm if i am right) changing the time scale just effects the convergence speed(rate) but doesn't cause convergence !
hmasenger is offline   Reply With Quote

Old   September 3, 2013, 13:44
Default
  #10
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 512
Rep Power: 12
singer1812 is on a distinguished road
Autotime scale is CFX estimate on what to use.

There is a scale factor on autotimescale that you can set, which will adjust CFXs calculated timestep by that factor.

Also you can use local, or physical time step, for greater control.

Using these different types of scales/steps can get you through some tricky physics that might occur as the problem is setting up towards steady state.

Just setting autotime step doesnt mean CFX is going to move happily to convergence.
hmasenger likes this.
singer1812 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
Rapidly decreasing deltaT for interDyMFoam chrisb2244 OpenFOAM Running, Solving & CFD 3 July 1, 2014 16:40
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 9 January 3, 2012 09:06
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20
calculation diverge after continue to run zhajingjing OpenFOAM 0 April 28, 2010 04:35


All times are GMT -4. The time now is 08:26.