Saving COMSOL Files
The following options are selected from different menus and toolbars as described in The COMSOL Desktop Menus and Toolbars.
Saving a New Model or Application
If this is the first time saving a model or application, or if you want to update the file and keep the current name and format, in general, these are the ways to save a model:
Click the Save button () on the Quick Access Toolbar or Main Toolbar.
Select File>Save.
If you save a model that was previously saved in an earlier version of COMSOL Multiphysics, you get a question about if you want to continue to save the model file, thereby overwriting the original file with a new file that has been converted so that it can only be opened in version 5.4. Select the Do not show this message again check box if desired. There is also a preference setting on the Files page in the Preferences dialog box. Under Saving COMSOL application files, clear the Warn before overwriting a file saved by an older version of COMSOL check box (selected by default) to turn off this question.
Creating a Copy Using Save As
If the model has been saved before and you want to create a copy you can choose to save in one of the COMSOL file formats (see COMSOL MPH-Files, Model Files for Java, and Model Files for MATLAB).
Select File>Save As. The Save As window opens, and from the Save as type list select COMSOL Application (*.mph) (the default), Model file for Java (*.java), Model file for MATLAB (*.m), or COMSOL File for VBA (*.vba).
In all cases, navigate to the location where you want to save the model, enter a File name, and then click Save.
Reverting to the Last Saved File
To open the last saved version of the file and reinitialize the GUI, select File>Revert to Saved (). For Windows users, you can also customize the Quick Access Toolbar and then click the Revert to Saved button.
Compacting the History
The COMSOL files for Java and for MATLAB contain the entire history of the model, including settings that are no longer part of it. To compact the history so that the files only include the settings that are part of the current model, select File>Compact History. For Windows users, you can also customize the Quick Access Toolbar and then click the Compact History () button.
When Saving, Optimizing for Speed or File Size
You can choose to save COMSOL files (MPH-files) that are optimized for speed (the default, using uncompressed files that are faster to save) or optimized for file size (using compressed files). In the Preferences dialog box (see Preferences Settings), click Files and choose Speed or File size from the Optimize for list under Saving COMSOL application files.