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

CFD-POST / Timehistory variable in Plane

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2019, 06:17
Default CFD-POST / Timehistory variable in Plane
  #1
Member
 
Andrea
Join Date: Mar 2018
Posts: 62
Rep Power: 8
Andrea159357 is on a distinguished road
Hello everyone,
I would like to extract a file with node/cell variable value located in a plane, for each time step.
I know how to do it for a single time step. though i have 500.

Can someone help me?

Thanks
Andrea159357 is offline   Reply With Quote

Old   July 25, 2019, 06:47
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12
AtoHM is on a distinguished road
Assuming you have some other software to efficiently collect the data, you can use session files to extract the values. Set a new session file in the cfx post menu and give it a name and place to store. Then prepare your state - set up your plane.

Then export the values you need with File->Export and export to csv. Then load another time step. Now you can end the session.

With any text editor you are able to adjust the session file. It should contain already the commands corresponding to the actions you took before: creating a plane, exporting stuff and changing the time step. This gives you the syntax you need to export all the data. You probably wouldnt create the session file containing 500 "change timestep"-commands by hand. I did use Matlab once, excel might be possible as well. Something that can perform iterations will do the trick.
When you are done you can load the results and start the session and hopefully cfx exports each timestep in a separate csv file.
If you are looking only for special values like min/max/avg you should create a mesh region while meshing and monitor these values there.
AtoHM is offline   Reply With Quote

Old   July 25, 2019, 08:28
Default
  #3
Member
 
Andrea
Join Date: Mar 2018
Posts: 62
Rep Power: 8
Andrea159357 is on a distinguished road
Thank you very much. Of course i'll use matlab
Andrea159357 is offline   Reply With Quote

Old   July 25, 2019, 10:00
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12
AtoHM is on a distinguished road
Good choice. I remember some difficulties when writing the session file with matlab: cfx (was version 17 i think) was sensitive to the line breaks used. Maybe thats some obstacle you experience. Try different types of line breaks I cant remember which worked.
AtoHM 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
cfd post average of multiple planes into single plane bolus13 CFX 4 November 22, 2016 02:19
CFD post - Creating moving plane hossein_sml ANSYS 0 October 30, 2016 04:06
Outputting the Particle Re to CFD Post cvh CFX 0 April 12, 2016 00:13
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
Post, Calculate Variable in plane Kordou CFX 1 October 14, 2008 16:39


All times are GMT -4. The time now is 20:36.