Define the Fluid Domain

Create the fluid domain, define the region where the fluid flow occurs, and apply a material to it.

A fluid domain is a finite volume consisting of one or more fluid regions that bound the parts, exterior geometries, and openings. For external fluid flow simulations, you must define an exterior geometry to cap the total space that you mesh. In addition, you must apply a material to the fluid section. If required, you can define or change the material's properties.

In this example, you create a fluid domain that surrounds the baffle. The exterior boundaries of the fluid domain are large enough to prevent any fluid flow effects on the turbulent boundary layer around the baffle. However, the exterior boundaries of the fluid domain are small enough to run the simulation in a reasonable amount of time. Later in this example, you apply boundary conditions to the fluid domain at the domain's exterior boundaries, and you define the volume as the fluid region.

This task shows you how to:

Define the Bounding Box

  1. From the Model section of the Assistant, click Model Setup .
  2. Select Include external flow, and define the size of the bounding box.
    1. Expand the Bounding box section.
    2. Enter the following coordinates for the Minimum and Maximum values of X, Y, and Z:

      Axis Minimum Maximum
      X -500 mm 500 mm
      Y -1000 mm 2000 mm
      Z 0 mm 500 mm

      A bounding box appears around the baffle.

    3. For the Minimum value of the Z-coordinate, select Add boundary layers .

      The minimum value of the Z-coordinate is 0 mm, which positions the bottom surface of the bounding box against the base of the baffle. You add boundary layers so that the simulation generates more accurate results around the base of the baffle.

    4. Confirm that all remaining bounding box faces specify No boundary layers .
  3. Specify the fluid flow region.
    1. Expand the Regions section.
    2. In the tree, expand Model > Baffle Product > Publication Selection, and select the Exposed Surfaces publication as the support for Region.1.

      This publication is comprised of five surfaces of the baffle. Each of these five surfaces is exposed to the oncoming airflow. The Base Surface publication is the bottom surface of the baffle, which is positioned at the bottom plane of the bounding box.

      A glyph of a blue cube with a stem appears on the baffle.

    3. Change the Name of Region.1 to Airflow.
    4. If required, select Flip direction to immerse the cubical portion of the glyph in the fluid volume.

      The glyph helps you identify the region designated as the fluid region. In this case, the position of the glyph indicates that the fluid region is outside and around the product's volume. However, if the glyph is inside the baffle, you need to flip the direction to specify the correct fluid region. This example demonstrates an external flow scenario. For internal flow simulations, such as flow through a pipe, the glyph should be inside the pipe.

Apply a Material to the Fluid Section

  1. Apply the material definition for air to the fluid section associated with the fluid domain.
    1. In the Model Setup dialog box, click to open the Material Palette.
    2. From the Material Palette, search for MynameAir.
      The Myname prefix is the duplication string that you specified during Create the Fluid Simulation.
    3. Select MynameAir, and click OK.
      The app applies the material definition to the fluid section and closes the Material Palette.
  2. In the Model Setup dialog box, click OK.
    A green check mark appears next to the Model section in the Assistant, indicating the fluid domain is completely defined.