Applies to: COMSOL Multiphysics® Versions: All versions

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?

Solution

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®