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

Writing different time steps in different processors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2014, 09:28
Default Writing different time steps in different processors
  #1
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 15
sihaqqi is on a distinguished road
Hi

I have a problem. Sometimes when my simulation stops, it stops at different time steps. When I delete the latest time step which is different and make all time steps same and restart the simulations, the simulations run but do not write the data at all. For this reason, I have deleted my simulations several times and start them new. This is a source of constant time waste. Right now I have again stopped at this situation and in order to save my three weeks of run-time, I am trying to figure out how I can restart it without deleting anything. For this , I have used the startTime in controlDict as last time step which is the last common time step in all processors which was 0.484834. It failed and the error was error1 attached.
I went into the processors/0.484834/uniform/time and saw the time there which was 0.484834. In fieldAveragingProperties, iteration was saying 0.484835. I used this. It again failed. Error 2 attached.

I shall be grateful for help.

Regards
Imad
Attached Images
File Type: jpg error1.jpg (38.5 KB, 11 views)
File Type: jpg error2.jpg (41.4 KB, 9 views)
sihaqqi is offline   Reply With Quote

Old   August 16, 2014, 12:45
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Imad,

We've been going through this for quite sometime now and many times you keep forgetting to state which exact version of OpenFOAM you're using. Quoting from the post that got me here:
Quote:
Originally Posted by sihaqqi View Post
I have posted the same question with more description at the link
http://www.cfd-online.com/Forums/ope...tml#post503586

If you can just go through it and advise, it would be great as it can save a lot of time. For your information, my job scheduler does not provide any warning as you mentioned. I use OpenFOAM 2.1.1.
So, reviewing the historic past, the solution for the original problem was explained here: www.cfd-online.com/Forums/openfoam-solving/134568-foam-fatal-io-error-cannot-find-file-2.html - post #22... in essence, the problem was that when the solver needs to increase the time precision beyond the time precision that is written to the disk, even though it writes the correct time snapshot, it would then not be able to load the correct time snapshot, because it was beyond the scope defined in "controlDict".

A few days before this post above, you posted this bug report: http://www.openfoam.org/mantisbt/view.php?id=1355#c3178

__________________

Now, going to this recent problem that you have in this particular thread, the problem indicated by both error messages is that you have defined a double value where a word should be. This is because you have defined this:
Code:
startFrom       0.484834;
and this:
Code:
startFrom       0.484835;
When instead you should have used this:
Code:
startFrom       startTime;

startTime       0.484834;
The keyword "startFrom" indicates how the simulation should start, not when. This is why a word has to be defined.
When in doubt, double-check the User Guide: http://www.openfoam.org/docs/user/controlDict.php - and look at the files in the "tutorials" folder.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 16, 2014, 20:08
Default
  #3
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 15
sihaqqi is on a distinguished road
Thanks very much Bruno. I am very grateful. I shall keep in mind in future

Best Regards
Imad
sihaqqi is offline   Reply With Quote

Reply

Tags
different time steps


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
How to determine time step size and Max. iterations per time step. pratik c FLUENT 46 January 21, 2024 12:21
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 09:08
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
calculation diverge after continue to run zhajingjing OpenFOAM 0 April 28, 2010 04:35


All times are GMT -4. The time now is 15:22.