CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   pointDisplacement implementation (

cwang5 September 2, 2009 01:56

pointDisplacement implementation
Hi guys,

I did a few search on the sites, and decided to implement a moving rigid patch "surface" in the flow field using pointDisplacement files. The plan is to add pointDisplacement as a elementVectorField in the form

elementVectorField pointDisplacement
dimensionedVector ("0, 0, 0", dimless)

and add in the pimpleDyMFoam before each iteration

pointDisplacement.patch("surface") += pos(position of point on the patch)+ movement from the original position;


Do you think it'll work? I'm not really familiar with C++ and is having a hard time understanding the file structure of OF, and would like to know your opinion before making any changes that would mess up the solver or blow up the computer. Thanks.


All times are GMT -4. The time now is 15:34.