New Local Database
To create a new local database on your computer:
1
Under Database name, write the name of the new database as stored on the file system.
The database name can only contain characters that are valid for a directory name and filename. The name will also be used as the initial label of the database in the COMSOL Desktop, although this label can later be changed — see Database Configurations.
2
Under Databases directory, write the path to the parent directory that will contain the new database. You can also keep the suggested, prefilled directory path.
The database itself will be created as a subdirectory inside this directory.
3
Click the Add Database button () to create the new database.
The field under Databases directory contains a prefilled default directory path appropriate for the underlying operating system. You can change this default from the Preferences dialog box in the Directory for local databases field on the Model Manager page.
A Local Database on the File System
The created database consists of a directory with the name specified by the Database name field, located within the parent directory specified by the field under Databases directory in the New Local Database window. This database directory contains:
An SQLite® database file with the same name as the directory. Its file extension is mphdb.
A resources directory containing files whose file sizes are deemed too large to store directly inside the SQLite® database file. These files can, for example, be built, computed, and plotted data generated by models, or standalone data files such as CAD data, interpolation functions, and reports.
An indexes directory containing files used by Model Manager for searching and filtering. The file contents in this directory is automatically created by Model Manager using the data stored in the SQLite® database file and, as a result, may be safely skipped in backups.
The database directory also contains an index directory used for backward compatibility when the database is accessed from a COMSOL Multiphysics 6.0 installation. This directory and its file contents are created automatically as needed and may be safely skipped in backups.