# Plotting solutions obtained by FVM

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 29, 2000, 03:24 Plotting solutions obtained by FVM #1 Nishikawa Guest   Posts: n/a Hello, A simple question. In Finite-Volume Methods, it is assumed that solutions are stored at cell-center (e.g. centroid of triangle). But it seems that they are stored at vertices when plotted. For example, surface pressure distributions are usually displayed as a solution, where they are actually not located. Do you usually compute nodal values as a post-processing in Finite-Volume Code, for instance by some averaging? If yes, doesn't it affect the solution accuracy? (Solutions seem to diffuse after averaging) Thank you, Nishikawa

 February 29, 2000, 06:53 Re: Plotting solutions obtained by FVM #2 D.M. Lipinski Guest   Posts: n/a To compute the vertex values of a variable, one can extrapolate its value from the cell centre of each element to its vertices (e.g. using the gradient of variable). Then take averages where appropriate and you have the vertex values. For the vertices belonging to the boundary surfaces one should directly use the information about boundary conditions on this surface. Please notice that on some surfaces the averaging is not allowed. Simple example is a heat conduction problem on the surface separating two materials of different heat conductivities. If the materials are not in perfect contact with one another, there is a jump in temperature on this surface. There will be two values of temperature on this surface. With correctly calculated gradients and proper account for boundary conditions, the above procedure does not affect accuracy of the solution. regards DML

 February 29, 2000, 09:19 Re: Plotting solutions obtained by FVM #3 Carlos Vilela Guest   Posts: n/a Hi. I supose that all graphical software used for display results in surface form, use some kind of interpolation, bi-linear interpolation, Delaunay triangulation, or some finite-element type interpolation function, to obtain values where you donīt have specify data, so you will always have values of variable that you really didnīt calculated in your CFD program. From your comment, i can imagine that there is only a little problem, you are using values of pressure in one point(node) and values of coordinates in another one. The solution for this problem, if you are interest to plot the calculated values, you can calculate the cell-centered node coordinates and then associate them to the respective pressure value. Good luck Carlos Vilela

 March 3, 2000, 06:25 Re: Plotting solutions obtained by FVM #4 Nishikawa Guest   Posts: n/a Thank you very much! I found some ways to compute vertex values from cell-averages. And i was able to write a code with first order schemes. For first-order accuracy, I think the following is OK. Considering median dual cell, I can determine the cell-average for the dual cell which can be obtained by Sum over triangles that share vertex j of solution * (1/3 of the area of triangle), divided by the area of the median dual cell. The solution looks OK. Now I'm planning 2nd order version. Nishikawa

 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 lost.identity Main CFD Forum 0 January 17, 2011 10:06 Antonio Main CFD Forum 0 December 14, 2005 16:43 Antonio Main CFD Forum 0 November 15, 2005 18:47 kenn Main CFD Forum 2 July 18, 2004 18:28 Anthony Wachs Main CFD Forum 8 February 20, 2002 20:23

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