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/)
-   -   How to get the coordinates of the point above the immersion boundary in openfoam e4.1 (https://www.cfd-online.com/Forums/openfoam-programming-development/250225-how-get-coordinates-point-above-immersion-boundary-openfoam-e4-1-a.html)

GrpOne123 June 5, 2023 10:23

How to get the coordinates of the point above the immersion boundary in openfoam e4.1
 
Hello Gus!
Currently I want to get the coordinates of the boundary point on the immersion boundary to use for calculation. My immersed boundary is motion, and I want to get the coordinates of the boundary point after each movement.
i use movingimmersedboundary.C to implement my motion.Is ipatch in this C file the boundary point I need? Whether it is always updated
Thank you all for your help!


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