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

how to recover trn files after crash?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2004, 06:28
Default how to recover trn files after crash?
  #1
pi
Guest
 
Posts: n/a
Hello everybody, my problem arises after the host crashed during a long transient simulation before to complete it. I set backups with an interval of 100 iterations (about 1 day) and just a few variables in the most often trn files. The thing is that the last backup occured quite before the crash so I have many trn files after it. For example: my last backup is 600_full.bak and there are trn's since then up to 689.trn. Iīd like to post these last 89 timesteps data too. When I try to load them from post it is impossible to open them unless a bak or res file is written after the last trn.

Is there any trick or roundabout to visualize those trn?

Thanks you

pi
  Reply With Quote

Old   August 24, 2004, 01:35
Default Re: how to recover trn files after crash?
  #2
deLuther
Guest
 
Posts: n/a
You can postprocess result by joining .def file with .trn like for partition files. i.e. On UNIX systems: cat filename.def *.trn > newfilename.res On Windows systems type: copy /b filename.def + *.trn newfilename.res where *.trn is your .trn file. You only can do it for one .trn file per time. i.e. for each .trn file you need to create it`s own .res file and postprocess by one unlike with normal result file.
  Reply With Quote

Old   August 24, 2004, 05:20
Default Re: how to recover trn files after crash?
  #3
pi
Guest
 
Posts: n/a
Hi deLuther, I donīt know if this way is practical for many files but perhaps it might be useful in the future. Thanks for the answer.

pi
  Reply With Quote

Old   August 25, 2004, 01:20
Default Re: how to recover trn files after crash?
  #4
deLuther
Guest
 
Posts: n/a
Hi pi, I also think that this way is not very practical but sometimes to see solution after crash it can be the only way. At least you can restart from such file, of course if file contain essential variables to restart run.

deLuther
  Reply With Quote

Old   August 25, 2004, 06:45
Default Re: how to recover trn files after crash?
  #5
jasper
Guest
 
Posts: n/a
Hi Pi,

You can also cheat post by copying a .res file from a different run that went beyond the number of timesteps of the run that crashed. Having read this results file into post you can then load all timesteps up to the crash.

The .res file from transient runs provides a framework for the reduced .trn files to be read and apparently keeps track of the numbers of these .trn files. It would be convenient to be able to modify the .res file in that respect, but it is coded.

Cheers,

Jasper.
  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
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
CFX crash recovery, is there a way to merge mon and trn files? jrl4444 CFX 1 October 30, 2010 12:52
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21


All times are GMT -4. The time now is 19:25.