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

How to convert .trn files to .cgns files

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2018, 21:04
Default How to convert .trn files to .cgns files
  #1
Senior Member
 
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 9
cyln is on a distinguished road
Hello,

I am running a transient RANS simulation in CFX and outputting .trn files accordingly. My simulation is about to be completed. I would like to convert the written "trn" files to "cgns" files so that I can postProcess all the written transient files using macros in Tecplot. Basic tasks include time-averaging using all the written time-step files, probing property data at any point decided during postProcessing phase.

Cheers
Cyln
cyln is offline   Reply With Quote

Old   October 7, 2018, 06:31
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
The solver manager has export capabilities. In the top-menu-bar look for Tools>Export Results
Gert-Jan is offline   Reply With Quote

Old   October 10, 2018, 17:38
Default
  #3
Senior Member
 
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 9
cyln is on a distinguished road
When I do say "export results" as shown in the picture, I can only export surface results. I want to extract results for the whole domain as cgns files.

How can I extract results as cgns for the whole main?
Attached Images
File Type: jpg cgns.JPG (71.3 KB, 29 views)
cyln is offline   Reply With Quote

Old   October 10, 2018, 18:19
Default
  #4
Senior Member
 
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 9
cyln is on a distinguished road
As I am using CFX on linux, I figured this out:


In order to extract data from the .res file, I say:
cfx5export -cgns CFD_001.res
This exports the results from the last time step into a cgns file.

However, I want to extract data from transient files. When I say:
cfx5export -cgns CFD_001/1000.trn, it says

" Unable to initialize API: invalid topology.
An error has occured in cfx5export "

Is this because trn file does not include the mesh?

cyln
cyln is offline   Reply With Quote

Old   October 19, 2018, 02:12
Default
  #5
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
Yes probably.
There is something like a -alltimesteps flag to get each trn result.
AtoHM is offline   Reply With Quote

Old   October 20, 2018, 23:25
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
Follow Gert-Jan'ssuggestion. Use the ANSYS CFX Solver Manager, not ANSYS CFX-Pre.

There is a separate utility for export to multiple formats. Check the documentation for details.
Opaque is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Convert Tecplot DAT files to ParaView redable one B. R. Guirguis ParaView 7 September 8, 2023 06:38
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 05:38
Possibility to convert P-cube files in Hexa Mesher Seb CFX 0 July 18, 2006 07:09
convert star files to fluent (couples) azmir FLUENT 6 May 6, 2004 04:56
How to convert .dwg into .igs files? Juan CFX 3 November 25, 2003 06:45


All times are GMT -4. The time now is 21:03.