HMCFD-T: 1020 Wrapping Using the Template Manager

Before you begin, copy the file(s) used in this tutorial to your working directory.

Create Groups

The templates will be based around user groups which will be created in the following steps. You will group the parts in the geometry into ones that need to be wrapped and other miscellaneous parts.
  1. Open the Wrapping_Example_Engine.hm file.
  2. Make sure the entity selector in the modeling window is set to Parts.
  3. Select the three bolts parts highlighted in the figure below.


    Figure 1.
  4. Right-click and select Find and Isolate > Matching Parts.
    The tool searches for all bolts matching the features of the highlighted parts and isolates them on the screen.


    Figure 2.
  5. Left-click and drag to select all the bolts on the screen then right-click and select Create Group.
  6. Label the group Misc then click Create.
  7. Right-click and select Reverse (R) to display all the parts besides the bolts.


    Figure 3.
  8. Left-click and drag to select all the parts on the screen then right-click and select Create Group.
  9. Label the group ToWrap then click Create.

Create the Template

  1. Click the arrow next to the Home tool set, then select Template Manager.


    Figure 4.
  2. Select Operation from the list of categories in the Template Manager dialog.
  3. Click to add an operation.


    Figure 5.
  4. Double-click in the Operation column and select Tessellation.


    Figure 6.
  5. Click in the Definition column. Ensure that the Unmeshed surface meshing method is set to Faceting with a size definition set to Normal.
  6. Click to add another operation.
  7. Double-click in the Operation column and select Cap.
  8. Under the Selection Mode column, select By user groups.
  9. Under the User Group Selection column, select ToWrap.


    Figure 7.
  10. Click and enter a maximum width of 100.


    Figure 8.
  11. Click to add another operation.
  12. Double-click in the Operation column and select Wrap.
  13. Under the Selection Mode column, select By user groups.
  14. Under the User Group Selection column, select ToWrap.


    Figure 9.
  15. Click and enter a value of 20 for the Average element size.


    Figure 10.
  16. Click to add another operation.
  17. Double-click in the Operation column and select Re-mesh.
  18. Under the Selection Mode column, select By user groups.
  19. Under the User Group Selection column, select ToWrap.


    Figure 11.
  20. Click and enter a value of 20 for the Average size.


    Figure 12.
  21. Click to add another operation.
  22. Double-click in the Operation column and select Fix Surface Mesh Quality.
  23. Under the Selection Mode column, select By user groups.
  24. Under the User Group Selection column, select ToWrap.


    Figure 13.
  25. Click and enable Degenerated element cleanup, Duplicate element cleanup, Aspect ratio cleanup, and Intersection cleanup.


    Figure 14.
  26. Click to add another operation.
  27. Double-click in the Operation column and select Delete.
  28. Under the Selection Mode column, select By user groups.
  29. Under the User Group Selection column, select Misc.


    Figure 15.
  30. At the bottom of the dialog, enable Run operations and Validation.
  31. Click next to Validation and set the Sliver Surface Threshold to 0.0001.


    Figure 16.
  32. Click Run to execute the template.

Save the Template

  1. Click in the Template Manager dialog.
  2. Enter a name for the file.
  3. Click Save.
  4. Close the Template Manager.
  5. Observe that the Validate tool on the Geometry ribbon has a blue check mark, which indicates that the validation was successful.


    Figure 17.