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/)
-   -   Point to cell interpolation (https://www.cfd-online.com/Forums/openfoam-programming-development/225180-point-cell-interpolation.html)

Saideep March 17, 2020 08:34

Point to cell interpolation
 
Hi,


I have an external data which specifies the values of a variable at each cell node. I would like to interpolate these data to obtain a volScalarField.


I can find "volPointInterpolation" which builds the point data from cell data in OF7 (src/finiteVolume/interpolation/volPointInterpolation). I need the exact opposite to this procedure to map my data. Can anyone help me here?


Thanks.

dscian March 17, 2020 12:22

There is pointVolInterpolation in OF-v1912 (.com) version. So you can copy that, add it to the Make files and then compile. You might need to modify it a bit but as far as I remember it should compile without any modification.

carolee July 5, 2021 07:53

Hi saideep,
did you solve this problem?
if yes, please help me, I have a similar problem


All times are GMT -4. The time now is 00:13.