Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 957 Bytes

File metadata and controls

27 lines (17 loc) · 957 Bytes

optiMesh

OpenFOAM mesh smoothing. Place the settings for optiMesh in a system/optiMeshDict file.

See the tutorials/omesh case for an example.

Installation

run the Allwmake script

Installs everything to your $FOAM_USER_LIBBIN and $FOAM_USER_APPBIN directories.

Only tested with OpenFOAM 6.0.

Other tools included

  • 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.

Alternatives to laplacian smoothing

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).

TODO

A better approach is probably to do implicit laplacian smoothing (which should be much fast than explicit laplacian smoothing in case of fine meshes).