CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Restart from .bak file (

Joshua Brinkerhoff August 8, 2008 10:19

Restart from .bak file

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".


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:22.