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

Help with efficiently exporting data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2018, 23:40
Default Help with efficiently exporting data
  #1
New Member
 
Nick Thomas
Join Date: Sep 2018
Posts: 27
Rep Power: 7
nick.l.thomas is on a distinguished road
I am looking for feedback and suggestions on the way I'm currently exporting transient data. I am analyzing flow over rotating cylinders and want primarily to retain pressure, velocity in stn frame, vorticity, and lift and drag coefficient data.
In Pre I am set to output cgns and trn files every .2s, although the cgns from this proved to be difficult to use since it only exports surface data. My batch code currently has the following:

cfx5solve to export the .trn

cfx5export to export .cgns for the entire domain every .2s. -user "3" to output the third level of data, including vorticity which I need

cfx5mondata to export lift and drag coefficient data (monitors) to a .csv

I feel that I'm being very inefficient as I wind up with very large amounts of data simply trying to get a few variables. I'm importing all the .cgns files to Tecplot at once to get the animations and contours, which takes a lot of time (maybe necessary?). And I wind up with a million parameters I don't want or need (from the "-user "3"" command to get vorticity data).

I also still don't fully understand the need for .trn files. From what I read they are essentially backup files for transient runs that are used for restarts - but can't a restart be done simply using the .res file?

I'm pretty new to using batch code and getting transient results with CFD so forgive me if I'm missing something obvious, but any advice for simplifying this process while still getting the results I need?
nick.l.thomas is offline   Reply With Quote

Old   November 28, 2018, 00:26
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It all depends on exactly what data you need in your post processor. It looks like in your case you could greatly reduce the data quantity by:
* using "selected variables" only in the trn files
* including the surfaces of interest in the trn files only
* importing CFX trn or res files directly into Tecplot rather than cgns
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 28, 2018, 13:23
Default
  #3
New Member
 
Nick Thomas
Join Date: Sep 2018
Posts: 27
Rep Power: 7
nick.l.thomas is on a distinguished road
Thanks for the response Glenn. One question - I am able to import the res file directly to Tecplot but it only contains the final timestep. I can't figure out how to load any of the .trn files alone, or in conjunction with each other or the .res file. Is there a good way to do this?
nick.l.thomas is offline   Reply With Quote

Old   November 28, 2018, 16:52
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I am guessing here, but Tecplot can probably read the trn files if you use the "include mesh" option when you set up the CFX job in the Output tab.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply


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
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times vidyadhar ParaView 9 May 20, 2020 20:06
UDF value to large for defined data type Anna73 Fluent UDF and Scheme Programming 9 September 30, 2018 22:18
Exporting Particle Data prX411 CFX 4 April 3, 2018 12:00
Ansys CFD-Post: exporting chart data wissal ANSYS 2 October 29, 2017 05:19
Exporting data to MATLAB Ryan FLUENT 2 July 12, 2006 06:41


All times are GMT -4. The time now is 01:09.