Plotting streamline with MATLAB
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!! |
Re: Plotting streamline with MATLAB
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. |
Re: Plotting streamline with MATLAB
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.
|
Re: Plotting streamline with MATLAB
I have always used comet and comet3 to animate trajectories. Maybe this, or some variant of it is what you are looking for?
|
Re: Plotting streamline with MATLAB
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 |
Re: Plotting streamline with MATLAB
|
Regarding Separatrix or Phase Portrait line plot on Streamlines
I would like to know if we can overlay the phase portrait(separatrix line) line on streamlines. I have a 2D matrix through which I could generate streamlines. Now I would like to generate a phase portrait line on top of it.
Can anyone suggest, how to obtain it? The problem is I don't have an equation rather I have 2D matrix Thanking you |
All times are GMT -4. The time now is 01:20. |