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

Stop computation when 0 iterations in every loop

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2016, 13:02
Default Stop computation when 0 iterations in every loop
  #1
Member
 
fouad abi
Join Date: Nov 2015
Location: Geneva, Switzerland
Posts: 42
Rep Power: 11
faab is on a distinguished road
Send a message via Skype™ to faab
Dear FOAMers,

I am working with a multi region solver and I would like to know whether there is a way to force the computation to stop when the number of iterations in every region is 0 (the solver is not solving anything anymore) ? Playing with the restrictions for the residuals may do the trick but I need to know if there is a way to do it without having to make a guess on the final residuals.

Thanks a lot.
faab is offline   Reply With Quote

Old   April 1, 2016, 09:36
Default
  #2
Member
 
fouad abi
Join Date: Nov 2015
Location: Geneva, Switzerland
Posts: 42
Rep Power: 11
faab is on a distinguished road
Send a message via Skype™ to faab
No one has a suggestion ? Would you know how to access the variable solverPerformance.nIterations() from the solver so I can extract it in my main and work something out from this ?
Thank you.
faab 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
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 06:55
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 12:16


All times are GMT -4. The time now is 00:02.