programming

Interpolation

emmanuel germaine, 2009-11-02 08:14

~~DISCUSSION~~ Hello Prof. Gibson,

I would like to interpolate the velocity field “u(x)” to a grid that has homogeneous meshes in (x,y,z). Before implementing my own algorithm, I was wondering if I can usesalreday existing classes. There is a method in the class flowfield that may do this interpolation. Actually, it is called Interpolation(). This method interpolates from a flowfield u1 to a flowfield u2. Flowfield generates non homogeneous grid in Y. Is it possible to replace u2 by an homogeneous grid (i.e, homogeneous in x, in y and in z)?

Note : the number of nodes and the size of the channel remains the same.

Regards, Emmanuel