CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   A fundamental question about interpolate (http://www.cfd-online.com/Forums/openfoam/91779-fundamental-question-about-interpolate.html)

kaifu August 22, 2011 15:12

A fundamental question about interpolate
 
Is there any difference between
Code:

fvc::interpolate(alpha*rhoa)
and
Code:

fvc::interpolate(alpha)*fvc::interpolate(rhoa)
Is that difference negligible?

m2montazari August 22, 2011 15:34

hi,
just an example:
interpolate between point1 and point 2 with linear scheme and find the middle value:
(x1*y1+x2*y2)/2 not equal to((x1+x2)/2)*((y1+y2)/2)
I think it is clear!


All times are GMT -4. The time now is 18:44.