Solution Number: 1232
Title: Selecting entities by index number
Applies to: COMSOL Multiphysics
Versions: All versions
Categories: General, Boundary Conditions
Keywords: selections

Problem Description

I am following the step-by-step instructions for building an example COMSOL Application and the directions specify a numeric list of entities ( such as boundaries or domains ) to select. How do I find out which boundaries these are, and how do I select them?


The step-by-step modeling instructions that come with the sample COMSOL Applications 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 paste it into the selection list using the "Paste" dialog box.

First, click the "Paste" icon as shown in the screenshot below:

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. See the screenshot below:

After you click "OK" you should see:

For a video demonstration of these steps, please see the 8:00 minute mark of this video: Selecting Geometric Entities in COMSOL Multiphysics®



COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.