OpenFOAM mesh smoothing. Place the settings for optiMesh in a system/optiMeshDict file.
See the tutorials/omesh case for an example.
run the Allwmake script
Installs everything to your $FOAM_USER_LIBBIN and $FOAM_USER_APPBIN directories.
Only tested with OpenFOAM 6.0.
- removeCells
- collapseCells
- bashTools (to have a little more control over your Allrun scripts)
- moveLastToConstant
- of60 environment launch script (in etc/ directory), if you want to use this you need to copy it into your $PATH manually though.
An objective optimizer is included in optiMesh (eg. optimizing the orthogonality), but I haven't yet seen it produce better results than laplacian smoothing (and it's much slower).
A better approach is probably to do implicit laplacian smoothing (which should be much fast than explicit laplacian smoothing in case of fine meshes).