Skip to content

Commit fc3c593

Browse files
authored
Merge pull request #14928 from mcgratta/master
FDS User Guide: Add calculation script for veg fuels
2 parents bca6652 + 99ca0b4 commit fc3c593

File tree

2 files changed

+72
-4
lines changed

2 files changed

+72
-4
lines changed

Manuals/FDS_User_Guide/FDS_User_Guide.tex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7159,17 +7159,19 @@ \chapter{Wildland Fire Spread}
71597159
\section{Thermal Degradation Model for Vegetation}
71607160
\label{vegetation_model}
71617161

7162+
This section includes a relatively simple description of the thermal decomposition of a vegetative fuel. The FDS Github repository contains \href{https://github.com/firemodels/fds/blob/master/Utilities/Input_File_Tools/vegetation_chemistry.py}{a useful calculation script} for converting basic information about the vegetation into FDS input parameters.
7163+
71627164
\subsection{Required Information}
71637165
\label{veg_pyrolysis_gas_phase}
71647166

71657167
To describe the solid and gas phase chemistry of wood or vegetation pyrolysis/combustion in FDS, the following information must be assumed or measured:
71667168
\begin{enumerate}
71677169
\item The elemental composition of the dry vegetation. Dry wood has an elemental composition (by mass) of approximately $Y_{\rm C}=0.50$ carbon, $Y_{\rm H}=0.06$ hydrogen, $Y_{\rm O}=0.44$ oxygen, and trace amounts of inorganics~\cite{Rowell:USFS_Handbook}. A global survey of a wide range of vegetation suggests that the average carbon mass fraction is approximately 0.47~\cite{Ma:BGS2018}.
7168-
\item The char yield, $\nu_{\rm char}$, defined as the fraction of the dry mass that remains after complete anaerobic pyrolysis,
7169-
which is specified with the parameter \ct{NU_MATL} on the \ct{MATL} line that describes the Dry Vegetation. The character string \ct{MATL_ID} on the same \ct{MATL} line indicates the name of the char.
7170+
\item The char yield, $\nu_{\rm char}$, defined as the fraction of the mass of dry vegetation that remains after complete anaerobic pyrolysis, which is specified with the parameter \ct{NU_MATL} on the \ct{MATL} line that describes the Dry Vegetation. The character string \ct{MATL_ID} on the same \ct{MATL} line indicates the name of the char.
71707171
\item The ash yield, $\nu_{\rm ash}$, defined as the fraction of the char mass that remains after complete oxidation, which is specified by \ct{NU_MATL} on the \ct{MATL} line describing the char.
7171-
\item The elemental composition of char in terms of the mass fraction of carbon, $Y_{\rm C,char}$, oxygen, $Y_{\rm O,char}$, and inorganics (ash).
7172-
\item The effective molecular weight, $W_{\rm pyr}$, of the fuel gas, or {\em pyrolyzate}, which is taken as a single composite gas species. Preliminary measurments~\cite{Tripi:INTERFLAM2025} suggest that the effective molecular weight of wood pyrolyzate is approximately 25~g/mol.
7172+
\item The elemental composition of char in terms of the mass fraction of carbon, $Y_{\rm C,char}$, oxygen, $Y_{\rm O,char}$, and inorganics (ash). These values are not directly listed in the FDS input file, but rather determine the mass of oxygen that is required to oxidize a unit mass of char. In the formulae below, only the ratio of these two values is of importance.
7173+
\item The energy released per unit mass of oxygen consumed, $E$ (kJ/kg), in the gas phase reaction of the vegetation pyrolyzate. This value is typically taken as $13\,100$~kJ/kg, but may vary for different varieties of vegetation. This value is used in calculation of the gas phase \ct{HEAT_OF_COMBUSTION}.
7174+
\item The effective molecular weight, $W_{\rm pyr}$, of the fuel gas, or {\em pyrolyzate}, which is taken as a single composite gas species. Preliminary measurments~\cite{Tripi:INTERFLAM2025} suggest that the effective molecular weight of wood pyrolyzate is approximately 25~g/mol. This parameter is not directly input in the FDS input file; rather, the values ${\rm x''}$, ${\rm y''}$, and ${\rm z''}$ computed below are input as \ct{C}, \ct{H}, and \ct{O}, respectively, on the \ct{REAC} or \ct{SPEC} line.
71737175
\end{enumerate}
71747176

71757177
\subsection{Basic Pyrolysis Reactions}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# This script calculates input parameters for an FDS simulation involving vegetative fuels.
2+
3+
# Modify the following lines for your particular type of fuel.
4+
5+
Y_C = 0.497 # Mass fraction of carbon in the dry vegetation
6+
Y_H = 0.059 # Mass fraction of hydrogen in the dry vegetation
7+
Y_O = 0.406 # Mass fraction of oxygen in the dry vegetation
8+
Y_C_char = 0.869 # Mass fraction of carbon in the char
9+
Y_O_char = 0.049 # Mass fraction of oxygen in the char
10+
nu_char = 0.16 # Fraction of mass of dry vegetation remaining as char after complete anaerobic pyrolysis
11+
nu_ash = 0.0 # Fraction of mass of char remaining as ash after complete oxidation
12+
E = 13100 # Energy released per unit mass oxygen consumed during combustion of pyrolyzate (kJ/kg)
13+
W_pyr = 25 # Effective molecular weight of the pyrolyzate (g/mol)
14+
15+
# Calculated quantities. Some of these quantities are calculated automatically by FDS and are listed here as check.
16+
17+
Y_C_adj = Y_C*(1-nu_char*nu_ash)/(Y_C+Y_H+Y_O)
18+
Y_H_adj = Y_H*(1-nu_char*nu_ash)/(Y_C+Y_H+Y_O)
19+
Y_O_adj = Y_O*(1-nu_char*nu_ash)/(Y_C+Y_H+Y_O)
20+
21+
x = (Y_C_adj/12)/(Y_C_adj/12 + Y_H_adj + Y_O_adj/16 + nu_char*nu_ash)
22+
y = (Y_H_adj )/(Y_C_adj/12 + Y_H_adj + Y_O_adj/16 + nu_char*nu_ash)
23+
z = (Y_O_adj/16)/(Y_C_adj/12 + Y_H_adj + Y_O_adj/16 + nu_char*nu_ash)
24+
25+
W_veg = (12*x+y+16*z)/(1-nu_char*nu_ash)
26+
x_prime = nu_char*W_veg*(1-nu_ash)/(12*(1+Y_O_char/Y_C_char))
27+
z_prime = 12*x_prime*Y_O_char/(16*Y_C_char)
28+
29+
nu_O2_char = (32*nu_char*W_veg*(1-nu_ash)-44*16*z_prime)/((44-32)*nu_char*W_veg)
30+
31+
nu_CO2 = (1+nu_O2_char-nu_ash)*(nu_char*W_veg)/44
32+
nu_O2 = nu_O2_char*nu_char*W_veg/32
33+
nu_pyr = (12*(x-x_prime)+y+16*(z-z_prime))/W_pyr
34+
35+
x_prime_prime = (x-x_prime)/nu_pyr
36+
y_prime_prime = y/nu_pyr
37+
z_prime_prime = (z-z_prime)/nu_pyr
38+
W_pyr_check = 12*x_prime_prime+y_prime_prime+16*z_prime_prime
39+
40+
nu_O2_prime = (2*x_prime_prime+y_prime_prime/2-z_prime_prime)/2
41+
Delta_h_pyr = (32*nu_O2_prime*E)/W_pyr
42+
43+
print()
44+
print('The following values are used in the FDS input file:', end='\n\n')
45+
print(f"{x_prime_prime:.3f}",' x_prime_prime, carbon subscript of pyrolyzate molecule (C on REAC or SPEC line)')
46+
print(f"{y_prime_prime:.3f}",' y_prime_prime, hydrogen subscript of pyrolyzate molecule (H on REAC or SPEC line)')
47+
print(f"{z_prime_prime:.3f}",' z_prime_prime, oxygen subscript of pyrolyzate molecule (O on REAC or SPEC line)')
48+
print(f"{nu_O2_char:.3f}",' nu_O2_char, mass oxygen consumed per unit mass char oxidized (OXYGEN NU_SPEC on MATL line)')
49+
print(f"{Delta_h_pyr:.0f}",' Delta_h_pyr, pyrolyzate heat of combustion (HEAT_OF_COMBUSTION on REAC line)')
50+
print()
51+
print('The following values are not used directly and can be used to check the calculation:', end='\n\n')
52+
print(f"{Y_C_adj:.3f}",' Y_C_adj, adjusted carbon content')
53+
print(f"{Y_H_adj:.3f}",' Y_H_adj, adjusted hydrogen content')
54+
print(f"{Y_O_adj:.3f}",' Y_O_adj, adjusted oxygen content')
55+
print(f"{x:.3f}",' x, carbon subscript for the dry vegetation molecule')
56+
print(f"{y:.3f}",' y, hydrogen subscript for the dry vegetation molecule')
57+
print(f"{z:.3f}",' z, oxygen subscript for the dry vegetation molecule')
58+
print(f"{W_veg:.3f}",' W_veg, molecular weight of dry vegetation (g/mol)')
59+
print(f"{x_prime:.3f}",' x_prime, carbon subscript in char molecule')
60+
print(f"{z_prime:.3f}",' z_prime, oxygen subscript in char molecule')
61+
print(f"{nu_CO2:.3f}",' nu_CO2, moles CO2 per moles char oxidized')
62+
print(f"{nu_O2:.3f}",' nu_O2, moles O2 consumed per moles char oxidized')
63+
print(f"{nu_pyr:.3f}",' nu_pyr, moles pyrolyzate per moles vegetation pyrolyzed')
64+
print(f"{W_pyr_check:.2f}",' W_pyr_check, algebra check (g/mol)')
65+
print(f"{nu_O2_prime:.3f}",' nu_O2_prime, moles O2 per mole pyrolyzate consumed')
66+

0 commit comments

Comments
 (0)