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

HELP PLEASE! CFX Solver run ended abruptly due to power blackout

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2016, 23:18
Default HELP PLEASE! CFX Solver run ended abruptly due to power blackout
  #1
Member
 
Roberto
Join Date: Feb 2015
Posts: 33
Rep Power: 11
RobBanks is on a distinguished road
Hello readers.

I have a problem here. I was running a simulation in CFX Solver and then there was a blackout and it ended abruptly without finishing appropiately. There is still some information there but I cannot restart the run from the point it ended unexpectedly. I know there still information because when I select to monitor a CFX Solver run in progress icon and choose the directory of the run that was going on, I can see in the monitor workspace all the graphics and the outer loop iterations that were taking place, up to the very moment the blackout happened, so there is information there.

All I have now is the .dir file and the .out file but no .res .trn or .bak file to use.

This run had been going on for 5 days now and I really want to recover most of the data if it is not possible to recover it completely.

Any advice, tip or information on this topic would be really appreciated, as 5 days of work are too much time to be just ignored...

Thanks in advance for any help you can provide.
RobBanks is offline   Reply With Quote

Old   May 13, 2016, 01:31
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
If there are no .trn, .res or .bak files in the folder I think you are out of luck. The reason you see monitors and information on iterations is that they are written to other files (mon and *.out).

A five day simulation without intermediate backup files sounds... risky.
Lance is offline   Reply With Quote

Old   May 13, 2016, 05:57
Default
  #3
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 13
-Maxim- is on a distinguished road
I guess the lesson here is: always write .trn files - especially when you live/work in a building/area/country where power outages are a thing.
-Maxim- is offline   Reply With Quote

Old   May 13, 2016, 08:07
Thumbs up Thanks for your replies
  #4
Member
 
Roberto
Join Date: Feb 2015
Posts: 33
Rep Power: 11
RobBanks is on a distinguished road
-Maxim- & Lance, thanks for your quick responses and helpful info.

I've been suspecting what you have replied... Thanks for for your help. I'll just have to keep on and restart the work.

I'm quite new to this so, how do I create .trn files? I guess that to create .bak files I'll just have to click on the "save icon" in the solver while the run is ongoing and it will create a .bak file on the timestep that is being run, am I wrong?

What is the difference between .trn and .bak files?

Thanks for your help to those of us who are beginners. http://www.cfd-online.com/Forums/ima...ons/icon14.gif
RobBanks is offline   Reply With Quote

Old   May 13, 2016, 08:12
Default
  #5
Member
 
Roberto
Join Date: Feb 2015
Posts: 33
Rep Power: 11
RobBanks is on a distinguished road
Quote:
Originally Posted by Lance View Post
If there are no .trn, .res or .bak files in the folder I think you are out of luck. The reason you see monitors and information on iterations is that they are written to other files (mon and *.out).

A five day simulation without intermediate backup files sounds... risky.
Isn't any procedure I can follow to save or use the information that is still there? because on the "pending tasks" directory file that was created after the blackout ended the simulation, there are more files than the ones in the .dir of the corresponding simulation... I don't know, I just thought there would be a way to somehow retrieve some of the data...
RobBanks is offline   Reply With Quote

Old   May 13, 2016, 08:22
Default
  #6
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 13
-Maxim- is on a distinguished road
Quote:
Originally Posted by RobBanks View Post
I'm quite new to this so, how do I create .trn files? I guess that to create .bak files I'll just have to click on the "save icon" in the solver while the run is ongoing and it will create a .bak file on the timestep that is being run, am I wrong?
In Pre, go to 'Output Control' --> Trn Results --> create new 'Transient Results 1', select variables of interest, and choose an output frequency. I, for example, have every set 5 Timesteps (Timestep Interval). Check 'Include Mesh' in case you would like to work with the *.trn results. (For example have a look in Post at the *.trn files while the simulation is still running) Each *.trn file gets bigger when you include the mesh, though. In my case, each *.trn file is 1.5GB. So use that option according to your calculation time and hard drive space. 5 timesteps with 5 inner loops are 30 minutes calculation time in my case.

Pressing the 'save' button in solver manager creates a backup file for the timestep you are currently on but I am sure you don't want to set your alarm every half hour at night to press that button
Quote:
Originally Posted by RobBanks View Post
What is the difference between .trn and .bak files?
For steady state, it is called 'Backup' in Pre and creates *.bak files.
-Maxim- is offline   Reply With Quote

Old   May 13, 2016, 08:24
Default
  #7
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 13
-Maxim- is on a distinguished road
Quote:
Originally Posted by RobBanks View Post
Isn't any procedure I can follow to save or use the information that is still there? because on the "pending tasks" directory file that was created after the blackout ended the simulation, there are more files than the ones in the .dir of the corresponding simulation... I don't know, I just thought there would be a way to somehow retrieve some of the data...
no, the calculation results are saved in *.bak, *.trn and *.res files. That's why those files are bigger. If you don't have any of those, you are out of luck.
The other files are just control files and log files for the solver.
-Maxim- is offline   Reply With Quote

Old   May 14, 2016, 14:43
Default
  #8
Member
 
Roberto
Join Date: Feb 2015
Posts: 33
Rep Power: 11
RobBanks is on a distinguished road
Thank you, -Maxim- for your helpful replies.

You have given me information I did not know and that I intend to put into practice.

I learnt how to create backup and transient result files now. Hope this helps me to prevente losses again.

Thanks a lot!
RobBanks is offline   Reply With Quote

Old   May 18, 2016, 22:55
Default
  #9
Member
 
Roberto
Join Date: Feb 2015
Posts: 33
Rep Power: 11
RobBanks is on a distinguished road
Thanks -Maxim- & Lance for your help, I've got another question: after finishing a run, it saves all the .trn files in a directory under the same name as the recently ended run.

After it ends, and after I already get the .out and the .res files for the run, may I delete the directory which contains all the .trn files? or will it affect the completed run somehow?

I ask because there are so many .trn files and the directory is 11,8 GB size, so... it is quite much! I would like to delete them... Is it adviceable to do so?
RobBanks is offline   Reply With Quote

Old   May 19, 2016, 01:56
Default
  #10
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 13
-Maxim- is on a distinguished road
I think you can delete them without any problems BUT:
With ONLY the *.res file, you only have the full result of the LAST timestep. In case you want to do animations or examine other timesteps, you will need the *.trn files. For example when you want to make an animation of how your vortices build up and move downstream and disperse again etc.

In my project, the *.res file alone is 12 GB and the folder with the *.trn files is 200-300 GB
-Maxim- is offline   Reply With Quote

Old   May 19, 2016, 12:43
Default
  #11
Member
 
Roberto
Join Date: Feb 2015
Posts: 33
Rep Power: 11
RobBanks is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
I think you can delete them without any problems BUT:
With ONLY the *.res file, you only have the full result of the LAST timestep. In case you want to do animations or examine other timesteps, you will need the *.trn files. For example when you want to make an animation of how your vortices build up and move downstream and disperse again etc.

In my project, the *.res file alone is 12 GB and the folder with the *.trn files is 200-300 GB
Ok, thanks... Wow so 11.8 GB is not quite as much as I thought haha
RobBanks 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
CFX Solver Reynolds Number haider760 CFX 2 March 4, 2012 22:05
viewing cfx post while working on cfx solver manager HMR CFX 5 March 9, 2011 22:33
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
How to make the solver of CFX run automate Jane CFX 4 April 10, 2006 14:42
CFX 5.5 Roued CFX 1 October 2, 2001 16:49


All times are GMT -4. The time now is 20:31.