Generate the Mesh and Specify a Port Region

Define the techniques and parameters for meshing the fluid domain, and specify a port region to be an interface for sharing simulation information across scenarios.

This task shows you how to:

Generate the Mesh of the Fluid Domain

A mesh is an alternative representation of a 1D, 2D, or 3D geometry. The app provides default mesh values based on the dimensions of the fluid domain's geometry. The default mesh's element size aims to balance the required accuracy of the results against the time it takes to run the simulation. If required, you can change both the size and type of the elements within the mesh. Typically, a smaller element size yields more accurate results but increases the run time.

In this example, you use a predefined hex-dominant mesh but change some of its parameters before meshing the fluid domain. You then use the visualization tools and inspect the cross-section of the boundary layer mesh that surrounds the baffle.

  1. Define a mesh for the fluid domain.
    1. In the tree, expand Model > Baffle Product > Airflow Mesh A > Nodes and Elements, and double-click Hex Mesh.1 .
      The Hex-Dominant Mesh dialog box opens.
    2. Enter a value of 100 mm for the Maximum size, and enter a value of 5 mm for the Minimum size.
    3. Enter 30 deg for the Minimum angle between faces.
    4. Select Add boundary layers to specify the distribution of elements at the surface of the fluid domain.
    5. Enter a value of 0.5 mm for the First layer thickness, and enter a value of 4 for the Number of layers.
    6. Expand the Options section, and clear all selections.
    7. Expand the Local Specifications section, and click Local Mesh Size on Face and Edge .
    8. In the tree, expand Model > Baffle Product > Publications, and select Exposed Surfaces as the support.
    9. Enter a value of 5 mm for the Size, and click OK.
  2. Click Mesh to start the meshing process.

    Clicking Mesh starts the meshing process immediately; clicking OK saves the dialog box settings and closes the dialog box without meshing.

  3. Click OK.
  4. Save your work.

Visualize the Mesh

  1. Hide the model, abstractions, and scenario.
    1. Right-click an empty region of the 3D area, and select Visibility Manager .
    2. Click to hide the Shapes, Abstractions and Analysis Case.
    3. Close the window.
  2. Inspect the mesh at the boundary layer.
    1. From the Display section of the action bar, click Sectioning .
    2. From the Plane options, select X-axis to use a cutting plane that is normal to the X-axis.
    3. If required, click Reverse to display the mesh on the other side of the cutting plane.
    4. Clear Exact mesh cut to show whole elements on the cutting plane.
    5. Click anywhere on the face of the cut object, and drag it in the direction of the selected axis to show different portions of the section.

      The cutting plane appears jagged because this option preserves full-sized elements at the location of the plane as opposed to displaying a true cross-section of the mesh.

    6. Click anywhere on the face of the cut object, and drag it in the direction of the selected axis to show different portions of the section.
      The mesh below is roughly at the center of the fluid domain along the X-direction. You can zoom in to view the boundary layer elements around the baffle's walls. The image below shows the structure of the mesh elements near the base of the baffle.

    7. Close the Sectioning dialog box.

Specify a Port Region

The port region couples the mechanical or structural step sequence with the flow step sequence and vice versa. This coupling allows the app to run the simulation by exchanging data between the fluid flow simulation and the structural simulation simultaneously.

The 3DEXPERIENCE platform publishes the port information to a database that the app can access. The port regions behave as connections between the simulations. These connections exchange the field output variables recorded during the physics simulations.

In this example, you specify a port region to transfer the gauge pressure (on the baffle) between the fluid flow simulation to the structural simulation.

  1. From the Standard section of the action bar, click Scenario .
  2. From the Contacts section of the action bar, click Port Region .

    Tip: You can use the Command Search command in the Standard section of the action bar to locate this command.

  3. Name the port region Port Region - Fluid Flow Simulation.
  4. Hide all features of the simulation model except the geometry.
    1. Right-click an empty region of the 3D area, and select Visibility Manager .
    2. Keep the Shapes visible, and click to hide everything else.
  5. Click the Support field, and then select the five surfaces of the baffle that are exposed to oncoming airflow.

    These five surfaces are the same surfaces that comprise the Exposed Surfaces publication. That being said, do not select this publication as the support.



  6. Show all simulation features of your simulation model.
    1. In the Visibility Manager, click to show everything.
    2. Close the window.