Introduction to COMSOL Multiphysics 4: Building a model

Mesh Sequences

A model can contain different mesh sequences for generating meshes with different settings. These sequences can then be accessed by the study steps. In the Study, you can select which mesh you would like to use in a particular simulation.

In the busbar model, you will add a second mesh node to create a mesh that is refined in the areas around the bolts and the bend. You do this by increasing the mesh resolution on curved surfaces. Locate and open the file busbar.mph if you do not already have it on the COMSOL Desktop.

Adding a Mesh

To add a second mesh node, right-click the Busbar node and select Mesh.

This creates a new Meshes parent node that contains Mesh 1 and Mesh 2.

Right-click Mesh 2 and select Free Tetrahedral.

Click Size in Mesh 2.

In the Settings window, locate the Element Size section.

Click the Custom button. Enter mh/2 in the Maximum element size field and mh/2-mh/6 in the Minimum element size edit field. Enter 0.2 in the Resolution of curvature edit field.

Click Build All .

Now compare Mesh 1 and Mesh 2 by clicking the respective node. The mesh is updated in the Graphics window.

Another alternative is to run a parametric sweep using the parameter for the maximum mesh size, mh, that you defined previously in Global Definitions.

In order to keep this model in a separate file for later use, save the model with a new name, busbar_I.mph.

Next Page