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

Post processing - graphs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2003, 03:36
Default Post processing - graphs
  #1
Lucas Rainer
Guest
 
Posts: n/a
Dear friends

I need some advice. I have results on arbitrary unstructured meshes, obtained with the Finite Volume method. Now I need to plot graphs of the results along certain straight lines through the mesh (2D meshes).

But there are 2 problems

1) The cell centres are not located in straight lines due to the complex mesh structure. 2) The cell centres are not evenly spaced along lines

How do I solve this problem without spending millions $$$ on high tech pp software??

Any advice will be greatly appreciated!

  Reply With Quote

Old   September 19, 2003, 04:06
Default Re: Post processing - graphs
  #2
Praveen
Guest
 
Posts: n/a
Tecplot can extract data along any specified line but it costs $$$, and I dont think it takes cell-centered data. The best option is to interpolate your CC data onto the specified line. Its quite simple to use least squares interpolation. First choose some points on the line, then find in which cell each one lies and then find the neighbouring cells. Using the data at all these cells interpolate to the required point using least squares. If you want any help with least squares interpolation mail me praveen[at]aero.iisc.ernet.in
  Reply With Quote

Old   September 19, 2003, 06:04
Default Re: Post processing - graphs
  #3
Lucas Rainer
Guest
 
Posts: n/a
Hello Praveen

Thank you for the information. Once I have the point, the cell it lies in and that cells neighbouring cells, do I calculate the gradient over the cell (using Gauss theorem) the point lies in and then use the gradient and the cell value to predict the value at the point?

Thank you Lucas
  Reply With Quote

Old   September 19, 2003, 08:10
Default Re: Post processing - graphs
  #4
Praveen
Guest
 
Posts: n/a
Suppose (xo,yo) is the point where you need the value. First locate neighbouring cells (say n cells) and their values ui, i=1 to n are known. Assume

u(x,y) = uo + a(x-xo) + b(y-yo)

as approximating u in a neighbourhood of (xo,yo). You have 3 unknowns (uo, a, b) and required is uo. Take n>3 we have an overdetermined system. Solve using least squares

minimize sum_i [ui - uo - a(xi-xo) - b(yi-yo)]^2 wrt uo,a,b
  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
Ansys Post processing ano999 ANSYS 1 May 27, 2011 17:24
NO model vs post processing in coal combustion,CFX sakalido CFX 1 April 15, 2011 15:07
post processing for KIVA dirga Main CFD Forum 5 April 23, 2009 11:58
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 12:59
Post Processing Koorosh MOHAMMADI FLUENT 1 June 13, 2002 07:54


All times are GMT -4. The time now is 02:50.