Setting Up Morphing Motion and Boundary Conditions
The motion of the gerotor walls is realized using the morpher.
By giving vertices freedom to slide, less strong deformed cells appear than enforcing a rigid displacement. For morphing applications with small gaps this practice facilities morphing over several time steps without negative cells appearing.
In general, the morphing process must succeed for at least 2-3 time steps without negative cells—otherwise the Remeshing solver would activate constant remeshing without improving mesh quality.
You are advised to use the constraint approach for surfaces that have no sharp edges. Otherwise the surface would not be represented correctly during rotation.
The morphing concept is illustrated in the image below:

For more details of morpher boundary conditions, refer to Morpher Boundary Condition Reference.
- To create the morpher motion:
- To assign the morpher motion to the region PumpFluid:
- Select the Motion to Morphing. node and set
- You set the outer wall to a Displacement morpher boundary; this boundary becomes the guiding surface for the morphing process. To set this boundary condition:
- You set the inner wall to a Constraint morpher boundary (the sliding surface of the morphing process). To set this boundary condition:
- All the other boundaries of the region PumpFluid are also set to use the morpher Constraint boundary condition, but with the Boundary Plane constraint rather than Part Surface. The Boundary Plane constraint means that vertices can move only in the plane of the boundary. To set this boundary condition:
Note When using the Boundary Plane constraint, the morpher computes a guide plane based on the vertices on the boundary surface using least-squared fitting. To make sure that the calculated guide plane intersects clearly with the part surfaces, you have previously extended the surfaces Inner.bottom and Inner.top in the direction normal to the boundary plane.
- Multi-select the Outer.bottom and Outer.top, righ-click on any one of them and select Edit.
- In the Multiple Objects dialog, select the Operation to Lab Frame. node and set