Part Libraries
Introduction
The Part Libraries contain collections of geometry parts, which serve as extended geometric primitives or parameterized geometry sequences specially created for an application area. These parts are stored as part models, which are COMSOL MPH files that contain only the following:
One or several geometry parts. The first part is the main part, and it is the only one that the user of the part model will see. Other parts can exist for the sole purpose to be called from the main sequence.
Some part libraries ship with the COMSOL products, but you can also add your own part libraries. In COMSOL Multiphysics, the Examples folder contains two parts: bent_pipe, which is toroidal pipe with a wall, and straight_pipe, which is a straight cylindrical pipe with a wall. The input parameters make it possible to create instances of these parts with a varying inner radius and wall thickness, for example.