|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Andrea
Join Date: Mar 2018
Posts: 62
Rep Power: 8 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Andrea
Join Date: Mar 2018
Posts: 62
Rep Power: 8 ![]() |
Thank you very much. Of course i'll use matlab
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
M
Join Date: Dec 2017
Posts: 692
Rep Power: 12 ![]() |
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.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 |