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

Is it to possible to change time step DeltaT during a calculation

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 1 Post By dbxmcf
  • 1 Post By dbxmcf
  • 3 Post By philippose
  • 2 Post By parthiv1991

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 12, 2007, 23:44
Default I am using icoFoam to calculat
  #1
Member
 
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17
dbxmcf is on a distinguished road
I am using icoFoam to calculate a simple fluid, however I want to change the time step dynamically, e.g. first time step is: deltaT[1]=0.001, the next time step is deltaT[2]=0.003, the next is deltaT[3]=0.002, and so on.
i.e.
t0=0
t1=0+0.001=0.001
t2=0.001+0.003=0.004
t3=0.004+0.002=0.006

Maybe it is a wired problem, but in my program it seems that I need such kind of dynamic timestep, is it possible to program it in OpenFOAM? I didn't find any function like runTime.setTimeStep(DeltaT)...the only function I found is adjustDeltaT() but it is protected and after I read through the source, I found it is not doing what I want.

Thanks a lot!
sunshuai likes this.
dbxmcf is offline   Reply With Quote

 


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
time step calculation david FLUENT 1 May 7, 2008 01:36
unsteady state calculation with adaptive time step sm FLUENT 0 November 7, 2007 01:26
How to change boundary type at calculation time? Stanislav Kraev FLUENT 0 December 4, 2006 03:33
time step calculation in unsteady solidconduction ps Siemens 0 July 19, 2006 01:01
Time step calculation Shashi Main CFD Forum 1 March 1, 2006 07:27


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