Selecting Auxiliary Data Files in Databases
From the Select File window, you can find and select auxiliary data files from one of your configured databases to reference them from the model opened in the COMSOL Desktop. Choose the database that you want to select files from in the list of options. Choose Add Database () if you want to add a new database.
The Select File window is, for example, opened when you select Browse From () for a file data source.
The Select File window for a database offers similar search and filter functionality as the Open and Select Model windows, although adapted for searching auxiliary data files. The Target field indicates where in the model tree the file source reference will be set. Click Select () once you have found and selected a file source to reference in the result list.
Finding Auxiliary Data Files to Reference
You find auxiliary data files to reference by writing search expressions in the search field and clicking the Search button. You can write plain search words and any number of filter expressions using The Model Manager Search Syntax. Plain search words will match on the title, description, tags, and filename of an auxiliary data file. The search can be restricted by an explicit file type filter set in the list next to the search field.
You can also apply separate Item Filters via The Filter Dialog Box. Select a filter from the Add Filter menu button () in the toolbar to open the dialog box. Applied filters are shown below the search field — see The Applied Filters Toolbar.
You search among the latest versions of files by default. Each entry in the result list contains the title of the file in that version, the time when the version was saved, and the name of the user that saved the version. The search result is sorted on title, with a maximum of 100 files initially included in the result list. Click the Show More button () to include more matches.
The Select File Window Toolbar
The toolbar above the search field contains the following toolbar buttons:
Click the Refresh button () to refresh the search result while keeping the search expression and applied filters unchanged.
Click the Show More button () to include more matching files in the search result.
Click the Reset button () to clear the current search expression and applied filters.
Click the Add Filter button () to apply a filter.
Select Location in Database
You can change which file versions to search for by selecting another location — see Searching Versions and Locations. Click the link button above the search field to open The Select Location Dialog Box to select which location to search. The link button is hidden if there is only one location available in the database, which is the default for a new database.