Geometry Concepts and Nomenclature in COMSOL Multiphysics®
Whether you are building a geometry natively in COMSOL Multiphysics®, using a LiveLink™ product, or importing CAD or mesh data from an external program, it is important to know how your geometry is organized within the software. This is so that you can properly apply settings to your model geometry. It is also important to know the terminology used in COMSOL Multiphysics®, such as what domains and boundaries are. In this article, we will review these naming conventions that you will encounter when building geometry or assigning settings to a model geometry.
How the Geometry Is Organized
The terminology used in COMSOL Multiphysics® for the various parts of a model geometry varies between the geometry creation stage, the geometry sequence, and the physics modeling stage, as well as everything that comes after. In the physics modeling stage (for example, when assigning material properties, mesh settings, and physics definitions), there are certain terms we use to refer to geometry in the software. They consist of the following:
- Geometric objects
- Geometric entities
- Edges (3D geometries only)
For a 3D geometry, the terminology that is most commonly used is that a volume enclosed by surfaces forms a solid, an area enclosed by edges forms a surface, and a curve enclosed by points forms a curve or line. The COMSOL terminology for geometry similarly follows this: For a 3D geometry, a volume enclosed by surfaces forms a domain, an area enclosed by edges forms a boundary, and a curve enclosed by points forms an edge. This is visualized in the table below for clarity, using an example of a viscoelastic damper. The generally used terms along with the appropriate COMSOL naming convention for the part of geometry highlighted in blue is outlined:
|Solid (Volume)||Surface (Area)||Curve (Length)||Vertex|
Note that when performing the geometry modeling step in COMSOL Multiphysics®, boundaries in 3D are also referred to as faces and points are also referred to as vertices.
When setting up the physics in COMSOL Multiphysics®, domains, boundaries, edges, and points are referred to as geometric entities; and a geometric object is a collection of geometric entities. These concepts are explained further in subsequent sections.
A geometric object contains entities such as domains, boundaries, edges, and points. So, whenever we are talking about a geometric object in the software, we are referring to the collection of geometric entities that make up that object. When working in the software in the Geometry node, also called the geometry sequence, all geometry primitives and operations output geometric objects. When working outside of the geometry sequence, we are referring to geometric entities.
A geometry sequence in COMSOL Multiphysics® can contain one or several objects and a more complex geometry will consist of many objects. Before defining materials, physics, or mesh settings, the geometry is finalized using the Form Union or Form Assembly node. When building the Form Union or Form Assembly operation, the geometry sequence and however many objects it comprises are automatically united into a single object with several domains. Thus, when setting up the materials, physics, and mesh in COMSOL Multiphysics®, we are always working with one object, even if the geometry consists of several entities that are not connected.A model of a viscoelastic damper shown in the Graphics window with the corresponding Extrude settings visible as well as the Selection List window with five objects listed.
A geometry comprised of five objects, which form a viscoelastic damper. An Extrude operation is used to extrude the work plane sketches into solid objects. Lastly, the objects are mirroed with respect to the centerplate. The geometry has not yet been finalized. There are currently eight objects in the geometry, as evident in the Selection List window.
A model of a viscoelastic damper shown in the Graphics window with the Form Union/Form Assembly settings visible as well as the Selection List window with one object listed. A model of a viscoelastic damper shown in the Graphics window with the Form Union/Assembly settings visible as well as the Selection List window with one object listed.
The viscoelastic damper geometry after being finalized through the Form Union node. Top: The five objects have been united into a single object (fin), as evident in the Selection List window. Bottom: The damper is now one object comprised of eight domains, as listed in the Selection List.
To sum up:
- In the geometry sequence, you are working with geometric objects and to some extent refer to geometric entities
- When the geometry is finalized, you assign material properties, mesh settings, and physics definitions on the geometric entities only
When assigning material properties, mesh settings, and physics definitions, the terminology used in COMSOL Multiphysics® for geometric entities (domains, boundaries, edges, and points) varies depending on the spatial dimension of your model component. A domain, for example, is always the geometric entity of the highest dimension for a model component. Thus, for a 3D geometry a volume is a domain. For a 2D geometry, an area is a domain, whereas a length is a domain for a 1D geometry. You can see how the terminology changes in this way in the image below.An infographic that is split into five columns, showing how the object, domain, boundary, edge, and point change depending on it being 3D, 2D, or 1D, using a piezoelectric shear-actuated beam as an example.
Infographic outlining the naming convention of geometric entities and how they change depending on the spatial dimension.
Notice that an edge only exists as a geometric entity for 3D models and how the naming convention for what boundaries represent also changes. Following domains, boundaries are always the geometric entities of the next-highest dimension. Thus, for a 3D geometry a surface, or face, is a boundary; for a 2D geometry a curve is a boundary; and for a 1D geometry a vertex is a boundary.
|Entity Dimension||Name in 3D||Name in 2D||Name in 1D||Name in 0D|
Often while using the software, you will need to specify what is known as the Geometric entity level when selecting parts of the model geometry. This refers to the type of geometric entity (object, domain, boundary, edge, or point), or level, from which you are making a geometry selection. For example, setting the Geometric Entity Level selection to Boundary for any node in a 2D model enables you to select any number of edges.
You can also see what can be selected at each geometric entity level option by using the Graphics window toolbar buttons for selecting geometry. The icons included in the drop-down menu for the geometric entity level also reflect the change in the names and entities for geometry according to spatial dimension. The dimension of each geometric entity is indicated by the icon to the left of each option.
To see a demonstration of how the COMSOL naming convention with respect to geometry works and changes in the software, watch the tutorial video below.
Tutorial Video: Geometry Concepts and Nomenclature in COMSOL Multiphysics®
- COMSOL Documentation: COMSOL Reference Manual > About Geometric Entities chapter
- Learning Center article: Identifying and Selecting Geometric Entities by Index Number
- Learning Center video: Selecting Geometry
- Knowledge Base entry: The usage of Form Union and Form Assembly