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, use the following sections to specify the settings of the export:
Export
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). Click the downward arrow for the Location menu () to choose Edit Location () (if it is a database location), Copy Location (), and (if you have copied a file location) Paste Location ().
For the COMSOL Multiphysics file types, select the objects to export by first clicking the Export selected objects button and then adding the objects to export to the Selection, or click the Export Entire Finalized Geometry button to export the result of the finalize operation. For STL file export, select what to export from the Geometric entity level list. The different option are Objects, Domains, or Boundaries. Then add the objects or entities to the Selection.
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 Selection list.
Click Export to export the selected geometry to the specified file. Click the downward arrow next to Export to select Export To which opens the fullscreen Export window to export the geometry to a database location. A confirmation message appears in The Messages Window.
Advanced
To export a geometry to use in an earlier version of COMSOL Multiphysics in the COMSOL format, select a version from the Compatible with version list.
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.