Global and Local Definitions > Identity and Contact Pairs > Identity Pair

Identity Pair
Use an Identity Pair node ( for an identity boundary pair) to specify two selections of boundaries that overlap but belong to different parts of an assembly. Then assign a boundary condition to connect the physics nodes in the two parts in a physics interface. Identity pairs connect overlapping boundaries in different connecting parts of an assembly.
The Identity Boundary Pair () is the most commonly used node. For 3D models, the Identity Edge Pair is available (, which can be useful for connecting two edges in a shell model, for example. You can also choose the Identity Point Pair ().
Go to Pair Name for information about the Settings window Pair name. Also see Settings and Properties Windows for Features Nodes.
General
Enter a Pair name. It is used as a suffix in names of operators and variables defined by the pair. The default Pair type is Identity pair, or select Contact pair. Identity and Contact pairs are both available for boundary pairs, and Identity pairs are also available on edge and point levels.
Manual control of selections
If the pair was created automatically when forming an assembly, the Manual control of selections check box is visible. Click to clear this check box to be able to make manual changes to the Source Boundaries and Destination Boundaries selections. Pairs in manual mode do not have their selections updated when the geometry sequence is rebuilt.
The operator mapping an expression E on the source side to the destination side is denoted src2dst_pn(E), where _pn is the pair name.
For an Identity Pair, the variable src2dst_pn (defined on the destination) is 1 where there is a corresponding source point, and 0 otherwise. The corresponding operator and variable for use on the source side are denoted dst2src_pn.
Similarly, for a Contact Pair there is an operator src2dst_pn_mph that is suited for use in multiphysics coupling. The variable geomgap_dst_pn is the geometric gap between the source and the destination, seen from the destination side (following the normal of the destination boundary). The corresponding operators and variables for use on the source side are denoted dst2src_pn, dst2src_pn_mph, geomgap_src_pn.
Source Boundaries and Destination Boundaries
The destination boundaries should overlap the source boundaries. The condition that connects the physics nodes on the destination and source boundaries is specified in the physics interface. For example, it can be a constraint that constrains a dependent variable (temperature, for example) on the destination side to be equal to a dependent variable on the source side.
Click the Active button to toggle between turning ON and OFF selections.
Then define the source or destination boundaries. Select Manual or All boundaries for the boundaries on the source or destination side. If Manual is selected, click in the Graphics window to add boundaries to the Selection section. If required, click the Swap Source and Destination button ().
Select Manual or All boundaries for the boundaries on the source side or the destination side. If Manual is selected, click in the Graphics window to add boundaries to the Selection section. If required, click the Swap Source and Destination button () to swap the source boundaries and the destination boundaries.
For Identity Edge Pairs and Identity Point Pairs, edges and points, respectively, replace boundaries in the selections of the pair’s source and destination.
Frame
If there are several frames in the model, the Frame section is visible. Select the Source frame and the Destination frame. Source and destination points are connected if their coordinates in their respective frames are equal.
Thin-Layer Diffusion: Application Library path COMSOL_Multiphysics/Diffusion/thin_layer_diffusion