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

chtMultiRegionSimpleFoam does not write converged time step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2017, 16:31
Default chtMultiRegionSimpleFoam does not write converged time step
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Post from jaydeep (opened a new thread for that)...

Hi Tobi,

A bit unrelated, but since you probably know the answer to this - in V5.0 chtMultiRegion seems not to write out converged timestep.


I am using the same controlDict from tutorials
Code:
application     chtMultiRegionSimpleFoam;

startFrom       latestTime; 

startTime       0;

stopAt          endTime;

endTime         25000;

deltaT          1;

writeControl    adjustableRunTime;

writeInterval   50;

purgeWrite      1;

writeFormat     binary;

writePrecision  10;

writeCompression uncompressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  yes;
Any suggestions?


My feedback:
Actually, you use a steady-state solver. The adjustRunTime should not do anything here. However, I did not get your point. Based on your controlDict, Foam should write out each 50th iteration and if you have the 100, it should remove the 50th one. It would be nice if you can tell us which controlDict it is. Based on adjustRunTime and adjustTimeStep it should not be a tutorial from the chtMu..:SIMPLEFoam solver. Or maybe I missed something?

2nd post:

I realized I used controlDict from one of my other simulations...

What I am observing is:
Say my write control writes out 50, 100 .. Assume that convergence is obtained at 56, now the solver should write out 56. This happens in V4.1 but not V5.0.

(all setup files remain the same)
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 9, 2017, 16:36
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey jaydeep,

I got your point. You meat the following. If one saves only each 1000 iteration but the solver converges after 143 iterations, this one should be saved definitely. I made a check and you are right, the OpenFOAM Dev version do not save the latest time step anymore. I will check it and make a patch for that.

Thanks for reporting.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 9, 2017, 16:41
Default
  #3
Member
 
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 11
jaydeep is on a distinguished road
Thanks!! Appreciate your quick response.
jaydeep is offline   Reply With Quote

Old   October 9, 2017, 16:44
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

I wanted to change the convergence control that I build for 5.0 anyway because I want to have an output of the residual control at the beginning for the log files. If one have different settings, the log file will not show which residual controls were used. It could be, that my implemented residual control is the problem right now. Henry put it into the latest version, so maybe I did a bad job

Give me one or two days. I will reply after I got the patch.

Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 10, 2017, 18:45
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

tomorrow I check my new implementation of the residual control for the log files. Seems to work fine but I have to make further tests. I will tell Henry to update the dev repo with the new files. However, I also fixed the problem with the converged time step. You can get the information here: https://bugs.openfoam.org/view.php?id=2720
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 13, 2017, 12:07
Default
  #6
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Resolved in OpenFOAM-5.x by commit 65e6081e233698126ae8c5bf631c6df358c63b14

Resolved in OpenFOAM-dev by commit 50bedbb217fbc4c7a278838f53615e5136e0e5bd
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 14, 2017, 12:41
Default
  #7
Member
 
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 11
jaydeep is on a distinguished road
Thanks Tobi. I saw the update on Issue Tracking.
jaydeep 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
time step continuity problem in VAWT simulation lpz_michele OpenFOAM Running, Solving & CFD 5 February 22, 2018 20:50
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 03:34
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 08:56


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