4.4. Digital Wind Tunnel I: Empty Domain Simulation

Problem files

weuq-0011/

Digital Wind Tunnel is implemented in WE-UQ Version 2.3.0. This feature aims to provide the users with the computational tool to run CFD simulations with the user-defined atmospheric boundary layer inflow conditions and the user-defined OpenFOAM model.

This project collaborates with the University of Florida (UF) NHERI Experimental Facility (EF). Multiple inflow conditions characterized by the roughness height and friction velocity were generated by changing the orientation and height of the Terraformer in the wind tunnel. The mean flow structure at each inflow condition is captured by velocity probes downstream 1.

Schematic diagram of a wind tunnel configuration, showing the components aligned in the direction of airflow. From left to right, labels indicate a fan bank, screens, and a honeycomb structure at the inlet, followed by a terraformer section, a development section, and finally the test section featuring a circular object. The diagram includes dimensions with a total tunnel length of 29,500 mm, test section width of 6,000 mm, and height of 3,000 mm. The flow direction is indicated as positive x, aligning with the axis and reference origin labeled on the diagram.

Fig. 4.4.1 UF’s BLWT facility 1.

The Digital Wind Tunnel would allow users to edit the geometric information and inflow conditions through a user interface of WE-UQ, and run the CFD simulations to obtain the aerodynamic loads on structures aided by the open-source CFD software named OpenFOAM and structural responses aided by OpenSees. Compared to traditional physical wind tunnels, the digital wind tunnel would allow for great flexibility in testing different designs and wind scenarios and has free access to the TACC Frontera computing nodes. In particular, in the Digital Wind Tunnel, the empty domain analysis enables users to simulate the atmospheric boundary layer flows with the user-defined inflow wind characteristics including mean wind velocity profiles, Reynolds stress tensor and length scales. The mean flow structure can also be captured downstream using the sampling functions in OpenFOAM, which can be further validated through the wind tunnel data.

Illustration showing a zoomed-in section of a material with a complex internal structure. The top part of the image displays an enlarged schematic view of the material's weave pattern within a highlighted yellow outline, suggesting a detailed analysis or focus on the fine structure. Below, the material appears as a three-dimensional rectangular block with a chaotic mix of red and brown elements within, representing the microscopic composition or perhaps the flow of particles or fibers within the material. A curved arrow connecting the two parts indicates a relationship between the macro view and the micro view of the material's internal makeup.

Fig. 4.4.2 Schematic diagram for the Digital Wind Tunnel.

4.4.1. CFD modeling

The first step to run a CFD simulation in the Digital Wind Tunnel is to set up an OpenFOAM case which involves creating a directory structure with specific files that define the simulation settings, such as the geometry, mesh, and boundary conditions. The Digital Wind Tunnel allows users to upload their own model to run CFD simulations. To prepare the OpenFOAM case directory, three sub-directories are needed: 0, constant and system.

The image displays a diagram showing the structure of a case directory for computational fluid dynamics (CFD) simulation. At the top, a folder labeled "Case directory" branches into three main folders: "system," "constant," and "0" for initial/boundary conditions. The "system" folder is detailed with files such as "blockMeshDict," "controlDict," "fvSolution," and "fvSchemes." The "constant" folder includes "transportProperties" and "turbulenceProperties," while the "0" folder contains a file named "polyMesh." The folders and files are represented by icons that resemble blue file folders and document symbols, and the diagram's layout suggests the hierarchical organization of these elements within the case directory.

Fig. 4.4.1.1 Directory structure for an OpenFOAM case.

To run a simulation in the Digital Wind Tunnel, select the EVT panel in the user interface. From the Load Generator, pull-down menu and select the CFD - Digital Wind Tunnel. The CFD model can be uploaded by pressing the Browse button in the section of OpenFOAM Parameters.

Screenshot of the "WE-UQ: Wind Engineering with Uncertainty Quantification" software interface. It shows a section with parameters for a computational fluid dynamics simulation inside a digital wind tunnel, including fields for inlet and outlet length, and options for force calculation. To the right, there's a 3D graphical representation of a wind tunnel with the label "Inlet" indicating the air entry section. At the bottom of the interface, there are buttons to run the simulation or to get it from DesignSafe, and an option to exit the program.

Fig. 4.4.1.2 User interface of the digital wind tunnel.

Alternatively, users can run a CFD simulation using the benchmark CFD model embedded in the Digital Wind Tunnel for empty domain analyses. The following table provides the basic information about the CFD modeling. Large eddy simulation (LES) was employed to model the turbulent flow. The CFD model can be downloaded from github website.

Table 4.4.1.1 Model parameters for the benchmark CFD simulation

Parameter

descriptions

Domain size

10*5*3

Grid number

5,638,659

Mesh generator

snappyHexMesh

Turbulence model

Large eddy simulation

A 3D digital grid model of a rectangular object. The grid appears denser in the center, creating a shaded effect that gives the impression of depth, with blue towards the center and fading to lighter tones toward the edges. This image likely represents a simplified visualization or wireframe of a 3D object, often used in computer graphics and modeling to depict the form and structure before adding textures or details.

Fig. 4.4.1.3 Mesh generation for the benchmark CFD model.

4.4.2. Inflow configurations in the Digital Wind Tunnel

After the mesh generation and basic configurations for CFD modeling have been established, it is crucial to generate inflow turbulence that conforms to the desired atmospheric boundary layer flows. This step is essential in setting up a CFD model that can accurately simulate atmospheric flows across a broad spectrum of length and time scales. One common approach to generating inflow turbulence is to use synthetic inflow generation, which involves synthesizing turbulent fluctuations at the inflow boundary based on the statistical properties of the turbulence.

In the Digital Wind Tunnel, the synthetic inflow turbulence generation is enabled by the Turbulence Inflow Tool (TInF) developed by the NHERI SimCenter. Multiple synthetic inflow generation approaches are implemented in TInF, including the Digital Filtering Method and Synthetic Eddy Method. The TInF tool can utilize the statistical properties defined by users to produce a time series of turbulent fluctuations at the inflow boundary, which can then be integrated into WE-UQ for running CFD simulations. The TInF tool can be directly downloaded from github website.

There are two ways to specify the user-defined inflow boundary conditions that characterize the desired atmospheric boundary layer flows: direct specification and specification via prescribed functions.

4.4.2.1. Direct specification of inflow turbulence through uploading a table

In the context of direct specification, the Digital Wind Tunnel allows users to specify the inflow turbulence properties obtained from wind tunnel measurements, such as mean velocity, Reynolds stress, and length scales at the inflow boundary for a CFD simulation. For example, the following table Specifies one inflow condition based on wind tunnel measurements at the UF BLWT facility:

A screenshot of a spreadsheet containing a large table with multiple columns of numeric data values. The column headers include terms like 'mean(U)', 'rms(u')', 'rms(v)', 'rms(w)', 'xl(m)', 'yl(m)', and several others. Each row corresponds to different data points labeled by numbers in the 'Points (mm)' column ranging from 5 to 285. The data appears to represent various measurements and calculations possibly related to a physics or engineering experiment.

Fig. 4.4.2.1.1 Inflow turbulence properties based on the wind tunnel measurements.

Note

Users need to adhere to the following table format when inputting the inflow parameters.

Table 4.4.2.1.1 Inputs of inflow parameters through direct specification :align: center

Column 1 points

Column 2 mean velocity

Columns 3 to 8 Reynolds STress Tensor

Columns 9 to 17 Length Scales

Users can upload the table with the .csv format by pressing the Browse button in the section of Model Parameters.

The Digital Wind Tunnel will modify the corresponding OpenFOAM case files based on the user’s inputs. In particular, the boundaryData/inlet directory inside the constant directory will be generated, which contains the information of the mean velocity profiles, Reynolds stress, and length scales along the height based on the uploaded table.

Screenshot of a user interface for a software application, displaying "Model parameters" with an option for "User-defined inflow boundary data". A table is shown with columns for Points (mm), meanU (m/s), '<u'u'> (m2/s2), '<u'v'> (m2/s2), and '<u'w'> (m2/s2). Five rows of data are visible with Point values ranging from 5 to 45 mm and corresponding meanU values from approximately 6.1 to 7.9 m/s. The '<u'v'> column has a constant value of -0.5476, while the '<u'w'> and the last column contain only zeros. Additionally, there's a button labeled "browse" near the top right to select a .csv data file.

Fig. 4.4.2.1.2 Specifying inflow turbulence through uploading a table.

4.4.2.2. Specification via prescribed functions

If the wind tunnel data is not available, the user can also specify the inflow conditions through the embedded functions in the Digital Wind Tunnel. There are three functions to characterize the atmospheric inflow profiles: uniform function, exponential function and logarithmic function. The uniform function assumes a constant wind velocity over the entire simulation domain, but may not accurately represent the complex nature of atmospheric boundary layer flows. The exponential function is often used to represent the vertical profile of wind velocity in the atmospheric boundary layer. The logarithmic function is another commonly used function that also represents the vertical profile of wind speed in the atmospheric boundary layer, based on the assumption of a logarithmic variation of wind velocity with height.

Screenshot of a user interface displaying 'Inflow turbulence parameters' for a simulation or analysis. It contains adjustable settings for 'Profile type' set to 'logarithmic model', 'Friction model parameters' with inputs for 'Friction velocity (u*)' and 'Roughness height (z0)', both set to '0'. Below, there is an option to 'load R and L from file' or 'enter R and L manually', with radio buttons to select either. The 'Reynolds stress (symmetric tensor)' section lists a 3x3 matrix of numerical input fields with diagonal values set to '1.00' and off-diagonal values set to '0.00'. Additional fields for 'reference angle (deg)', 'reference distance', and 'alpha (vector)' with numerical inputs at '0.0' and '1.00' or '0.000' respectively. The 'Length scales (tensor)' section mirrors the structure of the Reynolds stress with similar values, along with another 'reference angle (deg)' field at the bottom set to '0.0'. All input fields have adjustment arrows, suggesting they are interactive elements allowing the user to customize the parameters for their specific requirements.

Fig. 4.4.2.2.1 Inflow configuration using embedded functions.

The Digital Wind Tunnel offers several methods to generate synthetic turbulence at the inflow boundary, including the digital filtering method. When a user selects a particular method, the Digital Wind Tunnel will modify the corresponding OpenFOAM case files based on the user’s inputs. For instance, if the digital filtering approach is selected, WE-UQ will automatically modify the inflow file U in the OpenFOAM case directory to set up the basic parameters for the approach.

The related entries are in the form of

boundaryField
{
    inlet
    {
        type            turbulentDFMInlet;
        filterType      exponential;
        gridFactor      1;
        filterFactor    4;
        periodicInY     false;
        periodicInZ     false;
        cleanRestart    false;
        value           $internalField;
    }
}

4.4.3. Running a CFD simulation in the Digital Wind Tunnel

After the CFD model is set up, the next step is to run the CFD simulations. Press the RUN at DesignSafe button to submit the job to TACC Frontera HPC resources. Once the simulation is completed, download the data from GET from DesignSafe. Post-processing tools including paraView can be used to visualize and analyze the flow simulations. Once the CFD simulation with the specified inflow conditions has been performed, the velocity profiles downstream can be computed from the resulting data and compared with experimental measurements to validate the accuracy of the simulation. This validation step is important to ensure that the simulated results are reliable and can be used for further analysis including building design.

Image showing error in description

Fig. 4.4.3.1 Post-processing tools for visualizing and validating the inflow turbulence profiles.

To further process the velocity profiles downstream, users can utilize the OpenFOAM embedded sampling functions such as probe to gather the velocity data and validate the profile. Additionally, users can refer to the Jupyter Notebooks project published in DesignSafe to visualize and plot the velocity profile downstream.

1(1,2)

Catarelli, R. A., Fernández-Cabán, P. L., Masters, F. J., Bridge, J. A., Gurley, K. R., & Matyas, C. J. (2020). Automated terrain generation for precise atmospheric boundary layer simulation in the wind tunnel. Journal of Wind Engineering and Industrial Aerodynamics, 207, 104276.