- **OpenFOAM Running, Solving & CFD**
(*https://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Interpolation scheme midpoint vs linear**
(*https://www.cfd-online.com/Forums/openfoam-solving/58463-interpolation-scheme-midpoint-vs-linear.html*)

Hi Foamers,
does anybody haHi Foamers,
does anybody has an idea what is the difference of the two schemes mentioned in the caption of this thread?! Thanks for help! regards stephan |

Hi Stephan,
Linear takes intoHi 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). Cheers, luiz |

Hi Luiz,
thanks for the ansHi 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? regards stephan |

hi,
i guess it was too latehi,
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) regards stephan |

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