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

Plotting solutions obtained by FVM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 29, 2000, 03:24
Default 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

  Reply With Quote

Old   February 29, 2000, 06:53
Default 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
  Reply With Quote

Old   February 29, 2000, 09:19
Default 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
  Reply With Quote

Old   March 3, 2000, 06:25
Default 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

  Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
FVM in 1-D spherical coordinates lost.identity Main CFD Forum 0 January 17, 2011 10:06
Analytical flow solutions Antonio Main CFD Forum 0 December 14, 2005 16:43
Analytical flow solutions Antonio Main CFD Forum 0 November 15, 2005 18:47
comments on FDM, FEM, FVM, SM, SEM, DSEM, BEM kenn Main CFD Forum 2 July 18, 2004 18:28
References for FVM Anthony Wachs Main CFD Forum 8 February 20, 2002 20:23


All times are GMT -4. The time now is 20:32.