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

Stop and Restart Solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2016, 06:30
Default Stop and Restart Solver
  #1
New Member
 
re
Join Date: Nov 2015
Posts: 20
Rep Power: 10
rere is on a distinguished road
Hiya

How do I stop and restart a solver?

Working on 1000 iterations and waiting for graph to show convergence, which is all taking so much time!

Thanks
rere is offline   Reply With Quote

Old   February 17, 2016, 10:34
Default
  #2
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
hit the stop button in solver manager and wait until the current time step is finished and the result file (*.res) is written to your hard drive.

to restart, select the result file from the stopped calculation as "Initial Values".
-Maxim- is offline   Reply With Quote

Old   February 17, 2016, 11:14
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
or press the Continue arrow on the Solver Manager toolbar.
Opaque is offline   Reply With Quote

Old   February 17, 2016, 11:24
Default
  #4
New Member
 
re
Join Date: Nov 2015
Posts: 20
Rep Power: 10
rere is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
hit the stop button in solver manager and wait until the current time step is finished and the result file (*.res) is written to your hard drive.

to restart, select the result file from the stopped calculation as "Initial Values".
okay, once I've closed and exited Ansys....what are the exact steps to restart?

Ta
rere is offline   Reply With Quote

Old   February 18, 2016, 02:11
Default
  #5
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
http://lmgtfy.com/?q=restart+solver+run+cfx

the second link leads to
ANSYS CFX-Solver Manager User's Guide

You press ctrl+f and search for 'restart'.


Last edited by -Maxim-; February 18, 2016 at 02:12. Reason: link
-Maxim- is offline   Reply With Quote

Old   February 18, 2016, 04:07
Default
  #6
New Member
 
re
Join Date: Nov 2015
Posts: 20
Rep Power: 10
rere is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
http://lmgtfy.com/?q=restart+solver+run+cfx

the second link leads to
ANSYS CFX-Solver Manager User's Guide

You press ctrl+f and search for 'restart'.

I had tried this with a previous simulation but the iteration count mentioned on the screen and the graph didn't match. The graph was showing UPTO 80 iterations and the solver had reached 321 at the time.
rere is offline   Reply With Quote

Old   February 18, 2016, 05:03
Default
  #7
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
I would guess you had your graph set to display 'this run only' or some fixed number of iterations and the out file showed the total number of iterations. It usually shows 'number of iterations of THIS run' in () right below it.

Last edited by -Maxim-; February 18, 2016 at 05:03. Reason: .
-Maxim- is offline   Reply With Quote

Old   February 18, 2016, 06:09
Default
  #8
New Member
 
re
Join Date: Nov 2015
Posts: 20
Rep Power: 10
rere is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
I would guess you had your graph set to display 'this run only' or some fixed number of iterations and the out file showed the total number of iterations. It usually shows 'number of iterations of THIS run' in () right below it.
In the Solver Control, I had iterations fixed --> min:1 and max: 1000 iterations, but I'd stopped it at 80 and when I attempted restart, it only showed the graph at 80 (not beyond) - however, the iteration continued. So, the graph and solver were not in sync
rere is offline   Reply With Quote

Old   February 18, 2016, 06:15
Default
  #9
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
can you provide screenshots of that? And the settings of the monitors? I am sure that this is just a problem with the settings of the monitors and/or the monitored variables.
-Maxim- is offline   Reply With Quote

Old   February 18, 2016, 07:54
Default
  #10
New Member
 
re
Join Date: Nov 2015
Posts: 20
Rep Power: 10
rere is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
can you provide screenshots of that? And the settings of the monitors? I am sure that this is just a problem with the settings of the monitors and/or the monitored variables.
This is another simulation, that hasn't yet been stopped but it shows you the graph to the left and the solving on the right.

The stopped simulation doesn't show that both are in sync (can't open that simulation, i DAREN'T STOP THIS ONE).

Regarding the settings (again, can't take screenshots) but these are the only steps:

Setup > Insert > Solver > Solver Control > Basic Settings > Convergence control > Maximum Iterations > 1000 > Convergence Criteria > Residual Target > 1e-5 > Apply > Close
Attached Images
File Type: jpg Screen Shot 2016-02-18 at 12.49.06.jpg (158.6 KB, 15 views)
rere is offline   Reply With Quote

Old   February 18, 2016, 08:04
Default
  #11
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
I am not talking about your convergence control settings, I am talking about the monitor settings. Right-click on the monitor (graph) and go to 'monitor properties'.

-Maxim- is offline   Reply With Quote

Old   February 18, 2016, 08:26
Default
  #12
New Member
 
re
Join Date: Nov 2015
Posts: 20
Rep Power: 10
rere is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
I am not talking about your convergence control settings, I am talking about the monitor settings. Right-click on the monitor (graph) and go to 'monitor properties'.

Please see attached
Attached Images
File Type: jpg derivedvariable.jpg (124.6 KB, 12 views)
File Type: jpg range.jpg (89.4 KB, 11 views)
File Type: jpg plotlines.jpg (93.1 KB, 10 views)
rere is offline   Reply With Quote

Old   February 18, 2016, 08:28
Default
  #13
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
yeah, that would now be interesting for the monitors that were/are 'out of sync'. Take your time, finish your current simulation and then try to restart the other one again and check if your sync problem still exists.
-Maxim- is offline   Reply With Quote

Old   March 3, 2016, 04:53
Default
  #14
New Member
 
re
Join Date: Nov 2015
Posts: 20
Rep Power: 10
rere is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
yeah, that would now be interesting for the monitors that were/are 'out of sync'. Take your time, finish your current simulation and then try to restart the other one again and check if your sync problem still exists.
still exists.
rere is offline   Reply With Quote

Old   March 3, 2016, 05:04
Default
  #15
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
some more information would be nice.
Which setting did you use in the define run - initial values window?
-Maxim- 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
Strange rhoCentralFoam behavior after restart... vkrastev OpenFOAM Bugs 27 November 19, 2013 12:04
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
functionObject Probe: it's possible to stop and restart? ivan_cozza OpenFOAM Post-Processing 0 September 28, 2010 04:42
ReactingFoam solver restart gcollecutt OpenFOAM Running, Solving & CFD 0 August 9, 2007 05:30
UDF:How stop and restart particle tracking? Adriano FLUENT 2 May 31, 2006 12:14


All times are GMT -4. The time now is 16:03.