Locking the Mesh
Use the action Lock Mesh () to convert the current meshing sequence to a single Mesh node holding only its output mesh. Locking a mesh is useful if you want to keep an adapted mesh but need to clear the solution data that generated the adapted mesh. Another case is if you know that you will work with a fixed mesh, and want to save disk space. This mesh is locked and independent of any other data in the model.
While it is possible to undo this action, it is not possible to later unlock the mesh to reconstruct the sequence that generated it. If you need to modify a locked mesh in some way, add a new Mesh node in the same Component and add a Copy operation to copy the locked mesh to the domains in the geometry. After that, it is possible to modify the mesh as discussed in the section Modifying the Element Size Using Refine and Adapt. For a locked mesh that defines its own geometric model, add an Import operation instead of a Copy operation.
The Compact History action is not supported for models including a locked mesh.
The action is only available from The Model Builder Context Menu. The mesh remains connected with the geometry for exact placement of higher-order nodes of curved elements. The connection to the geometry also means that if the geometry is modified, the locked mesh, that is connected with the old geometry, will become disconnected from the geometry. Use the option Disconnect from Geometry () on a locked mesh to manually break the connection with the geometry. Then the mesh will define its own geometric model and be independent of the geometry. A locked mesh will define its own geometric model if the original mesh define its own geometric model.