CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   OpenFOAM&MATLAB (https://www.cfd-online.com/Forums/openfoam/93761-openfoam-matlab.html)

usefkeyghobadi October 26, 2011 02:12

OpenFOAM&MATLAB
 
Hi engineer's
i want to use velocity data in matlab to solve boundary layer integral to get boundary layer thickness,
how i can save data in text file or type of file thet matlab & excel can read.

thanks

romant October 26, 2011 03:00

the easiest way it to use the post processing tool "sample" that is included in OpenFOAM.

with it you can get cell based data into text files. point or line wise and even isolines.

the best way is to check sampleDict by locating one on your hard drive with

Code:

locate sampleDict


All times are GMT -4. The time now is 07:40.