Keywords

1 Introduction

Fire is a complex phenomenon which includes thermal degradation or pyrolysis of solid fuel into gas (of a volatile character) and combustion of the volatile fuel. It should be noted here that the generated heat influences the solid. Heat transport is carried out through thermal conductivity, convection (natural and forced) and thermal radiation. Modern computational sciences provide various methods and IT tools that allow for modeling this complex process [8] in a simplified way.

The most common models are high-fidelity CFD models, also known as Field models, like e.g. Fire Dynamics Simulator (FDS). based on the physical principles of conservation of: mass, energy, and momentum. In the field model, the motion of heat and smoke is calculated in particular cells in consecutive time intervals. In such models we assume that in each cell the properties like temperature, density, flow, etc. are constant. Another popular approach are Zone models, in which the whole space (for instance, a room) is divided into areas with different properties (like a ‘combustion zone’ or a ‘convection zone’), and for each of them a set of algebraic equations is solved in order to calculate relevant flow properties. The most recent approach assumes looking for fire models that are realistic and computationally efficient.

The paradigm of Cellular Automata (CA) can be considered an effective and efficient solution. In the literature, CA are used to model simplified fire spreading schemes [1], often in relation to evacuation [13] or specific scenarios like forest fires [6, 14] etc.

We propose a new model of fire spread based on Cellular Automata in which different mechanisms of heat transfer are taken into account, namely: conductivity, convection and thermal radiation. We propose the application of the cuboid structure of space using three-dimensional CA.

We developed a theoretical model, implemented it, and performed preliminary validation based on widely used CFD model FDS, created by NIST (National Institute of Standards and Technology), which is often applied as a reference model [4, 10]

2 Heat Transfer Mechanisms

2.1 Thermal Conduction

The amount of energy which is transferred in thermal conduction can be computed using the law of heat conduction (Fourier’s law). The differential form of this law is as follows:

$$\begin{aligned} q = -k \nabla T \end{aligned}$$
(1)

where: q - is local heat flux density (SI unit [\(\frac{W}{m^2}\)]), k - is material conductivity (SI unit [\(\frac{W}{m K}\)]), \(\nabla T\) - is the temperature gradient (SI unit [\(\frac{K}{m}\)]).

2.2 Thermal Radiation

The heat flux that can be emitted by radiation coming from the black body surface is given by Stefan–Boltzmann law:

$$\begin{aligned} q = \sigma T^4 \end{aligned}$$
(2)

where: q – is radiative heat flux (SI unit [\(\frac{W}{m^2}\)]), \(\sigma \) – is the Stefan–Boltzmann constant (\(\approx \!5.670 \cdot 10^{-8}\) [\(\frac{W}{m^2K^4}\)]), T – is the temperature of the body surface (SI unit [K])

The flux emitted by the real surface is lower than the flux emitted by the black body surface:

$$\begin{aligned} q = \epsilon \sigma T^4 \end{aligned}$$
(3)

where: \(\epsilon \) – a factor called emissivity, which is a property characterising a surface (\(\epsilon < 1\))

2.3 Convection

Convective heat transfer is transfer of heat from one place to another caused by the movement of fluid. The rate equation for this form of heat transfer is described by Newton’s law of cooling:

$$\begin{aligned} q = h (T - T_f) \end{aligned}$$
(4)

where: q - is convective heat flux (SI unit [\(\frac{W}{m^2}\)]), h - is convection heat transfer coefficient (SI unit [\(\frac{W}{m^2 K}\)]), \((T_w - T_f)\) – is the temperature difference between the surface of an object and fluid (SI unit [K]).

3 CAFire

The assumptions of the model used in the implementation of the CAFire programme which simulates fire spread are presented below.

The whole space under consideration can be divided into three-dimensional elements (e.g. cubes) small enough to be treated as homogeneous - i.e. all physical and chemical properties (e.g. temperature, specific heat capacity) in a given element are the same at a given time.

3.1 Neighborhood

Three basic types of neighborhoods exist in a three-dimensional array of a cubic cell:

  • 6 cells sharing faces with the reference cell

  • 18 cells sharing edges with the reference cell

  • 26 cells sharing vertices with the reference cell

Because the simulation results obtained with the use of all the above types of neighborhoods are comparable and the first variant has the lowest calculation costs, it is used in the model (Fig. 1).

Fig. 1.
figure 1

Neighborhood. Red - the reference cell, U - the cell above, D - the cell below, W - the cell on the left, E - the cell on the right, S - the cell in front, N - the cell behind. (Color figure online)

3.2 Simulation of Heat Transfer Using the CA Model

Thermal Conduction. At a given temperature gradient, the heat transfer rate is proportional to the surface through which the heat flows. Generally, the amount of heat dQ that will flow L over dt with the temperature difference dT across the transverse surface S is as follows:

$$\begin{aligned} dQ=\lambda \cdot \frac{S}{L}\cdot dt \cdot dT \end{aligned}$$
(5)

where: Q – heat, \(\lambda \) – thermal conductivity coefficient, S – transverse surface of the cell, L – distance between cells, dt – time, dT – temperature difference.

In the proposed model, the cells have the same surface area. Consider the following one-dimensional situation shown in Fig. 2.

Fig. 2.
figure 2

Heat flow between two neighbouring cells due to thermal conductivity in the model.

In this type of analyses, it is assumed that the heat exchange occurs between the cells, and so the \(\lambda \) factor coefficient indicates how the heat passes from one cell to another.

With two cells only one factor is determined. However, if a whole cell chain is considered, it may happen that for a given cell n the conduction coefficient from/to cell \((n-1)\) is different than from/to \((n + 1)\).

In the discrete one-dimensional case, the formula for temperature T of the cell with index n and of a unit size can be written as:

$$\begin{aligned} T_n(t+\varDelta t) = T_n(t) + \bigg ( \lambda '_n \cdot \Big ( T_n(t) - T_{n-1}(t) \Big ) - \lambda '_{n+1}\cdot \Big (T_{n+1}(t)-T_n(t)\Big )\bigg ) \varDelta t \end{aligned}$$
(6)

where: \(\lambda '\) = \(\frac{\lambda }{m \cdot c} \), \(T_n(t)\) – Cell n temperature at a given time t, \(\lambda \) – thermal conductivity coefficient, c – specific heat capacity, m – cell mass.

3.3 Convection

The phenomenon of convection is characteristic of liquids and gases. The model includes natural convection.

$$\begin{aligned} \begin{aligned} T_u(t+\varDelta t) = T_u(t) + \alpha ' \cdot \Big (T_u(t) - T_d(t) \Big ) \cdot \varDelta t \\ T_d(t+\varDelta t) = T_d(t) - \alpha ' \cdot \Big (T_u(t) - T_d(t) \Big ) \cdot \varDelta t \end{aligned} \end{aligned}$$
(7)

where: \(\alpha '\) = \(\frac{\alpha }{m \cdot c} \), \(T_u(t)\) – the temperature of the upper cell at a given time t, \(T_d(t)\) – the temperature of the lower cell at a given time t, \(\alpha \) – convection heat transfer coefficient, m – cell mass, c – specific heat capacity (Fig. 3).

Fig. 3.
figure 3

Convection in the model. Heat exchange from the cell below to the cell above. \(T_d\) - the temperature of the lower cell, \(T_u\) - the temperature of the upper cell

3.4 Thermal Radiation

Thermal radiation is a process in which energy is emitted by a heated surface in all directions in the form of electromagnetic waves (electromagnetic radiation).

In the fire safety literature, thermal radiation has been identified as important and even dominant in terms of heat transfer in medium to large fires. Its mechanisms are analysed at various levels of accuracy ranging from simplified analyses to sophisticated methods of calculating radiation [9].

Stefan-Boltzmann law refers to radiation in all directions, whereas in the model only some of the energy radiated by one surface will reach another. The heat exchange from a warmer (1) to a cooler (2) surface depends on the following factors [5]:

  • temperatures \(T_1\) and \(T_2\)

  • surface areas \(A_1\) and \(A_2\)

  • spatial configurations between surfaces

  • surface radiation characteristics

  • additional surfaces in the environment

  • medium between surfaces (if it is air, it can be assumed as non-invasive)

To calculate the amount of energy that will reach from one surface to another, we need to calculate the integral, taking into account the density of the radiation at an angle under which fragments of the radiating surface are visible for the other surface. Then, an additional factor view factor appears in Stefan-Boltzmann law.

$$\begin{aligned} Q_{net} = F_{1-2}A_1\sigma \Big (T_1^4 - T_2^4\Big ) \end{aligned}$$
(8)

where: \(Q_{net}\) – total radiation energy, \(F_{1-2}\) – view factor, \(A_1\) – surface area, \(\sigma \) – Stefan - Boltzmann constant, \(T_1,T_2\) – temperature in Kelvins.

Fig. 4.
figure 4

General radiation pattern. \(Q_{net}\) - total energy exchange, \(Q_{x\text { do }y}\) - energy transferred from the surface x to y, \(T_x\) - temperature of surface x.

The building is divided into radiation areas (for example, walls or tables) with a direction from which they can receive heat (Figs. 4 and 5).

Fig. 5.
figure 5

Diagram of radiation for parallel surfaces in the model. a/b - length/width of surfaces, c - distance between surfaces

View Factors for Several Three-Dimensional Configurations [5]

  • Parallel surfaces let:

    $$\begin{aligned} X = \frac{a}{c} \text { i } Y = \frac{b}{c} \end{aligned}$$
    (9)

    then:

    $$\begin{aligned} \begin{aligned} F_{1-2}=\frac{2}{\pi X Y}\Bigg (\ln \bigg ( \frac{(1+X^2)(1+Y^2)}{1+X^2+Y^2} \bigg )^{\frac{1}{2}} - X\tan ^{-1}X - Y\tan ^{-1}Y \\ + X\sqrt{1+Y^2}\tan ^{-1}\frac{X}{\sqrt{1+Y^2}} + Y\sqrt{1+X^2}\tan ^{-1}\frac{Y}{\sqrt{1+X^2}} \Bigg ) \end{aligned} \end{aligned}$$
    (10)

    where: \(F_{1-2}\) – view factor, a – length of surface, b – width of surface, c – distance between surfaces (Fig. 6).

Fig. 6.
figure 6

Scheme of radiation for perpendicular surfaces in the model. h - width of the first surface, w - width of the second surface, l length of the surface.

  • Perpendicular surfaces let:

    $$\begin{aligned} H = \frac{h}{l} \text { i } W = \frac{w}{l} \end{aligned}$$
    (11)

    then:

    $$\begin{aligned} \begin{aligned} F_{1-2}=\frac{1}{\pi W}\Bigg ( W\tan ^{-1}\frac{1}{W}-\sqrt{H^2+W^2}\tan ^{-1}\Big (H^2+W^2\Big )^{-1/2} \\ +\, H\tan ^{-1}\frac{1}{H}+\frac{1}{4}\ln \Bigg (\bigg (\frac{(1+W^2)(1+H^2)}{1+W^2+H^2}\bigg ) \\ \bigg (\frac{W^2(1+W^2+H^2}{(1+W^2)(W^2+H^2)}\bigg )^{W^2} \bigg (\frac{H^2(1+H^2+W^2)}{(1+H^2)(H^2+W^2)}\bigg )^{H^2} \Bigg )\Bigg ) \end{aligned} \end{aligned}$$
    (12)

    where: \(F_{1-2}\) – view factor, h – width of the first surface, w – width of the second surface, l – length of the surface

For each wall of a fire cell parallel radiation surfaces are considered where no fire cells or solid body cells are located between them in a straight line.

\(T_{surface}\) was calculated as the average temperature of the cells contained in this surface. Of course, the following condition must be met: \(T_{cell} > T_{surface}\).

As an obstacle, we took into account a cell which was a solid body or a fire cell. Knowing surface dimensions a i b and the distance from the cell c coefficient, the view factor was calculated on the basis of Table 1.

Table 1. View factor values applied in CAFire simulation

The last step was to calculate the transferred energy \(Q_{net}\) according to Eq. 8. Energy is transferred equally to all cells belonging to the radiation surface.

In case of radiation surface \(\Rightarrow \) surface, the main radiation surfaces were determined at the beginning of the simulation; they can be generally treated as walls (in the model for each room, 6 such surfaces were designated for the floor, ceiling and each wall). For each surface other surfaces in its “field of visions” and its view factors were determined on the basis of Eq. 10 or 12. The same procedure was repeated in case of cell \(\Rightarrow \) surface.

3.5 Simulation of Fire Propagation Using the CA Model

The proposed model takes into account the properties of relevant materials, because each of them has a different autoignition and ignition temperature.

Ignition is possible if a cell receives temperature proper to a given kind of material (e.g. wood 250 \(^\circ \)C, carpet 100 \(^\circ \)C, fabrics 170 \(^\circ \)C) and one of the neighboring cells remains on fire long enough (Fig. 7).

The only condition for autoignition is to reach a sufficiently high temperature (e.g. wood 2000 \(^\circ \)C, carpet 500 \(^\circ \)C, fabrics 650 \(^\circ \)C).

Fig. 7.
figure 7

Interpretation of cell ignition. White cell - a cell with temperature that ignites, red cell - an adjacent cell burning for an appropriate period of time. (Color figure online)

Fig. 8.
figure 8

Interpretation of cell autoignition. Red cell – a cell that is autoignited (without burning neighbors). (Color figure online)

The linear fire spread rate was calculated for each material. By transforming the formula to take into account the speed, we calculated how long the cell must burn (to be able to ignite its neighbor) (Fig. 8).

3.6 Simulation of Smoke Propagation Using the CA Model

In the presented model smoke is generated in the cell located directly above the flame, which is shown in Fig. 9. The amount of smoke emitted depends on the type of material that is burning. For example, less smoke will be released from a wooden cell than from a textile cell.

Fig. 9.
figure 9

Smoke release mechanism (I). Smoke is generated in the cells located directly above the cells with fire.

The principle of mass conservation and the convection mechanism were retained in smoke modeling.

It was assumed that every cell tends to get rid of all its smoke. To ensure that the cell is not filled above its maximum capacity, the amount of smoke that it can take from one neighbor was limited to \(\frac{1}{6}\) of the remaining free space [12].

In order to ensure that the cell does not transmit more smoke than it has, the amount of smoke that a given cell can transmit was limited to \(\frac{1}{6}\) of the amount of smoke.

$$\begin{aligned} D_{0\rightarrow n} = d_n \cdot min \left( \frac{1}{6} D_0 , \frac{1}{6}\left( 100\% - D_n\right) \right) \end{aligned}$$
(13)

The amount of smoke in the cell will be reduced by the amount the cell will pass on to its neighbors and increased by the amount it will receive from its neighbors (Fig. 10):

$$\begin{aligned} D_0^{i+1} = D_0^{i}-\sum _{n}D_{0\rightarrow n}^{i} + \sum _{n}D_{n\rightarrow 0}^{i} \end{aligned}$$
(14)

where:

  • \(D_{0 \rightarrow n}\) – the amount of smoke passed to a neighbouring cell

  • \(D_{n \rightarrow 0}\) – the amount of smoke received from a neighbouring cell

  • \(d_n\) – quantitative factor, according to Table 2

  • n – neighbor index

Table 2. Smoke propagation factor \(d_n\) (1)
Fig. 10.
figure 10

Smoke generation mechanism. Propagation of smoke from a given cell (‘the cell with smoke’) to neighboring cells.

When the cell above \(C_U\) is not air, or the amount of smoke in it \(D_U\) is close to 100% (that is, it cannot accept more smoke), the \(d_n\) factor will be modified (see Table 3).

This modification adequately demonstrates pushing smoke out of the ceiling zones.

Table 3. Smoke propagation factor \(d_n\) (2)

4 Calibration and Validation

While calibrating fire scenarios, we took into account bibliographical data: standard PN-EN ISO 6946 and [3], as well as some data from reference fires [2]. The simulation was based on materials that are usually found in a typical household – Fig. 11 (Table 4).

Table 4. Material properties table - simulation.
Fig. 11.
figure 11

Simulation based on the data obtained from the reference fire (‘Movie 1’ and ‘Movie 2’) - time 1:00 after ignition.

4.1 Validation of the Model

The proposed model was validated in two ways: on the basis of movies recorded for fires taking place under controlled conditions, and on the basis of the results obtained with the Fire Dynamics Simulator tool. In case of movies, the spread of fire and smoke was visually compared, while in case of FDS, the distribution of the temperatures in selected fire areas was additionally validated.

Fire Dynamics Simulator [3, 4, 7, 11] is an application that, according to many experts in fire engineering, best reflects the course of fire in buildings. In order to compare our CA-based model with the same model in FDS, we compared two identical scenarios of a building fire. The size of the building: 7.5 m \(\times \) 2.9 m \(\times \) 7.5 m, including a living-room, a bathroom, a wardrobe, a study, a kitchen and a hall. Ignition temperature was 150 \(^{\circ }\)C.

Fig. 12.
figure 12

Validation of fire and smoke spreading on the basis of CFD Fire Dynamics Simulator. The same configuration (scene) evaluated using FDS and Model CAFire.

Fig. 13.
figure 13

Validation on the basis of CFD Fire Dynamics Simulator - temperature distribution.

It should be noted that other data sets were used for the calibration and validation procedures. Both, fire development scenario and basic parameters are similar in our model and the reference FDS model. Sample comparison results are presented in Fig. 12 and 13.

5 Conclusions

The main purpose of this study was to create an effective and efficient method for simulating the spread of fire. The model and simulations were based on non-homogeneous Cellular Automata to present the distribution of fire and smoke in a residential building, taking into account the temperature fields in the rooms. The current model of fire called CAFire includes three main phenomena accompanying the spread of heat during a fire, i.e. conductivity, convection and thermal radiation. The simulations showed relatively reliable convergence of the results compared to the reputable FDS tool.

In the presented model, only in a very simplified form, the fluid flow phenomena (air flow, smoke flow) are simulated. The interactions between the air streamlines (due to Bernoulli’s principle) and the influence of pressure caused by the difference of temperatures on the formation of laminar and turbulent flows etc. are not taken into account.

The idea presented in the paper requires further development and tests - and additional emphasis should be placed on the chemical aspects of fire and exhaustive validation of the final results.

However, it should be emphasized that we consider the proposed direction of work very promising. Creating simulations in the FDS program requires time, even up to several dozen minutes, while calculations obtained using the proposed Cellular Automata method take seconds to be completed.