# Post processing - graphs

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 19, 2003, 02:36 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!

 September 19, 2003, 03:06 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

 September 19, 2003, 05:04 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

 September 19, 2003, 07:10 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post ano999 ANSYS 1 May 27, 2011 16:24 sakalido CFX 1 April 15, 2011 14:07 dirga Main CFD Forum 5 April 23, 2009 10:58 Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59 Koorosh MOHAMMADI FLUENT 1 June 13, 2002 06:54

All times are GMT -4. The time now is 23:09.

 Contact Us - CFD Online - Top