CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

how to calculate streamlines in matlab?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2012, 20:07
Post how to calculate streamlines in matlab?
  #1
Member
 
amine
Join Date: Jun 2012
Posts: 65
Rep Power: 13
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
Default
  #2
Member
 
HouKen
Join Date: Jul 2011
Posts: 67
Rep Power: 14
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

Reply


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
How to start Fluent with Matlab?? Jay Hu FLUENT 8 November 9, 2022 06:30
Export/Import data contour plots with Matlab meangreen FLUENT 11 October 28, 2020 10:06
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 21:20.