3. Tools

The main menu toolbar contains the tools dropdown menu. Tools in WE-UQ are applications that are provided to create inputs for certain workflow applications, e.g. the Empty Domain CFD Simulation tool will provide a way to calibrate wind profiles that will be used as input for the main wind load CFD simulation.

3.1. Empty Domain CFD Simulation

When performing wind load evaluation on buildings using CFD, it is often necessary to calibrate the characteristics of the approaching Atmospheric Boundary Layer(ABL) flow. This is particularly important for transient simulations (i.e., LES) as the flow characteristics change downstream of the inlet. Thus, it is customary to run an empty domain simulation and evaluate the statistics of the flow at the incident location (i.e. where the building/structure will be placed). If the statistics of flow do not match the target wind profiles, the boundary conditions need to be rescaled. This process is often an iterative procedure that requires running an empty domain simulation multiple times. Once the target profiles are matched, the final boundary conditions can be used in the main wind load simulation. Fig. 3.1.1 describes this procedure schematically. The inputs of the empty domain simulation can be imported from the main simulation in the form of JSON file. Further reading material for running an empty domain simulation can be found in [Lamberti2018], [Melaku2021], [Melaku2024].

../../../../../_images/WEUQ_empty_domain_workflow.png

Fig. 3.1.1 The procedure of calibrating wind profiles using empty domain simulation.

To define the CFD model for the empty domain simulation, the user needs to follow the following key steps:

  1. Define the size of the computational domain

  2. Generate the mesh with refinement regions

  3. Define boundary conditions

  4. Specify numerical setups

  5. Setup the wind profiles to be monitored

  6. Submit the simulation to run remotely

  7. Post-process and verify the results

Considering the high computational cost of the simulation, the CFD models can only be run remotely using High-Performance Computing (HPC) resources at DesignSafe-CI. Thus, the user is required to have DesignSafe account to run the simulations. Also, the generated CFD model is saved locally as a typical OpenFOAM case. This will allow the user to copy this directory and run the simulation elsewhere.

To set up empty domain simulation in WE-UQ, from the Menu Bar click Tools and select CFD - Empty Domain Simulation as shown in Fig. 3.1.2. This will open up a new dialog window for defining the CFD model (see Fig. 3.1.3). The workflow for this feature is similar to Isolated Building CFD Model and the user needs to refer to this manual for details instructions. Here a brief step-by-step procedure is given.

../../../../../_images/open_empty_domain_from_menu_bar.svg

Fig. 3.1.2 Open dialog window for setting up empty domain simulation.

../../../../../_images/empty_domain_dialog_window.svg

Fig. 3.1.3 Empty domain simulation setup window.

3.1.1. Start

Fig. 3.1.1.1 shows the Start tab of the simulation window. Here the user needs to define the location of the OpenFOAM case directory in Path. This location could be anywhere on the user’s machine. However, it is recommended to put it in the user’s Documents folder under WE-UQ/LocalWorkDir subfolder. The version of the OpenFOAM pre-processors for this tool is Version 10 and all the units are metrics.

../../../../../_images/empty_domain_start_tab.svg

Fig. 3.1.1.1 Specifying the working directory in Start tab of the workflow.

3.1.2. Computational Domain

In Geometry tab specify details related to the size of the computation domain, geometric scale and coordinate system as seen in Fig. 3.1.2.1. The model for empty domain CFD simulation can be recreated from a JSON setup file exported from the main wind load simulation as demonstrated in Fig. 3.1.1.

../../../../../_images/empty_domain_geometry_tab.svg

Fig. 3.1.2.1 Define the dimensions of the computational domain in Geometry tab of the workflow

  1. Geometric Scale: The ratio of the full-scale dimensions to the model scale dimensions. If a simulation is run at full scale, this value should be set to 1.0.

  2. Main Domain JSON Setup File: Used to import JSON file from the main wind load simulation by clicking the button Import JSON. This will automatically populate fields matching the dimension and boundary conditions from the wind load simulation domain.

  3. Domain Length (X-axis): Dimension of the domain in the streamwise direction (x-axis).

  4. Domain Width (Y-axis): Dimension of the domain in the lateral direction (y-axis).

  5. Domain Height (Z-axis): Height of the domain in in vertical direction (z-axis).

  6. Fetch Length (X-axis): The distance between the inlet of the computational domain and the anticipated location of the structure. This is the location where the incident wind profiles will be monitored.

3.1.3. Mesh Generation

The mesh generation follows the same procedure described in Isolated Building CFD Model. For the empty domain simulation, only a background mesh with regional refinements is needed as shown in Fig. 3.1.3.1. Once the user defines meshing parameters in Background Mesh and Regional Refinements subtab, the final grid can be generated by clicking Run Final Mesh button shown in Fig. 3.1.3.1.

../../../../../_images/empty_domain_mesh_tab.svg

Fig. 3.1.3.1 Define mesh parameters and generate the computational grid in Mesh tab of the workflow

3.1.4. Boundary Conditions

Before defining boundary conditions, for ABL flows, the user needs to set the characteristics of the approaching wind. This is done by defining parameters such as exposure conditions, and reference wind speed and physical properties flows as seen in Fig. 3.1.4.1. The most important boundary condition for ABL flows is the inlet boundary. This boundary condition can be set as a turbulent inflow by using TInf option at the Inlet. Then, details about the inflow turbulence generation can be specified under Inflow Generation part (see Fig. 3.1.4.1). Here are the inputs needed for setting up turbulent inflow:

  1. Generation Method: Specifies the type of inflow turbulence generation method. By default, it is set to the Digital Filtering Method (DFM). Similarly, techniques based on the spectral representation method such as Divergence-free Spectral Representation (DFSR) method, can be used here.

  2. Wind Profile: Define the target profile of the approaching wind. The target profiles can be imported from a *.csv file by using Import (.csv) button. Once the file is imported, it can be displayed in tabular format by clicking Show Wind Profiles as seen in Fig. 3.1.4.2. The target profiles are defined by prescribing the variation of mean velocity, Reynold’s stress, and integral length scale profile along the height of the domain (z-direction).

../../../../../_images/empty_domain_bc_tab.svg

Fig. 3.1.4.1 Specify the inflow boundary conditions using the TInf option in the Boundary Conditions tab.

../../../../../_images/empty_domain_bc_profile.svg

Fig. 3.1.4.2 Display the target wind profiles by clicking Show Wind Profiles button.

3.1.5. Numerical Setup

For specifying parameters related to the turbulence model, solver and numerical methods used, please refer to the description in Isolated Building CFD Model.

3.1.6. Result Monitoring

The main result often studied in empty domain simulation is the downstream evolution of the wind profiles. The workflow provides options to monitor wind profiles along a line probe. Also, the 2D snapshot of the flow field can be recorded by defining VTK planes. Details about the input fields in Fig. 3.1.6.1 are provided below.

../../../../../_images/empty_domain_result_monitoring.svg

Fig. 3.1.6.1 Define line probes to monitor wind profiles and VTK planes for the flow field in Monitoring tab of the workflow.

Line Probes

The line probes monitor velocity or pressure field along a line. To define a line the user needs to specify the Name, start and end coordinates of the line, No. Points on the line, Field as shown in Fig. 3.1.6.1.

  1. Record Wind Profiles: If this option is checked wind profiles will be recorded while the simulation is running.

  2. Add Profile: Adds a new line probe in the table.

  3. Remove Profile: Removes a selected line probe from the table.

  4. Field Write Interval: The interval (as a multiple of the time step) at which to record the wind profiles.

  5. Write Start Time: A allows the user to specify a time from which to start monitoring results. For unsteady CFD simulations, it is common for the first few time steps to experience very transient fluctuations and it’s recommended to avoid this part from the analysis.

VTK Planes

The flow field on a section of the domain can be monitored by defining 2D planes. The resulting flow field will be saved in *.vtk format. A VTK plane can be defined by specifying its Name, Normal axis, X, Y, Z coordinates of a point on the plane, Start Time, End Time and Field in a tabular format as shown in Fig. 3.1.6.1.

  1. Sample Flow Field: If this option is checked the flow field on a VTK plane will be saved while the simulation is running.

  2. Add Plane: Adds a new VTK plane in the table.

  3. Remove Plane: Removes a selected VTK plane from the table.

  4. Flow Write Interval: The interval (as a multiple of the time step) at which to record the VTK plane.

3.1.7. CFD Result

After the simulation is completed, the results can be displayed in the Results tab. The results are calculated based on the monitoring options the user supplied in the previous tab. The workflow post-processes the characteristics of the approaching flow including wind profiles, velocity spectra as well as pressure fluctuations. Fig. 3.1.7.1 shows the Results tab with all paoting options.

Note

To display the results in this tab, first, the user needs to make sure the CFD simulation is completed successfully and the results are retrieved from DesignSafe by clicking GET From DesignSafe button.

../../../../../_images/empty_domain_result_display.svg

Fig. 3.1.7.1 Plot the wind profiles, velocity spectra and pressure fluctuations in the Results tab of the workflow.

  1. Wind Profiles: After selecting the line probe from the combo box under Name of the Profile, the user can plot the comparison of the wind profiles from the simulation with the target values by clicking Plot Profile button.

  2. Velocity Spectra: After selecting the name of the line probe and height above the ground (Location), the user can plot the comparison of the velocity spectra from the simulation with the target spectra by clicking Plot Spectra button. The spectra are computed at 4 locations along the height i.e., \([0.25 H_{ref}, 0.5 H_{ref}, H_{ref}, 2H_{ref}]\), where \(H_ref\) the reference height defined in the Boundary Conditions tab.

  3. Pressure Fluctuations: Similarly, by selecting Name of the Profile, the distribution of pressure fluctuations (standard deviation) can be displayed.

Sample plots for wind profiles, velocity spectra and pressure fluctuations are shown in Fig. 3.1.7.2.

../../../../../_images/empty_domain_result_sample.svg

Fig. 3.1.7.2 Sample plots of the results from the empty domain simulation.

Greenshields2015

Greenshields, C.J. (2015). OpenFOAM Programmer’s Guide. OpenFOAM Foundation Ltd.

Franke2007

Franke, J., Hellsten, A., Schlünzen, K.H. and Carissimo, B., 2007. COST Action 732: Best practice guideline for the CFD simulation of flows in the urban environment.

Greenshields2022

Greenshields, C.J. (2022). https://doc.cfd.direct/openfoam/user-guide-v10/snappyhexmesh

Melaku2021

Melaku, A.F. and Bitsuamlak, G.T., 2021. A divergence-free inflow turbulence generator using spectral representation method for large-eddy simulation of ABL flows. Journal of Wind Engineering and Industrial Aerodynamics, 212, p.104580.

Lamberti2018

Lamberti, G., García-Sánchez, C., Sousa, J. and Gorlé, C., 2018. Optimizing turbulent inflow conditions for large-eddy simulations of the atmospheric boundary layer. Journal of Wind Engineering and Industrial Aerodynamics, 177, pp.32-44.

Melaku2024

Melaku, A.F. and Bitsuamlak, G.T., 2024. Prospect of LES for predicting wind loads and responses of tall buildings: A validation study. Journal of Wind Engineering and Industrial Aerodynamics, 244, p.105613.

Klein2003

Klein, M., Sadiki, A. and Janicka, J., 2003. A digital filter-based generation of inflow data for spatially developing direct numerical or large eddy simulations. Journal of Computational Physics, 186(2), pp.652-665.

Xie2008

Xie, Z.T. and Castro, I.P., 2008. Efficient generation of inflow conditions for large eddy simulation of street-scale flows. Flow, turbulence and combustion, 81, pp.449-470.

Jarrin2006

Jarrin, N., Benhamadouche, S., Laurence, D. and Prosser, R., 2006. A synthetic-eddy-method for generating inflow conditions for large-eddy simulations. International Journal of Heat and Fluid Flow, 27(4), pp.585-593.

Poletto2013

Poletto, R., Craft, T. and Revell, A., 2013. A new divergence-free synthetic eddy method for the reproduction of inlet flow conditions for LES. Flow, turbulence and combustion, 91, pp.519-539.

Kröger2018

Kröger, H. and Kornev, N., 2018. Generation of divergence-free synthetic inflow turbulence with arbitrary anisotropy. Computers & Fluids, 165, pp.78-88.