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

Time control

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2008, 05:17
Default Hi,everyone, After I runni
  #1
Member
 
Vivien
Join Date: Mar 2009
Posts: 52
Rep Power: 17
sunnysun is on a distinguished road
Hi,everyone,

After I running a solver, I got 'T' for each timestep, then I manage to run another sover based on T in each time step. Although I set start time to be zero and endtime to be 50, time step is 0.5 in controlDict, it always runs from t=50s, anybody know why this is happening?

Thanks,
Vivien
sunnysun is offline   Reply With Quote

Old   June 2, 2008, 05:23
Default Hi Vivien, What does it say t
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hi Vivien,
What does it say the startFrom variable in your system/controlDict file?

In my case I have:
startFrom latestTime;
which basically says "start from the last time you find in the case directory".
So, if you have something similar, and your last time directory is 50, than it should start from 50s.
If you want to change it, replace latestTime with the time you want, 0 for instance.

I hope this is helpful,
Dragos
dmoroian is offline   Reply With Quote

Old   June 2, 2008, 05:28
Default After running the solver, you
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
After running the solver, you have the results. You can continue calculating with the same solver, or a new solver, from a particular time
controlDict> startFrom (startTime | firstTime | latestTime)

If you want, you can also post-process each of the time results with your own utility. If you wish to somehow use your temperature results for a second solver, you'll need to move the old results out of the way (so they aren't overwritten), restart from time=0 and have a time-varying boundary condition or some other field that uses the previously calculated temperatures.
olesen is offline   Reply With Quote

Old   June 2, 2008, 05:55
Default Hi, I see what is going wrong.
  #4
Member
 
Vivien
Join Date: Mar 2009
Posts: 52
Rep Power: 17
sunnysun is on a distinguished road
Hi, I see what is going wrong... I missed a semicolon after the application...

Thanks for the reply!

vivien
sunnysun 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
cfx time scale control Kordou CFX 2 September 22, 2008 11:07
Iteration control kdarc OpenFOAM Running, Solving & CFD 5 September 24, 2007 11:27
Control Volume Sangeeta FLUENT 8 March 7, 2007 08:08
How to set and control the turbulence in CFX? Wei CFX 8 November 28, 2006 04:41
Time Stepping Control Dave CFX 2 September 5, 2002 05:39


All times are GMT -4. The time now is 14:59.