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

CFX Post: .trn files bunching?

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 3 Post By Lance
  • 1 Post By Lance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2012, 07:13
Default CFX Post: .trn files bunching?
  #1
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15
user_of_cfx is on a distinguished road
Hello,

I ran a transient simulation that went on for about 1000 timesteps. Unfortunately the simulation timed out (I ran it on a cluster) about 300 timesteps before the end without a .res file but with the .trn files for each timestep up to that point saved as usual.

I decided to rerun the simulation starting from the last _full.trn file and collected the rest of the .trn files.

The question is, can I put the .trn files of the first part of the simulation in the folder of the second part and post process all the timesteps in one go? I need to extract time-averaged values so I need all the timesteps bunched in the same folder for my results.

I tried just copying the first-part trn files into the folder, but CFX Post will only read the second-part timesteps.

Any help that will save me from re-running the whole thing will be greatly appreciated.

Cheers,
UoCFX
user_of_cfx is offline   Reply With Quote

Old   March 20, 2012, 07:46
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Coying all .trn files to the same folder should work, otherwise you can add the missing time steps in Post, under the timestep selector/add timesteps

Or load the first part (File/load results file), then do the same again but for the second part and check the "keep current cases loaded" and uncheck "open in new view"
Lance is offline   Reply With Quote

Old   March 20, 2012, 07:51
Default
  #3
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15
user_of_cfx is on a distinguished road
Hi Lance,

Thank you for your quick reply.

Adding timesteps in Post timestep selector did work, but putting them in the same folder initially did not. Do you know why that would be?

I am quite sure I did something similar with Ensight about a year ago and it worked, so I was quite surprised it didn't work with either Post or Ensight this time. Is there some setting I could change?

Many thanks again. Cheers, Christa
user_of_cfx is offline   Reply With Quote

Old   March 20, 2012, 07:59
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Hi,
hum, no, cant think of any setting you should change.
Why not use File/load results, select the last file, and check "load complete history as a single case".
hanischt likes this.
Lance is offline   Reply With Quote

Old   March 20, 2012, 08:11
Default
  #5
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15
user_of_cfx is on a distinguished road
That worked too, thanks!

Any idea how to do the same thing in Ensight too? (if you are familiar with that pain of a software of course)

Ensight does not recognise .trn files, not even full.trn files, just .res, but I have no .res file from the first run because it timed out without creating one.
user_of_cfx is offline   Reply With Quote

Old   March 20, 2012, 08:15
Default
  #6
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
I know some ensight, but have never used it with cfx. But I think you can rename the .trn file to .res instead - ensight should be able to read it then.

Or open the solver, tools, export results, export to ensight format.
Lance is offline   Reply With Quote

Old   March 20, 2012, 08:48
Default
  #7
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15
user_of_cfx is on a distinguished road
I can't find an export format in Post that is compatible with Ensight

The renaming of a full.trn to .res works just like a .res file, but it will still only load the 250 or so timesteps of the second part of the simulation. I have an inkling that the fact that some of the timesteps I saved as _full.trn confuses the Ensight into thinking that's where the simulations began or something. I will remove the fulls and see what happens.

I'll keep working on it, if I ever find a solution to it I will post it here.

Many thanks again!
user_of_cfx is offline   Reply With Quote

Old   March 20, 2012, 10:57
Default
  #8
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by user_of_cfx View Post
I can't find an export format in Post that is compatible with Ensight
Open the solver, not post.
Lance is offline   Reply With Quote

Old   March 20, 2012, 11:16
Default
  #9
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15
user_of_cfx is on a distinguished road
Oh sorry... still, in the export window only the post-timeout .trn files are available.
user_of_cfx is offline   Reply With Quote

Old   December 3, 2015, 04:48
Default
  #10
New Member
 
Tobias Seidel
Join Date: Dec 2015
Posts: 1
Rep Power: 0
tobiasseidel is on a distinguished road
This page describes well how to combine several .res files before importing in post:
https://support.ceisoftware.com/hc/e...iple-res-files
tobiasseidel is offline   Reply With Quote

Reply

Tags
cfx post 13, trn file


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
Transient animation performance in CFX 5.5 POST Sjoerd Romkes CFX 8 February 5, 2013 14:53
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
Converting ANSYS CFX files to Fluent files Martin S. Rasmussen FLUENT 3 January 30, 2007 15:08


All times are GMT -4. The time now is 18:16.