CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   PointToPointPlanarInterpolation (https://www.cfd-online.com/Forums/openfoam-programming-development/241664-pointtopointplanarinterpolation.html)

ucceyrekkokorec March 11, 2022 15:31

PointToPointPlanarInterpolation
 
Hi foamers,
I want to try planar interpolation from source patch to target patch using codedfixedvalue in U dict;
Code:

pointToPointPlanarInterpolation ptp(srcPoints,destPoints,0,false);
Foam::Field<Foam::Vector<double>> Uasd = ptp.interpolate(U_outlet);

But when ı use interpolate func of pointToPointPlanarInterpolation class it gives uniform field although my source field is not uniform. Any solution?


All times are GMT -4. The time now is 04:52.