CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Restart from .bak file (http://www.cfd-online.com/Forums/cfx/26234-restart-bak-file.html)

Joshua Brinkerhoff August 8, 2008 10:19

Restart from .bak file
 
Hello,

How can I restart a crashed simulation using the last back-up file (.bak)? My simulation is a distributed parallel run between 13 processors running Linux, and I start it from the command line using a shell script. Thanks!

Sans August 9, 2008 01:10

Re: Restart from .bak file
 
Hi, On windows, if its a full backup file just rename your .bak file to .res and you can restart.

Joshua Brinkerhoff August 9, 2008 10:30

Re: Restart from .bak file
 
Hi, thanks for your response. You say "if its a full backup file." Does this mean including all the variables or does it mean just the primitive variables (P,u,v,w) and the mesh? Thanks!

underGroundMan August 11, 2008 06:59

Re: Restart from .bak file
 
on linux use the mv command to change "bak" to "res".

Regards

brunoc August 11, 2008 18:00

Re: Restart from .bak file
 
No need renaming the file. You can just start the solver using the backup:

cfx5solve -def File.def -ini iteration.bak

Off course it will only "restart" the variables available on the backup file. So, if you only saved P, U, V, W, these will be the only variables "restarted".



All times are GMT -4. The time now is 08:05.