CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Interpolation (http://www.cfd-online.com/Forums/openfoam/61044-interpolation.html)

Rasmus Hemph (Hemph) November 23, 2004 11:15

I create an interpolator using
 
I create an interpolator using the below command:

UInterpolator_
(
interpolation::New
(
interpolationSchemes_,
volPointInterpolation_,
U_
)
);

I am guessing that a change in U_ will be taken into account, but
will the point/node values be updated when U_ changes, or do I have to remove and create the interpolator at every timestep?

If so, is there a way to only update the point values, so I do not have to recreate the interpolator for every timestep?

Mattijs Janssens (Mattijs) November 23, 2004 11:57

Hello Rasmus, You indeed n
 
Hello Rasmus,

You indeed need to remove and create the interpolator at every time step. It is cheap to construct though. It is the point interpolate of the U_ field so needs to change every time U_ changes.

The volPointInterpolation_ can stay; it holds only the geometric weighing factors which are constant provided your mesh is not moving.

Mattijs

p.s. saw your hour-glass animation. Very impressive.


All times are GMT -4. The time now is 14:06.