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

Plotting streamline with MATLAB

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 24, 2008, 00:35
Default Plotting streamline with MATLAB
  #1
CFD newbie
Guest
 
Posts: n/a
I've obtained velocity data (u,v,w) and grid data (x,y,z) which are in three columns respectively after running the FORTRAN codes.

Anyone know how to use MATLAB to plot the streamlines with these available data?

Thanks for help!!
  Reply With Quote

Old   December 24, 2008, 11:20
Default Re: Plotting streamline with MATLAB
  #2
otd
Guest
 
Posts: n/a
For 3-d problems, you need stream surfaces. Alternatively, you might consider streak lines that follow a 'fluid particle'. With this, you'd track a projection of the 3-d motion onto a 2-d surface.

That's as far as I can take you. I don't know anything about MATLAB - but at least you can ask the right question.
  Reply With Quote

Old   January 7, 2009, 04:11
Default Re: Plotting streamline with MATLAB
  #3
Jed
Guest
 
Posts: n/a
Matlab isn't very good for this sort of visualization. I would recommend ParaView or VisIt, both of which can produce high quality results. Probably the simplest approach is to put your data in VTK legacy format which can be read by ParaView and VisIt, among others.
  Reply With Quote

Old   January 7, 2009, 05:42
Default Re: Plotting streamline with MATLAB
  #4
Steve
Guest
 
Posts: n/a
I have always used comet and comet3 to animate trajectories. Maybe this, or some variant of it is what you are looking for?
  Reply With Quote

Old   January 7, 2009, 15:13
Default Re: Plotting streamline with MATLAB
  #5
Abraham K Varughese
Guest
 
Posts: n/a
I have also similar output data in following format from a fortran code:-

x,y,z,u,v,w,density,pressure,Mach_no,Temp.(10 coloumns)

I want to plot 3D streamline. My x,y,z are not uniformly spaced.. I also want obtain x,y,z vs Mach_no and Temp plot, Pr etc..

Please help..

How to convert above data set into "vtk" format in order use "paraview".

Abraham
  Reply With Quote

Old   January 7, 2009, 15:50
Default Re: Plotting streamline with MATLAB
  #6
Jed
Guest
 
Posts: n/a
http://vtk.org/pdf/file-formats.pdf
  Reply With Quote

Reply

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
Streamline plotting archer Main CFD Forum 0 April 6, 2011 10:54
Streamline plotting logic soggy316 Main CFD Forum 8 July 10, 2009 08:14
Plotting turbulent energy spectra in Matlab nathanpetrelli Main CFD Forum 2 April 24, 2009 22:57
MATLAB streamline plot new Main CFD Forum 0 December 3, 2008 04:47
Contour plotting with origin or matlab M. A. Waheed Main CFD Forum 0 November 1, 2005 03:42


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