Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

4.7.1. Local Control Using Mesh Constraints

Consider an example case of an XK-8050 particle gun. The global element size of the initial mesh is 1 mm. We would like to control the mesh locally around the centerline of the gun where the particles flow.

The gold-colored solid below is the sub-volume of interest (we could have used a 360-degree sub-volume). Note that the initial dimensions of the sub-volume are arbitrary, it just needs to extend to or beyond the model.

Assume that the starting structure already has boundary conditions applied, and that we want an element size of 0.2 mm in the region of interest. To proceed:

  1. On the Structure ribbon in the Entity Modification group, click the Boolean button and select Region.

  2. Click the gun, then press Enter or click Done to select the stock for the region.

  3. Click the sub-volume, then press Enter or click Done to select the tool for the region. A node for the region appears in the Browser. The Region operation results in a single solid with 2 bodies.

  4. On the Structure ribbon in the Attributes group, click the New Attribute menu and select Mesh Constraint. Double-click the Region to select it, then press Enter or click Done.

  5. In the properties dialog box that displays, set the Element Size > Type to Local Absolute and set the Absolute Size to 0.02 cm. Click OK or press Enter to close the dialog box.

  6. Simulate.

The mesh, with the local mesh constraint added, will look like this:

While this method is appropriate for simple cases, it has the following drawbacks:

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice