CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Interpolate cell value to a point within cell (https://www.cfd-online.com/Forums/openfoam/95868-interpolate-cell-value-point-within-cell.html)

deji January 5, 2012 12:02

Interpolate cell value to a point within cell
 
Hello to all. I am implementing a wall function for my LES CFD work and the wall function requires values within a cell but not at the cell center. I have looked into the interpolationCellPoint tool and I know that it does something similar to this. However, I am only concerned interpolating for a prescribed wall normal distance below that of the cell center and not sure how to proceed with this. Can someone give me any feedback on this? Thank you very much in advance.

deji January 6, 2012 09:16

Hello Foamers. I did see something in OpenFOAM similar to this, but is a post-processor. The interpolation needed is during run time for my case. So there is no one able to give me even the slightest feedback on this? I know there are many OF experts that frequent this forum.

Any feedback would be really helpful at this point.:confused::confused::confused::confused::con fused:

deji January 23, 2012 14:46

Hello Foamers. I might have to write my own code to attack this problem, seems interpolateCellPoint isn't going to work for what I need. Here is a pseudo code that lacks detail, though I think I will have to implement something "like" this in OpenFOAM:

for k ....
for j ......
interpolate to constant wall normal distance...


Just a thought that ran through my head, the code might look entirely different from this though.:confused: Any one wants to give a little feedback?


All times are GMT -4. The time now is 02:26.