CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Mesh Utilities (
-   -   mesquite smoothing (

lakeat December 8, 2011 11:16

mesquite smoothing

I want to use mesquite to smooth my mesh, is the current release able to take volume-ratio into account? My mesh is fully orthogonal generated by blockMesh, as seen in the attached links, but I hope it can be further smoothed around the corner where the volume change is sharp.

Figure 1.
Figure 2.

Thanks a lot.

deepblue17 December 8, 2011 11:46


have a look at the branch


from OpenFOAM-1.6-ext, especially the commit 4e223e307b2d6b72c04312c70fa7ef019b63be8f

There I have pushed two new classes, one of them is the VolumeRatioQualityMetric. Have a look at the README file and activate these new classes in the hashTable in mesquiteMotionSolver.C (recompile the proper library also). A hex based test case, was pushed with commit


please have a look.

lakeat December 8, 2011 11:49

Thank you Oliver.
Have a nice day.

lakeat December 8, 2011 12:13

Hmm, so you are basically adding features to the original mesquite code, right?

Jinming August 26, 2012 07:21

2 Attachment(s)

I am quite new to using mesquite for mesh optimization. There is an option of defining slip patches by providing


in dynamicMeshDict. In order to test this feature, I created a graded mesh using blockMesh (please refer to initialMesh.png of the attachments).

After running moveDynamicMesh, I expected a uniform mesh. However I got the result shown in finalMesh.png. I realized that the nodes on the edged are not moved. How can I give these nodes the degree of freedom to move on the edges?

I would be grateful if somebody can help me. Thank you!

Best regards,


vatavuk January 22, 2013 16:35

Hi Jinming,
I'm also interested in smoothing a mesh. Can you send me the complete dynamicMeshDict that you used?

All times are GMT -4. The time now is 08:50.