PrimitivePatch movePoints() didnt move the points
Hi Foamers,
I am trying to use a PrimitivePatch to do some manipulations of point movements on a specific patch(surface). I had the prescibed pointField "pointDisp" and i call the function: mySeaBottomPatch.movePoints(pointDisp); However i checked the points coordinates before and after the movePoints, they are exactly the same. I looked into the source code of PrimitivePatch.C and found the following code: template<class Face,template<class> class FaceList,class PointField,class PointType> void Foam::PrimitivePatch<Face, FaceList, PointField, PointType>::movePoints(const Field<PointType>&) { if (debug) { Pout<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"<< "movePoints() : "<< "recalculating PrimitivePatch geometry following mesh motion"<< endl; } clearGeom(); } it seems that the movePoints() function actually didn't move the points??? as i understand the clearGeom() function is just to clean the old points info? I tried to look into other places to get some info of movePoints(), like polyMesh.movePoints(). However i still didn't manage to make things work. Anybody can help for such issue? I would appreciate any ideas. Tian |
All times are GMT -4. The time now is 06:09. |