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

Transient Results File Reading using MATLAB

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2017, 04:50
Question Transient Results File Reading using MATLAB
  #1
New Member
 
Faber Yosua Octavianus
Join Date: Jun 2017
Posts: 2
Rep Power: 0
abrosua is on a distinguished road
Hello guys, i'm working on FSI project of a transient bending wing analysis.

I want to obtain the aerodynamics characteristics (example: CL, CD and Cm) and also the spanwise lift distribution of the results for each time steps.
I also want to use MATLAB to access and read the output file from the CFX, so that I can process the results that I need using MATLAB, such as plotting the graph, etc.

Do you guys have any suggestions or references in order to solve this case?
Thank you for your attention.
Regards
abrosua is offline   Reply With Quote

Old   November 21, 2017, 10:11
Default
  #2
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 414
Rep Power: 11
-Maxim- is on a distinguished road
1. create monitor points for the desired variables (cl, cd, etc.)
2. use command line tool "cfx5mondata" to save monitor points as *.csv (look up the use of cfx5mondata in the manual/help or search this forum).
3. import the *.csv in Matlab

That's my work flow as well. All handling of the data (averaging, calculations, creating&saving graphs, writing Excel files, etc.) is done with some Matlab routines I've written myself.
-Maxim- is offline   Reply With Quote

Old   November 23, 2017, 05:10
Default
  #3
New Member
 
Faber Yosua Octavianus
Join Date: Jun 2017
Posts: 2
Rep Power: 0
abrosua is on a distinguished road
Quote:
Originally Posted by -Maxim- View Post
1. create monitor points for the desired variables (cl, cd, etc.)
2. use command line tool "cfx5mondata" to save monitor points as *.csv (look up the use of cfx5mondata in the manual/help or search this forum).
3. import the *.csv in Matlab

That's my work flow as well. All handling of the data (averaging, calculations, creating&saving graphs, writing Excel files, etc.) is done with some Matlab routines I've written myself.
Thanks for your suggestions, it really helps.
Another question, what if I want to extract the data outside the monitor points? Are there any methods to obtain it simultaneously?

Regards
abrosua is offline   Reply With Quote

Old   November 23, 2017, 05:13
Default
  #4
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 414
Rep Power: 11
-Maxim- is on a distinguished road
You're welcome.
What kind of data outside the monitor points are you thinking of?
via cfx5mondata -showvars you can see all possible variables, that the mondata routine can extract.
-Maxim- is offline   Reply With Quote

Reply

Tags
cfx, fsi, matlab codes for cfd, transient

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


All times are GMT -4. The time now is 04:35.