Identifying and Selecting Geometric Entities by Index Number
When following the step-by-step instructions for building a COMSOL Multiphysics®tutorial model, you may be provided a list of geometric entities, such as boundaries or domains, to select. Although you can hover over the geometry with the mouse to see the number or name of a geometry object, domain, boundary, edge, or point and make selections through trial and error, there are multiple other ways you can easily make such selections of the geometry, outlined here. We will also discuss how to use the functionality, in addition to other features, to easily identify the different parts of your model geometry.
The Selection Toolbar Buttons
The step-by-step modeling instructions that are included with models in the Application Libraries often include a long list of entities to select, for example:
Select Boundaries 10, 11, 13, 14, 16, 20–23, 25, 26, 28, 29, 32, and 36–39 only.
Rather than trying to identify these boundary numbers in the model, you can simply copy this list of numbers and then paste it into the selection list using thePaste Selectiondialog box.
First, click thePaste Selectionbutton in the selection toolbar. This will open a dialog box where you can enter a space-delimited and/or comma-delimited list of entities. You can also use a dash to specify an inclusive range, so 1-4 is equivalent to 1, 2, 3, 4.
ThePaste Selectionbutton in the Selection Toolbar, which is contained in the geometry selection section of a model tree node'sSettingswindow.
ThePaste Selectiondialog box, a pop-up window that opens upon clicking the respective button.
After you clickOK, you should see the geometric entity numbers you specified included in the geometry selection for the respective node you have open in the model tree.
TheBoundary Selectionlist, after having pasted the list of boundaries specified earlier.
For a video demonstration of these steps, please see the Selection List Window chapter of our tutorial video onSelecting Geometric Entities in COMSOL Multiphysics.
The Selection List Window
You can also add geometric entities to the geometry selection for a node through using theSelection Listwindow. This is available through theHomeribbon tab, under theWindowsbutton and choosingSelection List. On the Linux®operating system and macOS, it is available from theWindowsmenu.
The Selection Listwindow displays a list of the geometry labels based on the geometric entity level defined by the Activate Selectionbutton in the Settingswindow. For example, if you were to add a Temperatureboundary condition under the Heat Transfer in Solidsinterface, the active selection will be on the boundary level. This is true as long as the Activate Selectionbutton is toggled ON.
TheTemperature boundary condition node, wherein theActivate Selection button is toggledON and enables you to select at the boundary level.
By highlighting one or multiple labels in the list, the corresponding entity will be highlighted in the Graphicswindow, helping to identify the different parts of your model. A screenshot of the COMSOL Multiphysics Model Builder, with the Settings window to the left, list of selected boundaries to the right, and automotive muffler model geometry in the center, with certain boundaries highlighted in yellow.
Several interior boundaries are selected for the boundary condition in theSettings window. TheActivate Selection button is toggled off, hence the boundaries included in the selection are highlighted in yellow in theGraphics window and you can select other geometric entity levels (such as domains, edges, or points).
This is useful and convenient for when you know the geometric entity number to select, like when following the step-by-step instructions for a tutorial model. It is also useful when working with complex geometries or when trying to select hard-to-reach geometric entities, such as an interior boundary. By highlighting one or multiple geometric entities in the list, the corresponding entity will be highlighted in the Graphicswindow, helping to identify the different parts of your model.
Tutorial Video: Identifying Geometric Entities in a Model
To identify the geometric entities in your model, you can utilize theSelection Listwindow and display geometry labels. The short tutorial video included below will show you how.
Enabling geometry labels allows you to see the numbering of all of your model's geometric entities in theGraphicswindow. You can simultaneously see your geometry and its numbered label when selecting materials, boundary conditions, and more.
请提交与此页面相关的反馈,或点击此处联系技术支持。