CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Interpolation scheme midpoint vs linear (

stephan October 15, 2008 09:53

Hi Foamers, does anybody ha
Hi Foamers,

does anybody has an idea what is the difference of the two schemes mentioned in the caption of this thread?!

Thanks for help!

sampaio October 15, 2008 10:48

Hi Stephan, Linear takes into
Hi Stephan,
Linear takes into account the distances between cell centers and faces. The weight attributed to each adjacent center is inversely proportional to the distance to the face.
Midpoint weights equally the two adjacent values (as 0.5*PhiA + 0.5*PhiB).


stephan October 15, 2008 11:27

Hi Luiz, thanks for the ans
Hi Luiz,

thanks for the answer.
do you have any idea how the third coefficient of the cubic polynomial is calculated in case of cubic interpolation scheme?


stephan October 16, 2008 02:33

hi, i guess it was too late

i guess it was too late yesterday: i was asking for the third and fourth coefficient of the polynomial...
(i guess the first two should be fixed by the value at the cell centres)

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