Linking to Simulation Models in the Database
You can add links to an arbitrary selection of model versions on your project assets — both to versions of the same model, as well as versions of different models. Which version of a particular model you choose to add depends on the workflow that best suits your needs. You may add the first version of a model, or set of models, relevant to the project. As you reach important milestones in your simulation work, you may add, or replace with, newer model versions by editing the asset. Perhaps when the Status attribute is set to Completed, you add the final version of a model.
To demonstrate this linkage, you will save two models to the Model Manager server database by connecting to the database from the COMSOL Desktop modeling environment. For the combination wrench project:
1
2
In the File menu, select Application Libraries ().
3
Select COMSOL Multiphysics>Structural Mechanics>wrench.
4
Click Open ().
5
In the File menu, select Save To ().
6
In the Save window, select Add Database () in the list of options.
7
Click the Connect to Server Database button ().
8
Follow the steps in Connecting to a Server Database in the Model Manager Reference Manual to connect to the Model Manager server database.
After COMSOL Multiphysics has finished connecting to the Model Manager server, the server database is shown selected in the Save window.
9
Click the Save button () to save a first version of the model in the database.
Similarly for the busbar redesign project:
1
Select and open COMSOL Multiphysics>Multiphysics>busbar in the Application Libraries window.
2
Select Save To () in the File menu.
3
In the Save window, select the Model Manager server database in the list of options.
4
Click Save ().
Return to the Asset page for the busbar redesign project in the asset management system.
1
Click Edit.
2
Under the Model versions table, click the Add row button.
3
In the added table row, click the Search for Model Version button in the Model version column.
4
Write busbar in the Search field in the opened dialog box.
5
Click the Add to Asset button.
The dialog box is closed and the linked model version for the busbar is shown in the Model version column.
6
Click Save.
Open the Asset page for the combination wrench project and repeat the previous steps for the wrench model.