A variety of quick selection tools are available within SimScale. This article aims to provide a brief overview of the various selection tools and their functionalities.
In order to choose the right selection tools, here are a few basics every SimScale user should know:
Choose the Selection Mode
Centered at the top of the viewer, the viewer toolbar allows you to pick a selection mode. Usually, you either want to select whole solids or only specific faces.
Depending on the context, either faces or whole solids need to be selected or assigned. In most cases only one assignment mode is possible. If this is the case, the workbench will automatically select the correct selection/assignment mode for you. In case a mix of assignments is possible, it’s common that you’d like to assign all faces of a specific solid part. If this is the case, select not each individual face, but simply assign the whole solid part instead.
Mesh upload is mandatory if Edge selection or Node selection needs to be used.
You might have noticed that a selection is sometimes shown in red, other times in blue, or even pink. The color used for highlighting a selection in the viewer depends on the current selection or assignment context:
- Standard selection mode: red
- Assignment mode (or contact master assignment): blue
- Contact slave assignment mode: pink
Now that we have the basics covered, find below an introduction of the main selection tools for making a quick and easy selection via the viewer:
1. Mouse and Keyboard Controls
Besides selection tools, several functions are available via mouse and keyboard hotkeys. The table below shows an overview:
|Drag with the left mouse button||Rotate|
|Ctrl + left-click|
Drag with the middle mouse button
|Simple right mouse click||Open drop-down menu with options|
|Alt + left-click|
Drag with the right mouse button
Scroll wheel up/down
|b||Box selection tool shortcut|
2. Box Selection Tool
This tool is commonly used in CAD software and also made its way into SimScale.
Once “Box selection” is activated in the viewer, the user has two options to select the entities:
- Clicking and dragging the cursor from left to right: entities fully contained within the box are selected;
- Clicking and dragging the cursor from right to left: entities that are intersected by the box are selected.
This type of selection comes in handy for geometries with a big number of faces. As an example, let’s have a look at the data center geometry below.
It’s possible to quickly select all faces from a server line in one click:
- Make sure that the Face selection and the box selection icons are enabled;
- Create a box containing the entire server line. Note that, in this picture, the box was drawn from left to right.
As a result, we select a total of 473 faces.
3. Invert Selection Tool
In some cases, we would like to select the vast majority of faces in a model. Instead of selecting all of them one by one, we can simply select the ones we don’t want and then invert the selection.
Let’s take the following example: we are interested in selecting all walls from a pipe geometry.
The first step is to select the unwanted faces. In this case, 2 inlets and 1 outlet. Afterward, simply right-click in the viewer. In the window that opens, select Invert selection:
4. Select Other
A handy tool for selecting a face hidden behind another face is the “Select other” feature. Now, simply right-click on a specific face in the viewer and when clicking on “Select other” a list of faces behind the current location will be offered for selection.
5. Tangent Selection
Another option available in the Workbench is Tangent Selection. The image below shows the steps:
- Select at least one face of interest
- Now, right-click on the viewer and choose ‘Expand selection’ from the list
- Choose to select the ‘Tangent faces’
At this point, the platform selects all faces tangent to the initial selection.
6. Topological Entity Sets
Topological entity sets are groups of faces that the user wants quick access to. It’s useful to create sets for groups of faces that will be used multiple times in the setup.
To create a topological entity set, please follow these steps:
- Select the faces that will be part of the topological entity set;
- In the right-hand side panel, click on the ‘+’ button next to Topological Entity Sets;
- Give the topological entity set an appropriate name;
- You can access the created sets in the right-hand side panel.
7. Copy or Duplicate
You can use copy/duplicate features to create the clone of a project, a simulation setup, a geometry primitive, a material, a boundary condition, or a result control item. It is usually practical to create an identical clone and edit it, instead of setting it from scratch.
You can copy an existing project by pressing the copy icon as in Figure 12. This can be done also from inside the Workbench, look for the copy icon in Figure 1.
You can duplicate an existing simulation setup as well. This is practical if you would like to test the existing simulation setup with some minor changes; or if you would like to use the same setup on a new CAD model. The .gif below shows how to duplicate the setup and change the CAD model:
You can duplicate an existing setting by clicking on the icon next to it. This is possible for the following items in the simulation tree:
- Geometry primitives
- Subdomains under the initial conditions
- Boundary conditions
- Advanced concepts
- Result control items
You can duplicate the mesh settings on an existing CAD model. Alternatively, you can copy the mesh settings from another CAD model, as shown in Figure 15.
8. Fit To Screen
In the right bottom corner of the Workbench or the post-processing environment, users can find the orientation cube that is helpful in adjusting the view angle. Additionally, the “home” icon is useful when trying to fit the existing model to the screen. Clicking the icon will adjust and zoom-fit the model appropriately within the screen.
With these simple selection tools, users can save time during the setup of their simulations.