CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

how to calculate streamlines in matlab?

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

LinkBack Thread Tools Display Modes
Old   July 6, 2012, 20:07
Post how to calculate streamlines in matlab?
Join Date: Jun 2012
Posts: 61
Rep Power: 7
lbmagis is on a distinguished road
hello everybody,
well i am new in matlab and i am using it to simulate a flow by lattice boltzmann method; i obtained a figure(stream function) and dont know how to obtain the streamlines and values in order to compare my work with a benshmark.
please i need ur help:tell me please how to obtain streamlines from figure's matlab(stream function)
thank you very much
lbmagis is offline   Reply With Quote

Old   July 7, 2012, 22:21
Join Date: Jul 2011
Posts: 66
Rep Power: 8
houkensjtu is on a distinguished road
Matlab can draw streamline by itself with the built-in function: streamline. If you give it your velocity field, it can somehow draw a streamline picture.

BUT, in matlab streamline is NOT drawn by calculating stream function but by somehow like integrating a pathline. So if you want a real streamline picture, you should calculate stream function by yourself.
houkensjtu is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export/Import data contour plots with Matlab meangreen FLUENT 5 September 6, 2017 07:46
How to start Fluent with Matlab?? Jay Hu FLUENT 5 October 9, 2013 14:20
Plotting Streamlines Maciej Matyka Main CFD Forum 13 August 14, 2013 18:00
Streamlines under Moving reference frame; Spiral streamline from Tecplot aiqch Tecplot 2 October 30, 2009 00:27
STAR-CD, moving grid and streamlines Mohamed GUEROUACHE Main CFD Forum 1 September 13, 1999 13:33

All times are GMT -4. The time now is 17:09.