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

CFX Post: .trn files bunching?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2012, 08:13
Default CFX Post: .trn files bunching?
  #1
New Member
 
Christa
Join Date: Apr 2011
Posts: 27
Rep Power: 6
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, 08:46
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 540
Rep Power: 11
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, 08:51
Default
  #3
New Member
 
Christa
Join Date: Apr 2011
Posts: 27
Rep Power: 6
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, 08:59
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 540
Rep Power: 11
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".
Lance is offline   Reply With Quote

Old   March 20, 2012, 09:11
Default
  #5
New Member
 
Christa
Join Date: Apr 2011
Posts: 27
Rep Power: 6
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, 09:15
Default
  #6
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 540
Rep Power: 11
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, 09:48
Default
  #7
New Member
 
Christa
Join Date: Apr 2011
Posts: 27
Rep Power: 6
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, 11:57
Default
  #8
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 540
Rep Power: 11
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, 12:16
Default
  #9
New Member
 
Christa
Join Date: Apr 2011
Posts: 27
Rep Power: 6
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

Reply

Tags
cfx post 13, trn file

Thread Tools
Display Modes

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 On
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 15:53
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
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 16:08


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