CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   auto-savig the results , .res files (

mortazavi June 22, 2009 00:50

auto-savig the results , .res files
hi friends:
how can i save my cfx results before the run finishes manualy or automaticaly?i mean i want not to loose my results for example when the system turns off suddenly and i want to use my results as the initial file for the next restart run!!

ckleanth June 22, 2009 06:22

obviously you need to set the output control to create bak and what information you want on the res files. with version 12 its a bit of a mess realy to find the bak files. all simulation files are saved (that includes def bak and res files on your temp directory) and once the simulation s finished and saved they are copied on your working directory. i dont particulary like that much automation and I only create the mesh on workbench and fire up cfx on its own.

ghorrocks June 22, 2009 07:10


You can save backup files (if steady state) or full transient output files (is transient) by the settings on the output tab in CFX-Pre. You can set them by various time increments or iteration number or whatever.

If you want to do a backup of a run currently going then press the backup button. That will do a backup file at the end of the current iteration (if steady state) or time step (if transient).

Glenn Horrocks

ckleanth June 22, 2009 08:14

glenn i think if you run a simulation within workbench it deletes the backup files once you complete and save a simulation

ghorrocks June 22, 2009 18:48


I don't run CFX inside WB. That is one reason why.

Glenn Horrocks

mortazavi June 24, 2009 05:06

i have .bak and . trn files...but they can not be used as the initial files for the next restart???

ghorrocks June 24, 2009 08:00


.bak and .trn files CAN be used for initial conditions, but only if they contain all necessary variables. If you only select a few variables in your trn files then you will not have enough to define an initial condition and it won't work.

Glenn Horrocks

All times are GMT -4. The time now is 17:28.