You can import and export materials to and from your COMSOL Multiphysics models. The Materials toolbar include
Import Materials and
Export Materials buttons. You can also right-click one of the following nodes in the Model Builder and choose
Import Materials,
Import Materials From, or
Export Materials:
To import materials first select one of these nodes, then click the Import Materials button or choose it from a context menu. An
Import Materials dialog appears that displays the content of the selected file. Select the materials to import and then click
OK to import them to the model. You can also choose
Import Materials From, which opens the
Select Model fullscreen window for choosing a materials file from a database.
To export materials, click the Export Materials button or choose it from a context menu. In the
Export Materials dialog box that appears, choose the file location and enter a name for the XML-file to export materials to. Click
OK when you are done to export the materials in the chosen file.
There are no special extension for the supported XML-file formats, and they expect the .xml extension. The COMSOL Multiphysics software detects the actual format automatically by looking at the first part of the file.