|
[Sponsors] |
December 12, 2008, 06:45 |
how to plot streak lines
|
#1 |
Guest
Posts: n/a
|
Dear Sir, I am solving flow over a cylinder problem (time dependent)numerically. Could anyone help me how to plot streak lines? or Is there option in Tecplot to draw streak lines using u and v components like how we draw stream lines? Thank you
|
|
December 13, 2008, 17:57 |
Re: how to plot streak lines
|
#2 |
Guest
Posts: n/a
|
Tecplot Analyzer can do it. You can also add a module to your code to plot streak lines. Lemme try to give a brief idea of how u do it
1. Fix a point from which your numerical dye is getting injected. 2. Calculate the velocity at the point using Bilinear interpolation from Eulerian grid. 3. Update the position of the dye stream in time dx/dt =u ; dy/dt =v 4. Repeat the calculation for all the dye streaks. I am not sure if u r using fortran or c but what u need is a vector whose size u keep increasing with time to accomodate all the particles which keep getting injected into the flow. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Tutorials] Tutorial of how to plot residuals ! | wolle1982 | OpenFOAM Community Contributions | 171 | February 20, 2024 03:55 |
Plotting Residuals | ata | OpenFOAM | 12 | July 8, 2011 03:50 |
xy plot: multiple lines? | Ralf Schmidt | FLUENT | 3 | May 18, 2006 06:14 |
graph plot | anindya | Main CFD Forum | 2 | September 17, 2003 13:00 |
how to plot 3D lines | shango | Main CFD Forum | 0 | August 10, 2002 22:56 |