No BSD License  

Highlights from
TriStream

5.0

5.0 | 5 ratings Rate this file 18 Downloads (last 30 days) File Size: 78.4 KB File ID: #11278
image thumbnail

TriStream

by

 

02 Jun 2006 (Updated )

Compute streamlines on triangular mesh

| Watch this File

File Information
Description

TRISTREAM Trace streamlines on a triangular mesh using nodal velocities

  FlowP=TriStream(tri,x,y,u,v,x0,y0) computes streamlines on the triangular mesh specified by tri with nodal coordinates [x,y]. Streamlines are traced using the nodal velocities u and v, and one streamline is produced for each seed point in the input vectors [x0,y0]. Streamlines are traced until one of four conditions is met: 1) The particle travels beyond the mesh. 2) The particle intersects its own path, creating a cycle. 3) The particle enters a stagnant zone (U~V~0). 4) A maximum number of iterations is exceeded. The output of TRISTREAM is a structure array, FlowP, containing particle flowpaths, and can be displayed using PLOTTRISTREAM.

  Algorithm:
TRISTREAM follows the approach outlined in the paper "Efficient Streamline Computations on Unstructured Grids" by Mihai Dorobantu
http://citeseer.ist.psu.edu/40044.html
This algorithm uses a second-order Runge-Kutta method to integrate particle paths with adaptive pseudo-time-stepping.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
10 Jan 2013 Romain W

Hello Matthew, I was wondering how hard would it be to adapt this to 3D triangular mesh?

21 Feb 2012 ali

Thanks I needed this, and I think you can propose to include this in pdetoolbox because this is a major thing pdetoolbox doesn't have..

19 Oct 2011 illoul lounes  
19 Oct 2011 illoul lounes  
26 Dec 2010 Diablo

This is just what i needed many thanks

23 Feb 2008 shode chanf

good

Contact us