Exporting a Geometry
You can export geometry objects to a COMSOL Multiphysics binary file (.mphbin) or text file (.mphtxt).
To export an existing geometry to file:
In the Geometry toolbar, click Export (), or
Right-click the Geometry node and select Export () from the context menu.
Then, in the Export window, select a file type among the available formats in the File type list and enter a filename including the path in the Filename field (or click Browse to specify the filename).
For STL file export you can select objects, domains, or boundaries to export. For the other file types you select the objects to export by first clicking the Export selected objects button and then adding the objects to export to the Selected object list, or click the Export Entire Finalized Geometry button to export the result of the finalize operation.
For a geometry part and for a Plane Geometry of a work plane, the Export Entire Finalized Geometry option does not exist, so that button and the Export selected objects button are not available. Instead, just add objects to export to the Selected object list.
Click Export to export the selected geometry to the specified file. A confirmation message appears in The Messages Window.
The .mphbin and .mphtxt formats do not contain unit information. When the exported file is imported into a geometry with a different length unit, you can use a Scale feature to scale the imported objects to the correct size.
Also see Import for details of how to import CAD file formats.