Generate the Mesh and Specify a Port Region

Generate a finite element model (FEM) for the baffle, specify a port region, and create an output request.

A FEM is a representation of a product using finite mesh elements. For complex geometries, you can modify the size and the type of the elements to generate high-fidelity simulation results. The optimization of the mesh is also crucial in terms of the numerical stability of the solver and the run time of the simulation. Using the physics simulation apps, you can generate a mesh composed of a particular type of element or combination of elements suitable for your geometry. For example, the sweep 3D mesh uses a surface mesh or creates an internal surface as a part of the sweep mesh to map the volume of the given geometry.

Parts exhibit different physical behaviors based on their geometries. For example, thin-walled parts do not exhibit stress in the direction of their thickness, whereas thick-walled parts do. To more accurately define a part's physical behaviors, you can apply properties to it before you run a simulation.

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

In this example, you generate a sweep 3D mesh (containing hexahedral mesh elements) for the baffle and define the baffle as a continuously solid region. In addition, you specify a port region to transfer the deformed mesh from the structural simulation to the second fluid flow simulation that you later create.

This task shows you how to:

Generate the Mesh and Create a Solid Section

  1. Generate the mesh for the baffle.
    1. In the Mesh section of the Assistant, click Sweep 3D Mesh .
    2. Select the baffle as the support.

      Alternatively, you select the baffle from the tree. Expand Baffle Product > Baffle A, and select PartBody.

    3. Enter a value of 10 mm for the Mesh Size.
    4. Expand the Distribution section, select Number of Layers, and enter a value of 2 for the number of layers.
    5. Click Mesh to generate the mesh.


    6. Click OK.
  2. Create a solid section to apply material properties through the thickness of the baffle.
    1. From the Properties section of the action bar, click Solid Section .
    2. In the tree, expand Model > Baffle Product > Baffle FEM > Nodes and Elements, and select Sweep3D Mesh.1 as the support.

      The Material field shows the material name as MynameRubber, which is the material that you applied to the baffle earlier in this example.

    3. Click OK.

Create a Port Region and Output Requests

  1. Create a port region to transfer the deformed mesh from the implicit dynamic step to the second fluid flow simulation that you later create.
    1. From the Standard section of the action bar, click Scenario .
    2. From the Interactions section of the action bar, click Port Region .

      Tip: If this option is not visible, see Simulation | Fluids | Fluid Scenario Creation Essentials (Mesh-Based Volume Definition) | Fluid Scenario Creation Essentials (Mesh-Based Volume Definition) | Fluid Scenario Creation Essentials Basics | User Interface | Action Bar | Contact Section.

    3. Name the port region Port Region - Structures Simulation.
    4. Right-click an empty region of the 3D area, and select Visibility Manager .
    5. Keep the Shapes visible, and click to hide everything else.
    6. Select all the faces of the baffle except the base as the support, and click OK.


    7. In the Visibility Manager, click to show everything.
    8. Close the Visibility Manager.
  2. Create an output request for the port region to request displacement and velocity.
    1. From the Output section from the action bar, click Output .
    2. Expand Scenario > Structural Analysis - Baffle > Interactions, and select Port Region - Structures Simulation as the support.
    3. Enter a value of 10 for n, which is the frequency at which you want the app to record the output data from the total number of iterations that the simulation runs.
    4. From the Output group options, select Field.
    5. Select the following output variables:

      • Displacement/Velocity/Acceleration > U, Translations and rotations
      • Displacement/Velocity/Acceleration > V, Translational and rotational velocities

    6. Click OK.
  3. Update the default output request to include the uniformly distributed pressure on the model.
    1. In the tree, expand Scenario > Structural Analysis - Baffle > Output Requests, and double-click Output.1.
    2. Enter a value of 10 for n.
    3. Select the following output variable: Forces/Reactions/Loads > P, Uniformly distributed pressure.
    4. Click OK.