Simple Wind in PyroSim

Reading Time: 12 minutes
Created with software version: 2023.3

1. Overview

This tutorial will demonstrate how to model wind and other atmospheric conditions using PyroSim’s Wind Parameters and Reserved Surfaces. In the 2021.3 release of PyroSim, we added support for some new FDS features that make modeling these different wind conditions simpler. This tutorial will cover how to use these new features. Users will learn how to configure a simple initial wind, modify the speed and direction of the wind over time, and control wind development at the boundaries of a model.

2. Before Starting

Before beginning this tutorial:

3. Introduction

It is possible to model and observe fire simulation effects due to wind and atmospheric conditions with PyroSim and FDS. FDS provides tools to model these conditions with a range of complexity.

At the most basic level, a simple initial wind condition can be modeled by defining a direction and windspeed. Adding more complexity to the condition, the user can define an initial wind field that varies direction and windspeed over time. With yet more complexity, the user can define this varying wind field to also vary over altitude. Finally, the user can also model wind conditions entirely differently, utlilizing the Monin-Obukhov Similarity theory. While the latter two methods are more accurate, this tutorial is intended only to provide a simple understanding of wind simulation in PyroSim. It will provide an example of the first two cases listed above. To learn about the Monin-Obukhov Similarity or simulating wind in general, check out Section 18.1 of the FDS User Guide.

The files provided above model a large 500mx500mx200m area with a number of large obstructions representing buildings and large obstructions like shipping containers. One of the buildings is configured as a 50,000kW ultra-fast t^2 growth fire using an Oak Wood Reaction. The simulation runs for a total of 600 seconds.

4. Defining a Simple Initial Wind

The goal of this section is to get the user familiar with the different model attributes that are required to effectively model atmospheric wind in PyroSim. In this section, the user will learn how to set up a model for wind, how to define a simple wind, and how to view the results of a wind simulation in the Results viewer. After going through this section, the user should be able to set up a simple wind simulation in any model made in PyroSim.

4.1. Setting up the model

To begin, open the Simple Wind in PyroSim model, available for download in Chapter 2. This model already has the geometry, fire, and Results slices defined. The mesh of this model is entirely closed meaning no ambient air, or wind flow, can enter the domain of the model. To open the boundaries of the mesh:

  1. Right-Click Mesh01 in the Navigation view.
  2. Click Open Mesh boundaries in the context menu.
pyro scrn mesh context open mesh boundaries
Figure 1. The context menu for Mesh01

This will create vents at all of the external boundaries of the mesh, group them by mesh, and place all of the grouped vents in a larger Mesh Boundary Vents group in the Navigation view. Notice that at the internal boundaries, where two meshes abutt, no vents were created.

All of these vents are created with the OPEN boundary condition, however we do not want this condition for all of the vents. For each vent appended with [ZMIN]:

  1. Double-Click the mesh in the Navigation view to open the Vent Properties dialog.
  2. In the dialog, set the Surface to INERT

This will prevent air from moving through these vents and will represent the ground in our model. Leave the other vents with the OPEN surface. These will represent a ambient atmospheric boundaries with no special development properties associated with them.

4.2. Defining the Initial Wind

To being configuring wind in the model:

  1. Open the Simulation Parameters dialog under Analysis > Simulation Parameters
  2. Click the Environment tab.
  3. In the Environment tab, click the checkbox next to Configure Wind, then click Edit.

This will open the Wind Parameters dialog.

pyro dialog wind parameters
Figure 2. The PyroSim Wind Parameters dialog with default settings

To configure a simple wind in the Wind Parameters dialog:

  1. Change the Speed value to 5.0m/s
  2. Change the Direction value to .
  1. Click Ok in the Wind Parameters and Simulation Parameters dialogs.

These settings will simulate a 5.0m/s wind coming out of the North of the model. Note that these are the initial values for the wind. FDS will create an initial velocity field using these values everywhere in the model. The wind will be affected by obstructions and flows generated by the model. Run the model by clicking the pyro ui icon run fds parallel Run FDS icon.

4.3. Viewing the Results

With the simulation complete, open the results in the Results viewer by clicking Show Results in the Run FDS dialog, or by clicking pyro ui icon results Show Results. In the Results viewer:

  1. Open the 2D Slices > Velocity dropdown.
  2. In the Velocity dropdown, double-click all of the Z = 10.000 slices to show them in the 3D window.
  3. Click the Play button at the bottom of the window.

The Velocity slice contour should show that a wind coming out of the North of the model with a 5.0m/s speed. It should also show that as the wind interacts with the obstructions in the model, it develops areas of stagnation and drag immediately in front of and behind the obstructions.

pyro video basic wind velocity
Figure 3. The first 60s of velocity of the simple wind configuration

Wind also has an effect on the flow of smoke and other reaction products in the model. To view this:

  1. Double-click 2D Slices in the Navigation View to hide all of the shown slices.
  2. Double-click 3D Smoke in the Navigation view to show the reaction products in the 3D window.
  3. Click pyro ui icon side view Side View.

This viewing angle has the North direction to the left. The 3D smoke products should show the wind coming out of the North, causing the smoke and other products from the burning obstruction to travel to the South.

pyro video basic wind smoke
Figure 4. The Smoke output of the simple wind configuration from 130s to 180s

The user should now be able to set up simulations using simple winds.

5. Changing Wind Speed and Direction over Time

This section adds an additional layer of complexity to wind definition. The goal of this section is to define a wind configuration that changes speed and direction over time. The user will accomplish this by defining both a Speed and Direction ramp for the wind. By the end of this section, the user should be familiar with how to define these profiles, as well as what effects they have on a simulation.

5.1. Configuring the Speed Profile

To begin, close the Results viewer and move back to the main PyroSim window. In the main window:

  1. Re-open the Wind Parameters dialog.
  2. Click on the Speed Change over Time tab.
  3. In the Speed dropdown, select Custom.
  4. Click Edit Values.

The Ramping Function Values dialog should now be visible. This dialog allows definition of a profile for the speed of the wind over time.

pyro dialog ramping function values
Figure 5. The Ramping Function Values dialog.

Each row in the table of this dialog represents a point in the speed profile. The left-hand column defines the time, and the right-hand column represents the speed at the given time, as a fraction of the speed defined in the Wind Profile tab. Define a simple speed profile by copying the speed profile given below, then clicking Ok.

pyro dialog ramping function speed map
Figure 6. The defined Speed profile.

5.2. Configuring the Direction Profile

Defining the Direction profile is similar to defining the Speed profile. To define the Direction profile:

  1. In the Direction dropdown, select Custom.
  2. Click Edit Values.

The Ramping Function Values dialog should now be visible, similar to Figure 6. The only difference between the dialogs is that instead of mapping the speed, this dialog maps the Direction of the wind in degrees. Define a simple Direction profile by copying the Direction profile given below, then clicking Ok.

pyro dialog ramping function direction map
Figure 7. The defined Direction profile.

After clicking Ok, close out of the Wind Parameters and Simulation Parameters profiles by also clicking Ok. Run the model by clicking the pyro ui icon run fds parallel Run FDS icon.

5.3. Viewing Results

With the simulation complete, open the results in the Results viewer by clicking Show Results in the Run FDS dialog, or by clicking pyro ui icon results Show Results. In the Results viewer:

  1. Open the 2D Slice Vectors > VELOCITY dropdown.
  2. Double-click on the Z = 10.000 items to display them in the 3D window.
  3. In the bottom left corner of the screen, set the Vector Magnitude to 2500 to make the vectors more visible.
  4. Click the play button to view the results.
pyro video changing wind velocity
Figure 8. Velocity vectors of wind with changing speed and direction

The Velocity vectors, shown in Figure 8, should show the wind intitially starting at 5.0m/s out of the North of the model, increasing speed to 10.0m/s by 30s, 15.0m/s by 60s, and then the wind shifting direction to flow out of the North East by 60s.

pyro video changing wind smoke
Figure 9. The Smoke output of the changing wind configuration

The smoke output of the fire is also affected by the shift in speed and direction. Figure 9 showcases this. The smoke initially flows to the South, but after the wind shifts to come out of the North East, the smoke also shifts to flow to the South West.

The user should now be able to modify wind flow in models to vary speed and direction over time.

6. Boundary conditions and reserved surfaces

This section covers modifying the boundary conditions of a model. The user will learn how to change the boundary conditions, and will also learn which conditions are available and what effects each condition will have on a model. The user will accomplish this by applying each condition to the existing model and observing their effects. Note that these conditions are best used in models that use the Monin-Obukhov Similarity theory to govern their wind flow. Modeling using this theory will be covered in it’s own dedicated tutorial. This section aims to get the user familiar with the basic effects of these boundary conditions.

6.1. The Open Condition

The OPEN condition is the condition that has been used throughout this tutorial. It is applied by applying the OPEN surface to the boundary vents. This condition simulates a passive opening to ambient conditions and is the most basic of the boundary conditions.

6.2. The Periodic Condition

The PERIODIC condition allows the model to develop wind more naturally over time. This condition allows simulation of an infinitely large domain for the flows in a model. It does this by taking any flows that exit a PERIODIC vent and injecting them back in to a PERIODIC vent that is on the exact opposite side of the domain from the exit vent. To apply the PERIODIC condition to this model:

  1. In the main PyroSim window, select all of the vents appended with XMIN, XMAX, YMIN, and YMAX by holding down the Ctrl key and clicking each of them.
  2. Continuing to hold the Ctrl key, double click on of the vents to open the Vent Properties dialog.
  3. Change the Surface from OPEN to PERIODIC.

Now run the model with the new PERIODIC boundary conditions by clicking the pyro ui icon run fds parallel Run FDS icon. With the simulation complete, open the results in the Results viewer by clicking Show Results in the Run FDS dialog, or by clicking pyro ui icon results Show Results.

Notice that even though only the boundary condition was changed in the model, the results are drastically different. For one, the effects of the wind flow exiting the model to the South are wrapped back around to enter the North boundary of the model, as shown in Figure 10. These effects then develop differently over time as they encounter the model, exit to the South again with a different flow pattern than they entered with, and then re-enter on the Northern boundary to continue the cycle. Secondly, the smoke and other reaction products exit the model to the South and re-enter the Northern boundary just as the wind does, as shown in Figure 11. This may not be desirable for some models and is addressed by the next boundary condition.

pyro video changing wind velocity periodic
Figure 10. Wind flow wrapping around the domain with the PERIODIC boundary condition.
pyro video changing wind smoke periodic
Figure 11. Smoke and other byproducts wrapping around the domain with the PERIODIC boundary condition.

Finally, notice that even though that neither the Speed nor Direction profiles were changed, the wind flow no longer changes direction. This is because FDS only enforces these profiles at the boundaries where they enter. Because PERIODIC boundary condition was used, the changes made by these profiles are overridden by the condition of the wind as it exited a PERIODIC surface. This is why this condition is best used in a Monin-Obukhov Similarity theory model - if a set of profiles are defined, like in Chapter 5, the PERIODIC surface will override it.

6.3. The Periodic Flow Only Condition

The PERIODIC FLOW ONLY condition behaves similarly to the PERIODIC surface, in that the effects of the wind flow wrap back around to the other side of the domain after they exit. However unlike the PERIODIC surface, smoke and other reaction products do not wrap around the domain, shown in Figure 12. They instead exit the model like the OPEN condition. In prior versions of FDS, this was accomplished by applying the PERIODIC boundary condition and then using the WIND=.true parameter. This was deprecated in FDS 6.7.5 and the PERIODIC FLOW ONLY surface was added.

pyro video changing wind smoke periodic flow only
Figure 12. Smoke and other byproducts exiting the domain while wind and other flows wrap around the domain using the PERIODIC FLOW ONLY boundary condition.

7. Conclusion

Users should now be familiar with how to configure simple initial winds, modify the direction and speed of those winds over time, and should understand the different FDS reserve surfaces provided through PyroSim and what their effects on will be on a model.

To download the most recent version of PyroSim, please visit the PyroSim support page and click the link for the current release. Please contact support@thunderheadeng.com with any questions or feedback regarding our products or documentation.

Related Tutorials

Basic First Model Reading Time: 13 minutes

To demonstrate basic Ventus (and CONTAM) capability, we will model a simple six-story building for winter and summer conditions.

Ventus Logo  -  flow geometry import output contam
Modeling a Pressure Relief Vent Reading Time: 4 minutes

Tutorial demonstrating how to model a pressure relief vent in Pyrosim.

PyroSim Logo  -  cad flow geometry hvac
Using PyroSim/FDS to Maximize Solar Panel Convective Cooling Reading Time: 12 minutes

Tutorial demonstrating how to use PyroSim/FDS to Maximize Solar Panel Convective Cooling.

PyroSim Logo  -  cad experiment flow heat transfer material mesh output radiation
Velocity Patch in FDS Reading Time: 4 minutes

Tutorial demonstrating how to create and FDS Velocity Patch in Pyrosim.

PyroSim Logo  -  calcs device experiment flow hvac output
(Legacy) PyroSim Fundamentals Reading Time: 3 minutes

(Legacy) Tutorial to experience the fundamental features of PyroSim

 -  presentation cad combustion control device flow geometry hvac import material mesh output pyrolysis radiation surf
Aircraft Evacuation Reading Time: 1 minute

Video tutorial demonstrating the variables that may have an effect on evacuation time from aircraft cabins.

Pathfinder Logo  -  aircraft behavior doors flow groups profile vehicles
Distribute Exit Goals Reading Time: 1 minute

Video tutorial demonstarting how to assign exit goals to percentages of the occupant population.

Pathfinder Logo  -  behavior doors flow groups profile
HVAC Pressure Drop Verification Reading Time: 2 minutes

Tutorial demonstrating how to verify HVAC Pressure Drop in Pyrosim.

PyroSim Logo  -  calcs devices flow hvac output