CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

PrimitivePatch movePoints() didnt move the points

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 21, 2015, 09:57
Default PrimitivePatch movePoints() didnt move the points
New Member
Tian Tang
Join Date: Jun 2012
Location: Copenhagen, Denmark
Posts: 16
Rep Power: 5
tiat is on a distinguished road
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:


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;

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.

tiat is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
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

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