Multipatch interfaces and conforming meshes
What the model stores
Each member of a multipatch model retains its control points, weights, and knot vectors. A connection records the two boundaries and how their parameters correspond. For example, a volume face can meet another face with the two tangential directions exchanged or reversed.
With positional continuity (), corresponding points on the two boundaries coincide. A join also relates first derivatives through a change of parameters across the interface. For two regular surface patches, this gives a common tangent plane along the seam. Moving a control or changing its weight can therefore require changes to neighboring controls. Studio previews those dependencies in the shared control editor.
A knot inserted along a joined face can change the basis on both members. Studio can preview the affected patch directions before applying the refinement.
What the mesh shares
For a conforming hexahedral mesh, the sampled nodes on joined faces must match after applying the interface mapping. If the first face’s U direction maps to the second face’s V direction, eight cells along U on the first face require eight along V on the second.
The public multipatch sampling call constructs a grid for each patch. When generating a conforming mesh, Studio assigns the matching nodes a common global ID. The exported Fortran program includes this numbering step.
What an analysis shares
In a scalar IGA problem, degrees of freedom are coefficients of the solution field. On a matching clamped face with compatible trace weights, cmp_elem(shared=.true.) gives the two elements common IDs for their face coefficients. The geometry and its visualization can still keep separate arrays for each member. Changing the visualization sampling density leaves those solution IDs unchanged.
The shared coefficients impose equality of the field traces. Flux balance has a different sign convention because the two outward normals point in opposite directions. The two-volume Poisson guide checks each flux against a known solution and integrates it over the face. For a geometric design variable, differentiate the volumes on either side of a shared face to see how the two patch contributions combine.
Why the counts differ
Consider two trilinear cubes joined along a complete face. Each cube has eight control points. Four pairs coincide at the interface, so a scalar field with shared face coefficients has 12 independent degrees of freedom. Changing the mesh resolution changes how you see or export the solid.
| Mesh cells on each axis of each cube | Hex cells across both cubes | Distinct mesh nodes after joining | Independent field coefficients |
|---|---|---|---|
| 1 | 2 | 12 | 12 |
| 2 | 16 | 45 | 12 |
In the second row, each cube has 27 sampled nodes and the two grids share nine nodes on the face. To add field coefficients, refine the spline space. To export more mesh cells, change the mesh resolution.