Lagrangian mesh displacement
The library OpenPisco provides a Python interface to the remeshing software mmg 1 .
The interface allows to perform lagrangian mesh displacement while keeping the mesh connectivity fixed.
See the dedicated module OpenPisco.Unstructured.MmgMeshMotion()
.
This feature allows to deform a mesh with respect to a vector field defined on an surface interface.
In a shape optimization context this functionality allows to update the shape without the need of advection and remeshing.
The feature is activated with the option -lag. See the mmg documentation 2 for more details about this feature.
The following function contains an exemple of mesh displacement using the Python API