HWCFD-T: 1000 Basic Geometry Editing

Before you begin, click here to download the tutorial models. Extract Manifold_Model.hm from the zip file.

Validate the Geometry

  1. Open the Manifold_Model.hm file.
  2. From the Geometry ribbon, click the Validate tool.


    Figure 1.
    The Validate tool scans through the entire model, performs checks on the surfaces and solids, and flags any defects in the geometry, such as free edges, closed shells, intersections, duplicates, and slivers.
    The current model shows 13 surface related issues.


    Figure 2.
  3. Click SurfaceChecks to open the surface repair tool.

Fix Surfaces

  1. In the SurfaceChecks legend, click Free edges (13) to highlight all the free edges in the model.


    Figure 3.
  2. On the guide bar, enter a value of 2.0e-4 for the stitch tolerance and click Stitch All.


    Figure 4.

    Observe that the number of free edges in the SurfaceChecks legend is reduced from 13 to 7. The remaining free edges are large holes which will be patched.

  3. On the guide bar, click on the drop-down arrow next to Stitch and select Patch Hole.
  4. Click Patch All to patch up all the highlighted holes in the geometry.
    Observe that in SurfaceChecks legend you obtained a closed shell from the prior operations.


    Figure 5.
  5. Click Closed shells (1) in the SurfaceChecks legend and then select Create All on the guide bar.
  6. Press Esc to exit the tool.
  7. Save the model.
    The Surface geometry is now converted into a solid geometry and can be viewed in the Part Browser (View > Part Browser).
    Figure 6.

Extract the Fluid Domain

In this step, you will use the solid geometry to extract the internal fluid as a part, which you will then use for the simulation.

  1. Click the Plug tool.


    Figure 7.
  2. Click Find on the guide bar.
    All the holes which can be plugged are highlighted.


    Figure 8.
  3. Left-click any one of the manifold openings (Inlet or Outlets).
    On selecting the opening, all the other manifold openings are closed, leaving behind the bolt holes on the flanges.


    Figure 9.
  4. Press Esc to exit the tool.
  5. Open the Part Browser from the View menu if you have not already.
    You should see two SolidBody parts under the Body folder corresponding to the solid shell and the fluid.
  6. Right-click on SolidBody_3_1 and select Delete.
    The Fluid geometry is displayed in the modeling window.


    Figure 10.
  7. Save the model.

Extrude Boundaries of the Fluid Domain

  1. From the Drag/Spin tool group, click the Drag tool.


    Figure 11.
  2. Select the individual ports to highlight them.
  3. Click on the individual ports to highlight them.
  4. In the microdialog:
    1. Disable Retain Shared Edges .
    2. Type a value of -0.2 then press Enter.
      This represents the length of the extrusion.


    Figure 12.
  5. Press Esc to exit the tool.
  6. Save the model.

Defeature Faces

Small faces in the model can lead to poor mesh elements during surface mesh. The edges corresponding to the faces can be defeatured to allow for surface merging.
  1. Switch the entity selector in the modeling window to Surfaces.
  2. Select all the surfaces shown in Figure 13 and Figure 14.
    The total number of surfaces should 7.


    Figure 13.


    Figure 14.
  3. Right-click and select Edit > Merge Surfaces.
    Observe that the edges of the smaller faces are now represented by dotted lines. These lines will not take part in the meshing process.
  4. Repeat step 3 for the four surfaces shown in Figure 15 and Figure 16


    Figure 15.


    Figure 16.
  5. Save the model.

Create an Interface

In this step, you will look at creating an interface which, in most cases, is used to monitor average property values such as mass flux, velocity magnitude, static pressure, and temperature. In this tutorial, you are going to create interfaces along the manifold inlet axis and in between each port.
  1. Click the Split tool.


    Figure 17.
  2. From the secondary ribbon, click the Plane tool.


    Figure 18.
  3. On the guide bar, change the Target selector from Surfaces to Solids.
  4. Select the manifold.
  5. Click Tool on the guide bar.
  6. Hover over the end of the inlet until the tool snaps to a point on the surface boundary of the outlet, such as the Mid point.


    Figure 19.
  7. Enter 1,0,0 as values for the unit vectors x, y, and z in the microdialog then press Enter.


    Figure 20.
  8. Click to open the Move tool.
  9. Double-click on the Z-axis arrow to open its input dialog.
  10. Enter a value of 0.5 and press Enter.
    The tool shifts its position to the original outlet position.


    Figure 21.
  11. Click Split in the microdialog to execute the split.
    The two solids are now connected by a single interface.
  12. Click Target on the guide bar.
  13. Select the right-most solid.
  14. Repeat steps 5-11 with a z-displacement value of 0.65.
    You should now have three solids separated by two interfaces.
  15. Click Target on the guide bar, select the right-most solid, and repeat steps 5-11 with a z-displacement value of 0.80.
    You should have four solids separated by three interfaces as shown in Figure 22.


    Figure 22.
  16. Press Esc to exit the tool.
  17. Save the model.

Re-Validate the Geometry

  1. Click the Validate tool.


    Figure 23.
  2. Observe that a blue check mark appears on the top-left corner of the Validate icon.
    This indicates that the tool found no issues with the geometry model.


    Figure 24.