|
[Sponsors] |
November 21, 2017, 05:50 |
Transient Results File Reading using MATLAB
|
#1 |
New Member
Faber Yosua Octavianus
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
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 |
|
November 21, 2017, 11:11 |
|
#2 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
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. |
|
November 23, 2017, 06:10 |
|
#3 | |
New Member
Faber Yosua Octavianus
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
Quote:
Another question, what if I want to extract the data outside the monitor points? Are there any methods to obtain it simultaneously? Regards |
||
November 23, 2017, 06:13 |
|
#4 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
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. |
|
Tags |
cfx, fsi, matlab codes for cfd, transient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |