学习中心

Course:

How to Navigate the COMSOL Multiphysics®User Interface

Searching Models, Data, and Autocompleting Expressions


During the model building process, you may find your model becoming increasingly complex. In order to handle this issue, you may either want or need to create definitions such as parameters, variables, and functions in order to help formulate your simulation. As the number and amount of definitions and data in your model increases, it may still be difficult to keep track of it all. COMSOL Multiphysics®contains tools and shortcuts that enable you to easily locate where definitions and data are being used, as well as compare your models to determine key differences.

Find and Autocomplete

Regardless of the simplicity or complexity of your model, COMSOL Multiphysics®has the tools to search and find definitions. You can quickly navigate to each location where definitions are used in your model and access them in any field where you can enter an expression. These tools, which will help you set up your model faster, are as follows:

  • Findtool (Ctrl + F)
  • Auto Completionfunctionality (Ctrl + Space)

Watch the video below and follow along with your own model, or theLaser Heating of a Silicon Wafer tutorial modelin the Application Libraries, to learn how to search your own COMSOL Multiphysics®models and use keyboard shortcuts to easily and quickly enter expressions.


Auxiliary Data

If you have ever needed to know what input files are associated with your model, such as CAD files and interpolation files, you may find theAuxiliary Datawindow useful. In the window you will see a table. Each entry in the table will show what part of the model it belongs to, what its data source is, and other information about its current status. When storing files in a database using the Model Manager, you can also import files into the database from here.

TheAuxiliary Datawindow can be opened from the ribbon by clicking the Windows button and selectingAuxiliary Datafrom the dropdown.

The COMSOL Multiphysics UI showing the Model Builder with the Geometry node highlighted, the corresponding Settings window, a double Gauss lens in the Graphics window, and the drop-down menu for the Windows button in the Graphics toolbar. The COMSOL Multiphysics UI showing the Model Builder with the Geometry node highlighted, the corresponding Settings window, a double Gauss lens in the Graphics window, and the drop-down menu for the Windows button in the Graphics toolbar. Example of theAuxiliary Data window for the Double Gauss Lens model.

Model Merge

You may find that comparing the data of your models would be valuable to learn from. Luckily you can do just that from theComparison Resultswindow. You can merge differences from one model to another. Each node that contains differences has one or two override options named consistently with the model you want to overwrite. The overwrite process tries to merge all differences under the selected node as far as possible.

There is also a more advanced merge tool calledMerge Changes to Openedthat uses available information about versions to sort out what changes you and other users have made on the same model. The tool only merges the changes made by the other user to the version after you started editing the model. In case of conflicts, you can pick what changes to keep or overwrite.

To open this window click the Windows button in the ribbon and chooseComparison Resultfrom the dropdown.

A closeup view of the Comparison Results window showing the options under the Tuning Fork node with the Merge Changes to Opened option highlighted.
An example of theComparison Resultwindow showing theMerge Changes to OpenedandOverride Difference in Openedoptions.


请提交与此页面相关的反馈,或点击此处联系技术支持

Baidu
map