Table of Contents
This chapter provides guidance on using the geometry tools available in PyroSim to create several geometric shapes that often appear in building models. The ability to sketch in different planes, copy, replicate, drag, scale, and rotate objects can greatly simplify the tasks of geometry creation.
To create curved walls in PyroSim, you can use any of the following techniques:
Draw the wall using several straight wall segments.
Draw the wall using individual blocks.
Rotate a single object to produce the desired arc.
In all of the following examples, we will use a background image as a pattern to draw against. While this is not required, it makes creating curved surfaces much easier and one of the strengths of PyroSim is that it allows you to sketch geometry directly on top of building design images. The background image we will be using is shown in Figure 9.1.
For simplicity, we will assume that horizontal distance across the entire image is 50 feet, and
we will place the origin of the model at the lower-left corner of the room shown in the image.
The brightness of the image will be set to 50%.
The Configure Background Image dialog shown in
Figure 9.2 illustrates these settings.
To create a curved wall section from wall segments, you can follow these steps:
Click the 2D View tab, and select
the Draw a Wall
tool.
Turn off grid snapping. In the View menu, click to clear the Snap to Grid option.
Position the pointer at the beginning of the curve where you want to place the first wall segment.
Click and drag the mouse to extend the wall segment across a portion of the curve. Release when you have completed the first segment. Shorter segments will produce smoother curves.
Create the next segment using the end point of the first. You can create as many segments as you need in this way until the curve is completed.
This is the fastest way to create smooth curves in PyroSim. PyroSim will convert the curved walls to blocks before running the FDS simulation. While smaller segments will make the wall look better in PyroSim, placement of obstructions generated for FDS depends on the resolution of your mesh. Three different versions of a curved wall created with this technique are shown in Figure 9.3.
Using extremely short line segments will probably not be of any benefit unless you also use
very small mesh cells.
To create a curved wall section from blocks, you can follow these steps:
Create a mesh. This example uses a 50.0 ft x 50.0 ft mesh with 1 ft mesh cells.
Click the 2D View tab, and select
the Draw a Block
tool.
Turn grid snapping on. If snapping is off: in the View menu, click Snap to Grid.
Click each cell along the curved wall to place the necessary blocks.
This technique forces you to convert the curve to blocks manually, but the advantage is you know exactly what geometry will be generated for FDS. If you have a high resolution mesh, it may be useful to drag the mouse and "paint" the curve rather than clicking individual blocks. The example curved wall is shown in Figure 9.4.
To create curved objects using the rotation technique, you must place an initial segment, then perform a rotate-copy operation about the center point of your desired curve. This process is illustrated in the following steps:
Click the 2D View tab, and select
the Draw a Wall
tool.
Turn off grid snapping. If snapping is on: in the View menu, click Snap to Grid.
Create an initial wall segment somewhere on the curve.
In the Model menu, click Rotate...
Select the Copy mode.
Specify the necessary parameters for the rotation operation. In this example, the Number of Copies is 15, the Angle is 6.0 degrees, and the Base Point is: x=32.0 feet, y=16.5 feet.
Click Preview to verify that the settings are correct, then click OK.
The curve for this example is shown in Figure 9.5.
If we would have created 60 copies instead of 15 this procedure would have created a cylinder. While
complicated, the rotation approach is the most effective at creating complex symmetrical geometry.
You can create trusses by drawing a single truss out of blocks, then replicating that truss as many times as needed. The following steps show how to create the trusses for an example roof.
Create a mesh. This example uses a 10.0m x 10.0m x 10.0m mesh with 0.2 meter mesh cells.
Click the 2D View tab
On the toolbar, click the
Front View
button.
On the toolbar, select
the Draw a Block
tool.
On the toolbar, click the
Tool Properties
button, and set Max Y to 0.2 meters.
Turn grid snapping on. If snapping is off: in the View menu, click Snap to Grid.
Create the first truss by clicking the desired blocks.
Select the entire truss, open the Model menu, and click Copy/Move...
In the Translate dialog: select Copy, set Number of Copies to 4, set Offset to be 2.0 meters along the Y axis, and click OK.
The trusses created in this example are shown in Figure 9.6.
You can quickly add a roof to the model using the New Triangle
tool. The following steps show how to add a roof to the previous truss example using triangles.
On the main toolbar, click the New Triangle
button.
In the Triangle Properties dialog, specify the following values for the three points. Point1: (0.0, 8.2, 7.4), Point2: (5.0, 8.2, 10.0), and Point3: (0.0, 0.0, 7.4).
Click the OK button. You should see a triangular roof section laying across some of the trusses we created in the previous example.
Add the other three roof sections, their coordinates are:
| Point 1 | Point 2 | Point 3 |
|---|---|---|
| (0.0, 0.0, 7.4) | (5.0, 8.2, 10.0) | (5.0, 0.0, 10.0) |
| (10.0, 0.0, 7.4) | (5.0, 0.0, 10.0) | (10.0, 8.2, 7.4) |
| (10.0, 8.2, 7.4) | (5.0, 0.0, 10.0) | (5.0, 8.2, 10.0) |
Notice that the coordinates for each roof section were given in counter-clockwise order (if you are looking down from above the model). The ordering of the coordinates determines the direction in which the width of the triangle extends. For triangle width, PyroSim uses a left hand rule. This means the width of each roof section will extend upward. The result of adding all four roof triangles is shown in Figure 9.7.
You can create simple stairways by placing the initial stair, then using the translate-copy operation. This section will present a simple example to illustrate the approach.
We will create a 10 step stairway. Each step will have a 7 inch rise (0.58 feet), and a 10 inch (0.83 feet) run. The stairway itself will be 24 inches (2.0 feet) wide. To keep things as simple as possible, we will construct the stairway in an empty model.
On the Model menu, click New Obstruction...
In the Obstruction Properties dialog, specify the min point as (0.0, 0.0, 0.0) and the max point as (2.0, 0.83, 0.58).
On the Model menu, click Copy/Move....
In the Translate dialog, select Copy, set the Number of Copies to 9, set the Offset to (0.0, 0.83, 0.58), and click OK.
The stairway generated in this example is shown in Figure 9.8.