|July 21, 2015, 09:57||
PrimitivePatch movePoints() didnt move the points
Join Date: Jun 2012
Location: Copenhagen, Denmark
Posts: 16Rep Power: 5
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:
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>&)
Pout<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"<< "movePoints() : "<< "recalculating PrimitivePatch geometry following mesh motion"<< endl;
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|No layers in a small gap||bobburnquist||OpenFOAM Native Meshers: snappyHexMesh and Others||6||August 26, 2015 09:38|
|crash sHM||H25E||OpenFOAM Native Meshers: snappyHexMesh and Others||11||November 10, 2014 12:27|
|DynamicMesh - Move internal points||nucat||OpenFOAM Mesh Utilities||2||September 6, 2014 08:54|
|BlockMeshmergePatchPairs||hjasak||OpenFOAM Native Meshers: blockMesh||11||August 15, 2008 07:36|
|How to update polyPatchbs localPoints||liu||OpenFOAM Running, Solving & CFD||6||December 30, 2005 18:27|