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

how to calculate streamlines in matlab?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2012, 20:07
Post how to calculate streamlines in matlab?
Join Date: Jun 2012
Posts: 65
Rep Power: 12
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: 67
Rep Power: 13
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 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
Export/Import data contour plots with Matlab meangreen FLUENT 11 October 28, 2020 10:06
How to start Fluent with Matlab?? Jay Hu FLUENT 6 November 10, 2018 03: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 29, 2009 23: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 11:40.