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

how to plot streak lines

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2008, 06:45
Default how to plot streak lines
  #1
student
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
  Reply With Quote

Old   December 13, 2008, 17:57
Default Re: how to plot streak lines
  #2
Harish
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.

  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
[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


All times are GMT -4. The time now is 05:29.