Basic First Model

Reading Time: 13 minutes
Created with software version: 2023.1

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

The user should work through this entire example, if you need help, the models are attached as files at the end of this document.

Problem Geometry

The building has six identical levels that each have two rooms and a stair. Doors provide access between the rooms and to the stair. We will assume leakage through the walls and floors. The floor-to-floor height is 3 m.

The first figure shows the geometry of the model and the second figure shows the corresponding flow path areas between rooms.

Plan View, Room Names
Figure 1. The geometry of the example problem with zone names.
Plan View, Flow path names
Figure 2. Flow path areas with flow path names at the stairwell. The values in the parentheses are areas to the level below.

For each of the flow paths, the flow elements will use the following leakage areas.

Table 1. Leakage areas of flow paths.
PathElement NameFlow Area (m²)
Single door (closed)Door-SC0.0158
Double door (closed)Door-DC0.0316
Wall per m²Wall-per-area3.50E-04
Floor per m²Floor-per-area1.70E-04

We will assume the following temperatures. Our first model will use winter conditions.

Table 2. Temperature conditions
LocationWinter Temperature (°C)Summer Temperature (°C)
Outdoor-1533
Building2222
Stairwell-1331

Problem Setup using Winter Conditions

The model will be created using Winter conditions.

Setup a New Model

Define options that are model parameters and save the file:
  1. Run Ventus.
  2. On the Menu Shortcut, click SI to use metric units.
  3. On the View menu, click Edit Snap Grid. Type 1 and click OK. This sets the grid spacing that we use when drawing the geometry. 
  4. Set the default zone temperature. On the Analysis menu, click Simulation Parameters and for the Default Zone Temperature type 22. Click OK.
  5. Set ambient temperature. On the Model menu, click Weather and Wind. Click Edit to change the Ambient Temperature and change the value to -15. Click OK to close the Ambient Temperature dialog and then click OK to close the Weather and Wind dialog.
  6. On the File menu, click Save and name the file getting started winter.

Draw the zones

Draw the geometry of Level 0.0 (Level 1):
  1. In the View Toolbar, click Switch to the Top View. If the grid is not displayed, on the View menu, click Show Snap Grid.
  2. In the Model Toolbar, double-click the Add a Rectangular Room tool. Draw Room 2 and the Stair. Press ESC to unselect the tool.
  3. In the Model Toolbar, click the Add a Polygonal Room tool. Draw Room 1 by clicking on the existing corners and then on grid points. After drawing the last unique point, right-click to close the polygon.
  4. Using the Select/Edit Objects tool, select and rename each of the rooms to Room 1, Room 2, and Stair.
  5. Select the Perspective View, click Reset All, and click the 3D Orbit Navigation tool. Spin your model and the view should look as shown below.
Level 1 Rooms
Figure 3. Level 1 Rooms

Define Flow Elements

The flow elements define the types of flow paths we will use in the model. Each flow path will reference a Flow Element. The flow element name and area are given in the Problem Geometry section above.

To define flow elements:
  1. Before we create the flow paths we must define the types of flow elements. In the Tree view, double-click Flow Elements. The names of the default Flow Elements indicate the Powerlaw Model and the Type. So the default AREA/Area flow element uses the Leakage Area Data Powerlaw model with the Per Unit Area option.
  2. Select the existing AREA/Item flow element and then click Duplicate. Type the Name Door-SC (a closed single door). The new flow element will be Based On the existing flow element you selected, in this case AREA/Item. Click OK to close the Duplicate Flow Element dialog.
  3. Change the Door-SC flow element Area per Item to 0.0158 m^2. When the leakage is specified Per Item, that defines the total leakage area for that flow element. The remaining default parameters are appropriate. Click Apply.
  4. Repeat for the double-width door Door-DC. Change the Leakage Area to 0.0316. Click the Color box and change the color to magenta. Click Apply.
  5. Select the existing AREA/Area flow element and then click Duplicate. Type the Name Wall. Click OK.
  6. Set the Area per Unit Area to 3.5E-4 m2/m2. When the leakage is specified Per Unit Area, the total leakage area is calculated by multiplying by the wall area. The other default parameters are appropriate. Click Apply.
  7. Repeat the steps to add the floor leakage Floor. Change the Leakage Area to 1.7E-4 m2/m2. Click the Color box and change the color to orange. Click Apply.
  8. Select the existing STAIRWELL flow element and then click Duplicate. Type the Name Stair. Click OK.
  9. The Cross-sectional Area is 18 m^2. Assume zero Density of People and Closed Stair Treads. Click Apply.
  10. Click OK to close the Edit Flow Elements dialog.

Create the Flow Paths

Now we draw the flow paths.

To define flow paths:
  1. It is easiest to work in the top view, so click Switch to the Top View. We will turn off snapping to the existing grid to make it easier to place the flow path in any location. In the View menu, unselect Show Snap Grid.
  2. Double-click the Create a Flow Path Between Two Walls tool (the double-click makes the tool stay active for multiple paths).
  3. Select the Element type Wall.
  4. Click and drag to create 11 wall flow paths (the green paths shown below). To make a flow path between zones, click in one zone and drag to the second zone. To make a flow path to ambient, click in the zone and drag outside the zone. The wall area of the flow paths is automatically calculated and used as the multiplier.
  5. Now add the door flow paths. Using the Create a Flow Path Between Two Walls tool, select the Element type Door-SC. For AREA/Item flow elements the multiplier is assumed to be a value of 1.
  6. Add the two single doors, Door-SC (the red paths shown below).
  7. Select the Element type Door-DC and add the double door Door-DC (the magenta path shown below).
  8. Press ESC to leave the Create a Flow Path Between Two Walls tool.
  9. When you are finished, your model should look like this.
Model after adding flow paths to Level 1
Figure 4. Model after adding flow paths to Level 1

Set Stair Temperature

We set the stair temperature to -13 C, the winter condition defined in the Problem Geometry section above.

To set temperature for the Stair zone:
  1. Using the Select/Edit tool, select the Stair zone.
  2. Select the checkbox for Temperature and type -13.

Rename Stair Wall Flow Paths and Verify Wall Areas

In order to make it easier to find the walls that surround the stairs, we will rename the wall flow paths using the names shown in the Problem Geometry section above.

To rename stair flow paths and verify flow area coverage:
  1. Using the Select/Edit tool, click on each of the four wall flow paths surrounding the stair and change their names (StairN, StairS, StairE, StairW).
  2. Also rename the two doors that access the stair (D2 and D3).
  3. For all the wall flow paths, the multiplier should be equal to the wall area. You can click on each flow path to verify that the areas match the correct values given in the Problem Geometry section above.
  4. You can also display the flow area coverage. In the View Toolbar, click the Show Flow Path Coverage tool. This is an easy way to see that all flow paths has been defined.
Display of flow path area coverage
Figure 5. Display of flow path area coverage.

A short summary of the wall area calculation is useful.

To summarize the wall area calculation:
  1. The area calculation is only done when the area is given as Area per Unit Area.
  2. The second wall is projected onto the first wall. This is illustrated below. Here the lower flow path was created by dragging from the left to right. The wall of the second zone is projected onto the first wall. If the walls are not parallel, the calculated area will depend on the definition of the first and second walls since the projection will be slightly different. Any flow path where the angle between walls is greater than 1 degree, will have a warning flag. You can edit that flow path to manually specify the area you desire.
Display of projected areas
Figure 6. Display of projected areas showing how the second wall is projected onto the first to perform the area calculation.

Copy Level 1 to Level 2

To copy objects, we select them and then use the Copy/Move Objects tool. One easy way to select and copy objects is with the Select/Edit Objects tool; click and drag to select all the objects you want to copy. Another way is to select objects in the tree.

To create Level 2 by copying Level 1:
  1. Using the Select/Edit Objects tool, click and drag to select all the zones and flow paths on Level 0.0.
  2. Click the Copy/Move Objects tool. Select Copy Mode and make 1 copy. Type 3 in the Move Z box. Click Copy/Move.
  3. Go to Perspective View and click Reset All. Your model should look like this.
The model after creating Level 3.0 (Level 2)
Figure 7. The model after creating Level 3.0 (Level 2)

Edit Level 2

Often the ground floor (level 1) is different than the higher levels. In this example, there is no double door from the stair to the exterior for any of the levels above the ground level. We will also add flow paths from the active level rooms to the rooms below and add the Stair flow path.

To configure the view for easier editing:
  1. In the View toolbar use the Change how geometry is rendered dropdown to select the X-Ray option.
  2. In the Active Level panel of the property editor ribbon, select Show lower level.
  3. In the tree, right-click on Level 3.0 and click Set as Active Level.

You now see Level 3.0 and the level below.

To update the geometry and flow paths for Level 3.0 (Level 2):
  1. Delete the double door from the stair to the exterior. 
  2. Double-click the one point flow path tool. Select the Element Floor.
  3. Click on the floors of the two rooms to add flow paths to the rooms below.
  4. Select the Element Stair. Click on the stair zone to add the flow path to the stair below.
  5. Press the ESC key to unselect the tool.
  6. Your model should look like the figure below.
Level 3.0 (Level 2) after deleting door and adding floor flow paths.
Figure 8. Level 3.0 (Level 2) after deleting door and adding floor flow paths.

Copy Level 2 to Levels 3 to 8

Now we copy Level 2 to Levels 3 to 8.

To create Levels 3-8 by copying Level 2:
  1. To select and display only Level 2, in the Tree, right-click Level 3.0 (Level 2) and click Set as Active level. In the ribbon unselect Show lower level.
  2. Using the Select/Edit Objects tool, click and drag to select all the zones and flow paths on Level 3.0.
  3. Click the the Copy/Move Objects tool. Select Copy Mode and make 6 copies. Type 3 in the Move Z box. Click Copy/Move.
  4. Go to the Perspective View and click Reset All.
  5. In the tree, right-click Levels and click Show All to display all levels.
  6. With all levels selected, change the Opacity to 20%.
  7. Your model should look like this.
Model with all eight floors.
Figure 9. Model with all eight floors.

Run the Simulation

Run the simulation.

To run the simulation:
  1. On the Analysis menu, click Run Simulation. If successful, the final line in the Run Simulation dialog will be DONE!
  2. Click OK to close the Run Simulation dialog.

Process Results

We can now process the results. There are several options.

Graphical Display of Results

The graphical display shows lines representing the pressure difference (magenta) and the flow rate (green) at each flow path.

To view pressure differences:
  1. In the View toolbar, select Show Results.
  2. In the tree, right-click on Flow Paths and click Hide.
  3. Your model displays arrows showing the pressure difference and flow as shown below.

You can select a flow path to see the values displayed in the ribbon. These match the CONTAM-W model results.

Results display of pressure difference and flow.
Figure 10. Results display of pressure difference and flow.

Click a flow path to display the pressure difference and flow rate.

.The stair flow on the north side of the top stairwell has been selected.
Figure 11. The stair flow on the north side of the top stairwell has been selected.

Tabular Display of Results

We can also filter and display the flow path data using a tabular display. We will plot the flow rates of the north stair flow paths as a function of Z location.

To show a table of flow path data for the North Stair:
  1. On the right of the screen, click Path Data. This displays all results for the simulation.
  2. To filter to just the north flow paths, in the search box type StairN.
Display of path data filtered to StairN.
Figure 12. Display of path data filtered to StairN.

You can now use this data and make a graph of the results using external software.

Spreadsheet plot of flow data.
Figure 13. Spreadsheet plot of flow data.

Work with Results File

We can save a file of tabulated results for zones and flow paths. To create this data, Ventus uses a combination of the simread executable provided by CONTAM and internal Ventus linking of names to flow paths. The names give us a way to use a spreadsheet to display only the flow paths that are connected to the stair. This description uses Excel.

To work with the results data using spreadsheet software:
  1. In the tree, under Results double-click Link-Path Flows. This will open a tab in your browser.
  2. Copy all the data in the browser page (press CNTRL A to select all, then CNTRL C to copy).
  3. Paste the data into Excel (press CNTRL and V to paste in empty Excel sheet).
  4. This data is comma separated. To convert to columns, click column A, on the Data tab, click Text to Columns, select Delimited, and click Next.
  5. In the Convert Text Wizard, click Comma and then click Finish. The values will now be displayed in columns.
  6. To filter to see only connected to the stair, click PathName and then click Filter. Select PathName in the dropdown. In the search enter stair, and click OK.
  7. Now only flow paths that include "stair" in their name are displayed.
  8. Use the SUBTOTAL function to work with only the filtered data. The final figure shows how to find the maximum pressure difference for only the stair flow paths.
Converting text to columns part one.
Figure 14. Converting text to columns part one
Converting text to columns part two.
Figure 15. Converting text to columns part two
Filter to stair
Figure 16. Filter to stair
The filtered stair path data
Figure 17. The filtered stair path data
Use SUBTOTAL function to find the max pressure difference of the flow paths connected to the stair
Figure 18. Use SUBTOTAL function to find the max pressure difference of the flow paths connected to the stair

Instructions for Summer Conditions

We now demonstrate how the user can change to summer conditions.

Setup

Save the file for a separate run.

To save a copy of the model:
  1. In Ventus open the getting started winter model. On the File menu, click Save As and name the file getting started summer.
  2. In the tree, right-click Results and click Delete.
  3. Set the ambient temperature. On the Model menu, click Weather and Wind. Edit the default Ambient Temperature to 33 °C.
  4. Click OK to close the Ambient Temperature dialog and then click OK to close the Weather and Wind dialog.

Change the Stair Temperatures to 31 °C

We select all the zones for which we want to specify summer temperatures.

To change the stair temperatures:
  1. Click on the Top View.
  2. Using the Select tool, click and drag a small rectangle in the stairwell. Do not select any flow path.
  3. Return to the Perspective View, and you should see all zones in the stair selected.
  4. In the ribbon, click to check Temperature and enter the value 31.
Selecting the stair zones.
Figure 19. Selecting the stair zones.

Run the Simulation

Run the simulation.

To run the simulation:
  1. On the Simulation menu, click Run Simulation.
  2. Click OK to close the Run Simulation dialog.

Process Results

We can now process the results.

To show pressure differences:
  1. In the tree, right-click on Flow Paths and click Hide.
  2. In the tree, select Levels and set the Opacity to 20%.
  3. Your model displays arrows showing the pressure difference and flow. Note how the flows have reversed in the summer conditions.
Flows for summer conditions.
Figure 20. Flows for summer conditions.

And here are the flow results at the top of the stairs. These match the CONTAM-W model results.

Results for the top exterior flow path of the stairs.
Figure 21. Results for the top exterior flow path of the stairs.

Here is a plot of the results.

Spreadsheet plot of winter and summer flow data.
Figure 22. Spreadsheet plot of winter and summer flow data.

Ventus Models

You can download a zip file of the example Ventus and CONTAM models for Winter and Summer scenarios.

Getting Started Basics.zip