|
[Sponsors] |
October 6, 2018, 22:04 |
How to convert .trn files to .cgns files
|
#1 |
Senior Member
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 10 |
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 |
|
October 7, 2018, 07:31 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
The solver manager has export capabilities. In the top-menu-bar look for Tools>Export Results
|
|
October 10, 2018, 18:38 |
|
#3 |
Senior Member
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 10 |
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? |
|
October 10, 2018, 19:19 |
|
#4 |
Senior Member
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 10 |
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 |
|
October 19, 2018, 03:12 |
|
#5 |
Senior Member
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13 |
Yes probably.
There is something like a -alltimesteps flag to get each trn result. |
|
October 21, 2018, 00:25 |
|
#6 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
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. |
|
|
|
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 07:38 |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 06:38 |
Possibility to convert P-cube files in Hexa Mesher | Seb | CFX | 0 | July 18, 2006 08:09 |
convert star files to fluent (couples) | azmir | FLUENT | 6 | May 6, 2004 05:56 |
How to convert .dwg into .igs files? | Juan | CFX | 3 | November 25, 2003 07:45 |