|
[Sponsors] |
September 19, 2003, 03:36 |
Post processing - graphs
|
#1 |
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! |
|
September 19, 2003, 04:06 |
Re: Post processing - graphs
|
#2 |
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
|
|
September 19, 2003, 06:04 |
Re: Post processing - graphs
|
#3 |
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 |
|
September 19, 2003, 08:10 |
Re: Post processing - graphs
|
#4 |
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 |
|
|
|
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 |