CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

mesh.update() and dynamic mesh?

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

LinkBack Thread Tools Display Modes
Old   July 20, 2010, 03:02
Default mesh.update() and dynamic mesh?
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 71
Rep Power: 8
cwang5 is on a distinguished road
Hi guys,

For a dynamic mesh case I've set the pointDisplacement and cellDisplacement of a moving patch using the following code:

pointDisplacement.boundaryField()[patchi] == newPoint - oldPoint;
cellDisplacement.boundaryField()[patchi] == newCell - oldCell;
And the patch moves accordingly. However, the mesh.update() function in the main solver does not seems to be working, or at least I think that's the function that calls for the motion of all the other points/cells around the patch. The end result was that the patch moves, but none of the other grid points does, hence collapsing some of the cells and crashed the solver. I'm wondering if I am implementing the dynamic mesh function correctly, and below is the pseudo code of the solver (modified based on the pimpleDyMFoam solver):

#include "setDeltaT.H"
#include "rotatePatch.H"
if (mesh.changing() .....)
#include "forceBalance.H"
Hope there's someone out there who can help, I've been messing around with the dynamicMeshDict for a few days now to no avail. Thanks in advance to anyone who helps =).


Last edited by cwang5; July 20, 2010 at 04:33.
cwang5 is offline   Reply With Quote

Old   July 22, 2010, 23:37
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 386
Rep Power: 15
deepsterblue will become famous soon enough
What class of dynamicFvMesh are you using? The one which invokes the mesh-motion solver is dynamicMotionSolverFvMesh... That should do what you're looking for.
Sandeep Menon
University of Massachusetts Amherst
deepsterblue 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
Dynamic mesh update problem. David FLUENT 3 March 15, 2012 06:02
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 04:31
Dynamic Mesh Problem. Tom Clark FLUENT 9 July 7, 2010 07:56
Some questions about mesh updating in dynamic mesh technique lzgwhy Main CFD Forum 0 June 14, 2009 08:01
Dynamic mesh - structured mesh mrestrepo30 FLUENT 0 June 3, 2009 15:40

All times are GMT -4. The time now is 20:38.