|
[Sponsors] |
October 6, 2018, 21: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, 06:31 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,895
Rep Power: 28 |
The solver manager has export capabilities. In the top-menu-bar look for Tools>Export Results
|
|
October 10, 2018, 17: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, 18: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, 02:12 |
|
#5 |
Senior Member
M
Join Date: Dec 2017
Posts: 694
Rep Power: 12 |
Yes probably.
There is something like a -alltimesteps flag to get each trn result. |
|
October 20, 2018, 23:25 |
|
#6 |
Senior Member
Join Date: Jun 2009
Posts: 1,858
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |