ACU-T: 2300 Atmospheric Boundary Layer Problem – Flow Over Building

Prerequisites

Prior to starting this tutorial, you should have already run through the introductory tutorial, ACU-T: 1000 Basic Flow Set Up

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

Since the HyperWorks CFD database (.hm file) contains meshed geometry, this tutorial does not include steps related to geometry import and mesh generation.

Problem Description

The problem to be addressed in this tutorial is shown schematically in Figure 1. As an example, this problem shows the capability of Atmospheric Boundary Layer modelling in AcuSolve.



Figure 1.

In this tutorial, you will simulate the air flow over a building with a ground roughness of 0.03. In this case, User Defined Atmospheric Roughness Type is considered.

Start HyperWorks CFD and Open the HyperMesh Database

  1. Start HyperWorks CFD from the Windows Start menu by clicking Start > Altair <version> > HyperWorks CFD.
  2. From the Home tools, Files tool group, click the Open Model tool.


    Figure 2.
    The Open File dialog opens.
  3. Browse to the directory where you saved the model file. Select the HyperMesh file ACU-T2300_Building.hm and click Open.
  4. Click File > Save As.
  5. Create a new directory named Building_ABL and navigate into this directory.
    This will be the working directory and all the files related to the simulation will be stored in this location.
  6. Enter Building as the file name for the database, or choose any name of your preference.
  7. Click Save to create the database.

Validate the Geometry

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.

To focus on the physics part of the simulation, this tutorial input file contains geometry which has already been validated. Observe that a blue check mark appears on the top-left corner of the Validate icon on the Geometry ribbon. This indicates that the geometry is valid, and you can go to the flow set up.


Figure 3.

Set Up Flow

Set Up the Simulation Parameters and Solver Settings

  1. From the Flow ribbon, click the Physics tool.


    Figure 4.
    The Setup dialog opens.
  2. Under the Physics models setting:
    1. Verify that the Incompressible option is selected under Single phase flow.
    2. Set the Time marching to Steady.
    3. Select Spalart-Allmaras as the Turbulence model.
      The robustness and accuracy of the Spalart Allmaras turbulence model makes it an excellent choice for simulation of steady state flows.


    Figure 5.
  3. Click the Solver controls setting.
  4. Set the Steady update factor to 0.6 and the Steady maximum steps to 20.


    Figure 6.

Assign Material Properties

  1. From the Flow ribbon, click the Material tool.


    Figure 7.
  2. Select the solid.
  3. Select the Air material in the microdialog.
  4. Click on the guide bar.

Define Flow Boundary Conditions

  1. From the Flow ribbon, click the Atmospheric tool.


    Figure 8.
  2. Click the inlet face highlighted in the figure below.


    Figure 9.
  3. In the microdialog, select User Value for the Ground roughness type.
  4. Set the Friction Velocity to 0.106.
  5. Click the Move tool icon .


    Figure 10.
  6. Select the z rotation arrow, set it to -90 degrees, then press Enter.


    Figure 11.
  7. Verify the atmospheric flow direction (y) is aligned to the global coordinate X.


    Figure 12.
  8. Select the y rotation arrow, set it to -90 degrees, then press Enter.


    Figure 13.
  9. Verify the ground normal direction (x) align to the global coordinate Z.


    Figure 14.
  10. Click the origin of the coordinate (marked by the arrow), set the atmospheric ground origin to (0, 0, 0), and press Enter.


    Figure 15.
  11. Press Esc to return from the Move tool.
  12. On the guide bar, click to execute the command and exit the tool.
  13. Click the Outlet tool.


    Figure 16.
  14. Select the face highlighted in the figure below, verify that both the static pressure and the pressure loss factor are 0 in the microdialog, then click on the guide bar.


    Figure 17.
  15. Click the Slip tool.


    Figure 18.
  16. Hide the Atmospheric boundary and the Outlet using the Boundaries legend.
  17. Select the top surface and the two sides as shown in the figure below then click on the guide bar.


    Figure 19.
  18. Click the No Slip tool.


    Figure 20.
  19. Hide the Slip surfaces using the Boundaries legend.
  20. Select the bottom surface as shown in the figure below.
  21. Set the Roughness height to 0.03.


    Figure 21.
  22. On the guide bar, click to execute the command and exit the tool.

Run AcuSolve

  1. From the Solution ribbon, click the Run tool.


    Figure 22.
  2. Set the Parallel processing option to Intel MPI.
  3. Optional: Set the number of processors to 4 or 8 based on availability.
  4. Uncheck the Automatically define pressure reference option.
  5. Expand Default initial conditions and uncheck the Pre-compute flow and Pre-compute turbulence options.
  6. Set all the velocity components to 0 and the eddy viscosity to 0.0001.
  7. Leave the remaining options as default and click Run to launch AcuSolve.


    Figure 23.
    The Run Status dialog opens. Once the run is complete, the status is updated and you can close the dialog.
    Tip: While AcuSolve is running, right-click on the AcuSolve job in the Run Status dialog and select View Log File to monitor the solution process.

Post-Process the Results with HW-CFD Post

  1. Once the solution is completed, navigate to the Post ribbon.
  2. From the menu bar, click File > Open > Results.
  3. Select the AcuSolve log file in your problem directory to load the results for post-processing.
    The solid and all the surfaces are loaded in the Post Browser.
  4. Click the Slice Planes tool.


    Figure 24.
  5. Select the slice plane shown below.


    Figure 25.
  6. In the slice plane microdialog, click to create the slice plane.
  7. In the display properties microdialog, set the display to velocity and activate the Legend toggle.
  8. Click and set the Colormap name to Rainbow Uniform.


    Figure 26.
  9. Isolate Slice Plane 1.
  10. Click the Left face on the View Cube to orient the slice plane.


    Figure 27.

Summary

In this tutorial, you successfully learned how to set up and solve a simulation involving an atmospheric boundary condition using HyperWorks CFD. You started by opening the HyperWorks CFD input file with the geometry and then defined the simulation parameters, fluid material, and boundary conditions. Once the solution was computed, you visualized the results of the velocity magnitude on a plane.