Skip to content

Commit fe49daa

Browse files
committed
FDS Source: Rename MOISTURE_FRACTION MOISTURE_CONTENT, maintain backward compatibility
1 parent 07bf174 commit fe49daa

File tree

540 files changed

+629
-623
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

540 files changed

+629
-623
lines changed

Manuals/FDS_User_Guide/FDS_User_Guide.tex

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7178,7 +7178,7 @@ \subsection{Solid Phase}
71787178
\label{char_reaction}
71797179
{\rm Char} + \nu_{\rm O_2, char} \, {\rm O_2} \rightarrow (1+ \nu_{\rm O_2,char} - \nu_{\rm ash}) \, {\rm CO_2} + \nu_{\rm ash} \, {\rm Ash}
71807180
\ee
7181-
$M$ is the vegetation {\em moisture content} or {\em moisture fraction} determined on a dry weight basis, specified with \ct{MOISTURE_FRACTION} on the \ct{SURF} line. $\nu_{\rm char}$ is the mass fraction of Dry Vegetation that is converted to char during pyrolysis, 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. $\nu_{\rm O_2,char}$ is the mass of oxygen consumed per unit mass of char oxidized. $\nu_{\rm ash}$ is the mass fraction of char that is converted to ash during char oxidation, specified by \ct{NU_MATL} on the \ct{MATL} line describing the char.
7181+
$M$ is the vegetation {\em moisture content} or {\em moisture fraction} determined on a dry weight basis, specified with \ct{MOISTURE_CONTENT} on the \ct{SURF} line. $\nu_{\rm char}$ is the mass fraction of Dry Vegetation that is converted to char during pyrolysis, 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. $\nu_{\rm O_2,char}$ is the mass of oxygen consumed per unit mass of char oxidized. $\nu_{\rm ash}$ is the mass fraction of char that is converted to ash during char oxidation, specified by \ct{NU_MATL} on the \ct{MATL} line describing the char.
71827182

71837183
It is assumed that the Dry Vegetation in Eq.~(\ref{pyr_reac}) is 47~\% (by mass) carbon~\cite{Ma:BGS2018} with an effective organic component C$_{3.4}$H$_{6.2}$O$_{2.5}$~\cite{Ritchie:1}. In general, it is assumed that char may be comprised of more than pure carbon and is defined as $\mathrm{C_{x'}O_{z'}A}$ in Eq.~\ref{char_chemistry}. In the specific case where char is composed of pure carbon which reacts completely with O$_2$ to form CO$_2$ then $\nu_{\rm O_2,char}=2.67$ and $\nu_{\rm ash}=0$. A full discussion of the composition of the Char and Fuel Gas is given in Sec.~\ref{veg_pyrolysis_gas_phase}.
71847184

@@ -7437,12 +7437,12 @@ \section{Lagrangian Particle Model}
74377437
\begin{lstlisting}
74387438
&SURF ID = 'wet vegetation'
74397439
MATL_ID = 'dry pine'
7440-
MOISTURE_FRACTION = 0.25
7440+
MOISTURE_CONTENT = 0.25
74417441
SURFACE_VOLUME_RATIO = 8000.
74427442
LENGTH = 0.1
74437443
GEOMETRY = 'CYLINDRICAL' /
74447444
\end{lstlisting}
7445-
The needle is composed of two materials---\ct{'dry pine'} and \ct{'MOISTURE'}. Following the convention used in forestry, the moisture content is expressed via the \ct{MOISTURE_FRACTION}, which is the mass of moisture divided by the mass of {\em dry} vegetation. Do not confuse this with the mass fraction of moisture, $Y_{\rm m}$, which is related to the moisture fraction, $M$, via
7445+
The needle is composed of two materials---\ct{'dry pine'} and \ct{'MOISTURE'}. Following the convention used in forestry, the moisture content is expressed via the \ct{MOISTURE_CONTENT}, which is the mass of moisture divided by the mass of {\em dry} vegetation. Do not confuse this with the mass fraction of moisture, $Y_{\rm m}$, which is related to the moisture fraction, $M$, via
74467446
\be
74477447
Y_{\rm m} = \frac{M}{1+M}
74487448
\ee
@@ -7464,7 +7464,7 @@ \section{Lagrangian Particle Model}
74647464
CONDUCTIVITY = 1.0
74657465
SPECIFIC_HEAT = 1.6 /
74667466
\end{lstlisting}
7467-
Note that if you specify a \ct{MOISTURE_FRACTION} on the \ct{SURF} line, FDS will automatically add a \ct{MATL} line for \ct{'MOISTURE'} as it is written in Fig.~\ref{vege_inputs}. FDS will also alter the \ct{DENSITY} of the dry vegetation, in this case \ct{'dry pine'}, so that the size and wood content of the particle do not change when moisture is added. The modified density of the ``dry'' vegetation, $\tilde{\rho}_{\rm d}$, is given by:
7467+
Note that if you specify a \ct{MOISTURE_CONTENT} on the \ct{SURF} line, FDS will automatically add a \ct{MATL} line for \ct{'MOISTURE'} as it is written in Fig.~\ref{vege_inputs}. FDS will also alter the \ct{DENSITY} of the dry vegetation, in this case \ct{'dry pine'}, so that the size and wood content of the particle do not change when moisture is added. The modified density of the ``dry'' vegetation, $\tilde{\rho}_{\rm d}$, is given by:
74687468
\be
74697469
\tilde{\rho}_{\rm d} = \frac{\rho_{\rm d}} {1-\frac{\rho_{\rm d}}{\rho_{\rm m}} M }
74707470
\ee
@@ -7477,7 +7477,7 @@ \section{Lagrangian Particle Model}
74777477
&INIT PART_ID='pine needles', XB=0.,1.,0.,1.,0.,1., N_PARTICLES=1000,
74787478
MASS_PER_VOLUME=0.8, DRY=T /
74797479
\end{lstlisting}
7480-
This line inserts 1000 Lagrangian particles representing pine needles randomly within a unit cube. The \ct{MASS_PER_VOLUME} is the mass (kg) of solid needles divided by the volume (m$^3$) they occupy, sometimes called the ``bulk density.'' The parameter \ct{DRY=T} means that if you have specified a \ct{MOISTURE_FRACTION} on the \ct{SURF} line that describes the vegetation, then the actual mass per volume of wet vegetation is
7480+
This line inserts 1000 Lagrangian particles representing pine needles randomly within a unit cube. The \ct{MASS_PER_VOLUME} is the mass (kg) of solid needles divided by the volume (m$^3$) they occupy, sometimes called the ``bulk density.'' The parameter \ct{DRY=T} means that if you have specified a \ct{MOISTURE_CONTENT} on the \ct{SURF} line that describes the vegetation, then the actual mass per volume of wet vegetation is
74817481
\be
74827482
m_{\rm w}''' = m_{\rm d}''' \, (1+M)
74837483
\ee
@@ -7586,12 +7586,12 @@ \section{Boundary Fuel Model}
75867586
&SURF ID = 'Ground Vegetation'
75877587
MATL_ID(1,1) = 'Dry Vegetation'
75887588
MATL_ID(2,1) = 'Soil'
7589-
MOISTURE_FRACTION(1) = 0.218
7589+
MOISTURE_CONTENT(1) = 0.218
75907590
SURFACE_VOLUME_RATIO(1) = 3092.
75917591
MASS_PER_VOLUME(1) = 5.
75927592
THICKNESS(1:2) = 0.076,0.1 /
75937593
\end{lstlisting}
7594-
The presence of the parameter \ct{MASS_PER_VOLUME} automatically triggers the Boundary Fuel Model. Note that its argument of 1 refers to the first layer; the second layer being \ct{Soil}. If you specify \ct{MOISTURE_FRACTION}, FDS will automatically add a \ct{MATL} line for \ct{'MOISTURE'}.
7594+
The presence of the parameter \ct{MASS_PER_VOLUME} automatically triggers the Boundary Fuel Model. Note that its argument of 1 refers to the first layer; the second layer being \ct{Soil}. If you specify \ct{MOISTURE_CONTENT}, FDS will automatically add a \ct{MATL} line for \ct{'MOISTURE'}.
75957595

75967596
The drag exerted on the wind flowing through the vegetation is imposed as a force term in the gas phase grid cell adjacent to the boundary:
75977597
\be
@@ -11877,6 +11877,7 @@ \chapter{Alphabetical List of Input Parameters}
1187711877
% ignorenamelistkw: /PART/DEBUG, /PART/EMBER_SNAG_FACTOR
1187811878
% ignorenamelistkw: /REAC/C, /REAC/H, /REAC/O, /REAC/N, /REAC/FORMULA,
1187911879
% ignorenamelistkw: /SLCF/DEBUG, /SLCF/RLE_MIN, /SLCF/RLE_MAX, /SLCF/SLICETYPE
11880+
% ignorenamelistkw: /SURF/MOISTURE_FRACTION
1188011881
% ignorenamelistkw: /TIME/RAMP_DT
1188111882

1188211883
% ignore keywords that appear on any namelist
@@ -13582,7 +13583,7 @@ \section{\texorpdfstring{{\tt SURF}}{SURF} (Surface Properties)}
1358213583
\ct{MINIMUM_LAYER_THICKNESS} & Real & Section~\ref{info:solid_phase_stability} & m & 1.E-4 \\ \hline
1358313584
\ct{MINIMUM_SCALING_HEAT_FLUX} & Real & Section~\ref{info:scaled_burning} & \si{kW/m^2} & 0 \\ \hline
1358413585
\ct{MLRPUA} & Real & Section~\ref{info:gas_burner} & \si{kg/(m^2.s)} & \\ \hline
13585-
\ct{MOISTURE_FRACTION(:)} & Real Array & Section~\ref{info:vegetation} & & 0. \\ \hline
13586+
\ct{MOISTURE_CONTENT(:)} & Real Array & Section~\ref{info:vegetation} & & 0. \\ \hline
1358613587
\ct{N_LAYER_CELLS_MAX(:)} & Integer Array & Section~\ref{info:solid_phase_stability} & & 1000 \\ \hline
1358713588
\ct{NEAR_WALL_EDDY_VISCOSITY} & Real & Section~\ref{info:LES} & m$^2$/s & \\ \hline
1358813589
\ct{NEAR_WALL_TURBULENCE_MODEL} & Character & Section~\ref{info:LES} & & \\ \hline
@@ -14082,7 +14083,7 @@ \chapter{Error Codes}
1408214083
300 \> \ct{N_LAYER_CELLS_MAX should be at least ... for ...} \> Section~\ref{info:solid_phase_stability} \\
1408314084
301 \> \ct{SURF line must have an ID.} \> Section~\ref{info:SURF} \\
1408414085
302 \> \ct{SURF ID ... is used more than once.} \> Section~\ref{info:SURF} \\
14085-
303 \> \ct{MOISTURE_FRACTION on SURF ... exceeds theoretical limit.} \> Section~\ref{info:vegetation} \\
14086+
303 \> \ct{MOISTURE_CONTENT on SURF ... exceeds theoretical limit.} \> Section~\ref{info:vegetation} \\
1408614087
304 \> \ct{SURF ... One layer only for TGA_ANALYSIS=T.} \> Section~\ref{info:TGA_DSC_MCC} \\
1408714088
305 \> \ct{SURF ... indicates a level set simulation ...} \> Section~\ref{info:level_set} \\
1408814089
306 \> \ct{SURF ... cannot have a specified flux and a MATL_ID.} \> Section~\ref{info:MASS_FLUX} \\

Source/part.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ SUBROUTINE INSERT_VOLUMETRIC_PARTICLES
933933
USE MEMORY_FUNCTIONS, ONLY: ALLOCATE_STORAGE
934934
INTEGER :: IIP,N_INSERT,I1,J1,K1,I2,J2,K2,N,N_PARTICLES_INSERT,ND,ICC,IFACE,INDCF,I_RAND,N_INSERT_CELLS
935935
REAL(EB) :: XC1,XC2,YC1,YC2,ZC1,ZC2,X0,Y0,Z0,RR,RRI,HH,INSERT_VOLUME,INPUT_VOLUME,VOLUME_SPLIT_FACTOR,LP_X,LP_Y,LP_Z,RAMP_FACTOR,&
936-
IN_X1,IN_X2,IN_Y1,IN_Y2,IN_Z1,IN_Z2,IN_X0,IN_Y0,IN_Z0,VCX,VCY,VCZ,MOIST_FRAC,FILLED_VOLUME,DIST,DIST_MIN,&
936+
IN_X1,IN_X2,IN_Y1,IN_Y2,IN_Z1,IN_Z2,IN_X0,IN_Y0,IN_Z0,VCX,VCY,VCZ,MOIST_CONT,FILLED_VOLUME,DIST,DIST_MIN,&
937937
P_VECTOR(3),P_VECTOR_MIN(3),NVEC_MIN(3)
938938
LOGICAL :: CC_VALID
939939
TYPE (CC_CUTFACE_TYPE), POINTER :: CF
@@ -994,8 +994,8 @@ SUBROUTINE INSERT_VOLUMETRIC_PARTICLES
994994
READ(LU_VEG_IN) IN%MASS_PER_VOLUME
995995
! Adjust with multiplier
996996
IN%MASS_PER_VOLUME = MAX(0._EB,IN%BULK_DENSITY_FACTOR)*IN%MASS_PER_VOLUME
997-
MOIST_FRAC=SURFACE(LAGRANGIAN_PARTICLE_CLASS(IN%PART_INDEX)%SURF_INDEX)%MOISTURE_FRACTION(1)
998-
IF (MOIST_FRAC>=0._EB) IN%MASS_PER_VOLUME = IN%MASS_PER_VOLUME*(1._EB+MOIST_FRAC)
997+
MOIST_CONT=SURFACE(LAGRANGIAN_PARTICLE_CLASS(IN%PART_INDEX)%SURF_INDEX)%MOISTURE_CONTENT(1)
998+
IF (MOIST_CONT>=0._EB) IN%MASS_PER_VOLUME = IN%MASS_PER_VOLUME*(1._EB+MOIST_CONT)
999999
ENDIF
10001000

10011001
! Apply coordinate offset if needed

Source/read.f90

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6994,11 +6994,12 @@ SUBROUTINE READ_MATL
69946994

69956995
! Add reserved materials if necessary
69966996

6997-
N_MATL_RESERVED = 3
6997+
N_MATL_RESERVED = 4
69986998
ALLOCATE(SEARCH_PHRASE(N_MATL_RESERVED)) ; ALLOCATE(MATL_NAME_RESERVED(N_MATL_RESERVED))
69996999
SEARCH_PHRASE(1) = 'MOISTURE_FRACTION' ; MATL_NAME_RESERVED(1) = 'MOISTURE'
70007000
SEARCH_PHRASE(2) = 'VARIABLE_THICKNESS' ; MATL_NAME_RESERVED(2) = 'MATERIAL PLACEHOLDER'
70017001
SEARCH_PHRASE(3) = 'HT3D' ; MATL_NAME_RESERVED(3) = 'MATERIAL PLACEHOLDER'
7002+
SEARCH_PHRASE(4) = 'MOISTURE_CONTENT' ; MATL_NAME_RESERVED(4) = 'MOISTURE'
70027003

70037004
DO NN=1,N_MATL_RESERVED
70047005
CALL SEARCH_INPUT_FILE(LU_INPUT,TRIM(SEARCH_PHRASE(NN)),FOUND)
@@ -7794,9 +7795,8 @@ SUBROUTINE READ_SURF(QUICK_READ)
77947795
HEAT_TRANSFER_COEFFICIENT,HEAT_TRANSFER_COEFFICIENT_BACK,HEAT_TRANSFER_COEFFICIENT_SIGMA,&
77957796
TAU_PART,EMISSIVITY,EMISSIVITY_BACK,SPREAD_RATE,XYZ(3),MINIMUM_LAYER_THICKNESS(MAX_LAYERS),&
77967797
VEL_GRAD,MASS_FRACTION(MAX_SPECIES),MASS_TRANSFER_COEFFICIENT,NUSSELT_C0,NUSSELT_C1,NUSSELT_C2,NUSSELT_M,&
7797-
PARTICLE_SURFACE_DENSITY,&
7798-
MOISTURE_FRACTION(MAX_LAYERS),SURFACE_VOLUME_RATIO(MAX_LAYERS),MASS_PER_VOLUME(MAX_LAYERS),SHAPE_FACTOR,&
7799-
SUM_D,REMESH_RATIO,&
7798+
PARTICLE_SURFACE_DENSITY,MOISTURE_CONTENT(MAX_LAYERS),MOISTURE_FRACTION(MAX_LAYERS),&
7799+
SURFACE_VOLUME_RATIO(MAX_LAYERS),MASS_PER_VOLUME(MAX_LAYERS),SHAPE_FACTOR,SUM_D,REMESH_RATIO,&
78007800
DRAG_COEFFICIENT,MINIMUM_BURNOUT_TIME,DELTA_TMP_MAX,BURN_DURATION,&
78017801
REFERENCE_HEAT_FLUX(MAX_QDOTPP_REF),REFERENCE_HEAT_FLUX_TIME_INTERVAL,MINIMUM_SCALING_HEAT_FLUX,&
78027802
MAXIMUM_SCALING_HEAT_FLUX,REFERENCE_THICKNESS(MAX_QDOTPP_REF),&
@@ -7827,7 +7827,7 @@ SUBROUTINE READ_SURF(QUICK_READ)
78277827
LEAK_PATH,LEAK_PATH_ID,LENGTH,MASS_FLUX,MASS_FLUX_TOTAL,MASS_FLUX_VAR,MASS_FRACTION,&
78287828
MASS_TRANSFER_COEFFICIENT, &
78297829
MATL_ID,MATL_MASS_FRACTION,MASS_PER_VOLUME,MCC_CONVERSION_FACTOR,MINIMUM_BURNOUT_TIME,&
7830-
MINIMUM_LAYER_THICKNESS,MLRPUA,MOISTURE_FRACTION,&
7830+
MINIMUM_LAYER_THICKNESS,MLRPUA,MOISTURE_CONTENT,MOISTURE_FRACTION,&
78317831
N_LAYER_CELLS_MAX,NEAR_WALL_EDDY_VISCOSITY,NEAR_WALL_TURBULENCE_MODEL,NET_HEAT_FLUX,&
78327832
NO_SLIP,NODE_ID,NPPC,NUSSELT_C0,NUSSELT_C1,NUSSELT_C2,NUSSELT_M,&
78337833
PARTICLE_EXTRACTION_VELOCITY,PARTICLE_MASS_FLUX,PARTICLE_SURFACE_DENSITY,PART_ID,&
@@ -7964,6 +7964,10 @@ SUBROUTINE READ_SURF(QUICK_READ)
79647964
SURF_DEFAULT = TRIM(ID)
79657965
ENDIF
79667966

7967+
! Backward compatibility for MOISTURE_FRACTION
7968+
7969+
IF (ANY(MOISTURE_FRACTION>=0._EB)) MOISTURE_CONTENT = MOISTURE_FRACTION
7970+
79677971
! Specify a dummy material for a VARIABLE_THICKNESS or HT3D surface unless the user has also specified a mass flux, in which
79687972
! case throw an error. If no mass flux is specified, the material properties will be changed later.
79697973

@@ -8006,11 +8010,11 @@ SUBROUTINE READ_SURF(QUICK_READ)
80068010

80078011
SF%PACKING_RATIO(:) = 0._EB
80088012
SF%SURFACE_VOLUME_RATIO(:) = SURFACE_VOLUME_RATIO(:)
8009-
SF%MOISTURE_FRACTION(:) = MOISTURE_FRACTION(:)
8013+
SF%MOISTURE_CONTENT(:) = MOISTURE_CONTENT(:)
80108014
SF%SHAPE_FACTOR = SHAPE_FACTOR
80118015
SF%DRAG_COEFFICIENT = DRAG_COEFFICIENT
80128016

8013-
IF (ANY(MOISTURE_FRACTION>TWO_EPSILON_EB) .OR. &
8017+
IF (ANY(MOISTURE_CONTENT>TWO_EPSILON_EB) .OR. &
80148018
ANY(MASS_PER_VOLUME>TWO_EPSILON_EB) .OR. &
80158019
ANY(SF%SURFACE_VOLUME_RATIO>TWO_EPSILON_EB)) THEN
80168020

@@ -8038,18 +8042,18 @@ SUBROUTINE READ_SURF(QUICK_READ)
80388042

80398043
! If MOISTURE is added, create adjustment to density of dry fuel component
80408044

8041-
IF (MOISTURE_FRACTION(NL)>TWO_EPSILON_EB) THEN
8045+
IF (MOISTURE_CONTENT(NL)>TWO_EPSILON_EB) THEN
80428046
DO NN=1,MAX_MATERIALS
80438047
IF (MATL_ID(NL,NN) == 'null') EXIT
80448048
IF (MATL_MASS_FRACTION(NL,NN)<TWO_EPSILON_EB) EXIT
80458049
DO NNN=1,N_MATL
80468050
IF (MATL_ID(NL,NN)==MATERIAL(NNN)%ID) EXIT
80478051
ENDDO
8048-
IF (MATERIAL(NNN)%RHO_S*MOISTURE_FRACTION(NL)/MATERIAL(MOISTURE_INDEX)%RHO_S < 1._EB) THEN
8052+
IF (MATERIAL(NNN)%RHO_S*MOISTURE_CONTENT(NL)/MATERIAL(MOISTURE_INDEX)%RHO_S < 1._EB) THEN
80498053
SF%DENSITY_ADJUST_FACTOR(NL,NN) = 1._EB / &
8050-
(1._EB-MATERIAL(NNN)%RHO_S*MOISTURE_FRACTION(NL)/MATERIAL(MOISTURE_INDEX)%RHO_S)
8054+
(1._EB-MATERIAL(NNN)%RHO_S*MOISTURE_CONTENT(NL)/MATERIAL(MOISTURE_INDEX)%RHO_S)
80518055
ELSE
8052-
WRITE(MESSAGE,'(3A)') 'ERROR(303): MOISTURE_FRACTION on SURF ',TRIM(SF%ID),' exceeds theoretical limit.'
8056+
WRITE(MESSAGE,'(3A)') 'ERROR(303): MOISTURE_CONTENT on SURF ',TRIM(SF%ID),' exceeds theoretical limit.'
80538057
CALL SHUTDOWN(MESSAGE) ; RETURN
80548058
ENDIF
80558059
ENDDO
@@ -8074,11 +8078,11 @@ SUBROUTINE READ_SURF(QUICK_READ)
80748078
EMISSIVITY_BACK = 1._EB
80758079
ENDIF
80768080

8077-
! If the user has specified a MOISTURE_FRACTION for this layer, add a new material component and adjust other MFs
8081+
! If the user has specified a MOISTURE_CONTENT for this layer, add a new material component and adjust other MFs
80788082

8079-
IF (MOISTURE_FRACTION(NL)>0._EB) THEN
8083+
IF (MOISTURE_CONTENT(NL)>0._EB) THEN
80808084
MATL_ID(NL,NN) = 'MOISTURE'
8081-
MATL_MASS_FRACTION(NL,NN) = MOISTURE_FRACTION(NL)/(1._EB+MOISTURE_FRACTION(NL))
8085+
MATL_MASS_FRACTION(NL,NN) = MOISTURE_CONTENT(NL)/(1._EB+MOISTURE_CONTENT(NL))
80828086
MATL_MASS_FRACTION(NL,1:NN-1) = MATL_MASS_FRACTION(NL,1:NN-1)*(1._EB-MATL_MASS_FRACTION(NL,NN))
80838087
ENDIF
80848088

@@ -8984,7 +8988,8 @@ SUBROUTINE SET_SURF_DEFAULTS
89848988
MINIMUM_BURNOUT_TIME = 1.E6_EB
89858989
MINIMUM_LAYER_THICKNESS = -1.E-6_EB ! The absolute value is the default, m
89868990
MLRPUA = 0._EB
8987-
MOISTURE_FRACTION = 0._EB
8991+
MOISTURE_CONTENT = 0._EB
8992+
MOISTURE_FRACTION = -1._EB ! This variable is kept for backward compatibility
89888993
N_LAYER_CELLS_MAX = 999
89898994
NEAR_WALL_TURBULENCE_MODEL = 'null'
89908995
NEAR_WALL_EDDY_VISCOSITY = -1._EB
@@ -13265,7 +13270,7 @@ END SUBROUTINE READ_INIT
1326513270
SUBROUTINE PROC_INIT
1326613271

1326713272
INTEGER :: NN
13268-
REAL(EB) :: MOIST_FRAC
13273+
REAL(EB) :: MOIST_CONT
1326913274
TYPE (LAGRANGIAN_PARTICLE_CLASS_TYPE), POINTER :: LPC
1327013275
TYPE (INITIALIZATION_TYPE), POINTER :: IN
1327113276

@@ -13281,10 +13286,10 @@ SUBROUTINE PROC_INIT
1328113286
LPC%POROUS_VOLUME_FRACTION = IN%MASS_PER_VOLUME / LPC%DENSITY
1328213287
ENDIF
1328313288
IF (LPC%SURF_INDEX>0) THEN
13284-
MOIST_FRAC = SURFACE(LPC%SURF_INDEX)%MOISTURE_FRACTION(1)
13285-
IF (MOIST_FRAC>TWO_EPSILON_EB .AND. IN%DRY) THEN
13286-
IN%MASS_PER_TIME = IN%MASS_PER_TIME *(1._EB+MOIST_FRAC)
13287-
IN%MASS_PER_VOLUME = IN%MASS_PER_VOLUME*(1._EB+MOIST_FRAC)
13289+
MOIST_CONT = SURFACE(LPC%SURF_INDEX)%MOISTURE_CONTENT(1)
13290+
IF (MOIST_CONT>TWO_EPSILON_EB .AND. IN%DRY) THEN
13291+
IN%MASS_PER_TIME = IN%MASS_PER_TIME *(1._EB+MOIST_CONT)
13292+
IN%MASS_PER_VOLUME = IN%MASS_PER_VOLUME*(1._EB+MOIST_CONT)
1328813293
ENDIF
1328913294
ENDIF
1329013295
ENDIF

Source/type.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ MODULE TYPES
962962
REAL(EB), ALLOCATABLE, DIMENSION(:) :: CELL_SIZE !< Specified constant cell size (m)
963963
REAL(EB), ALLOCATABLE, DIMENSION(:) :: STRETCH_FACTOR
964964
REAL(EB), DIMENSION(MAX_LAYERS) :: LAYER_DENSITY,&
965-
MOISTURE_FRACTION,SURFACE_VOLUME_RATIO,PACKING_RATIO,KAPPA_S=-1._EB,RENODE_DELTA_T
965+
MOISTURE_CONTENT,SURFACE_VOLUME_RATIO,PACKING_RATIO,KAPPA_S=-1._EB,RENODE_DELTA_T
966966
REAL(EB), DIMENSION(MAX_LAYERS,MAX_MATERIALS) :: DENSITY_ADJUST_FACTOR=1._EB,RHO_S
967967
CHARACTER(LABEL_LENGTH), ALLOCATABLE, DIMENSION(:) :: MATL_NAME
968968
CHARACTER(LABEL_LENGTH), DIMENSION(MAX_LAYERS,MAX_MATERIALS) :: MATL_ID

Validation/CSIRO_Grassland_Fires/FDS_Input_Files/Case_C064.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
&SURF ID = 'wet vegetation'
4949
MATL_ID(1,1:1) = 'GENERIC VEGETATION'
50-
MOISTURE_FRACTION = 0.063
50+
MOISTURE_CONTENT = 0.063
5151
SURFACE_VOLUME_RATIO = 9770.
5252
LENGTH = 0.20
5353
GEOMETRY = 'CYLINDRICAL' /

Validation/CSIRO_Grassland_Fires/FDS_Input_Files/Case_C064_BFM.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
MATL_ID(1,1:1) = 'GENERIC VEGETATION'
4747
MATL_ID(2,1) = 'DIRT'
4848
THICKNESS(1:2) = 0.21,0.10
49-
MOISTURE_FRACTION(1) = 0.063
49+
MOISTURE_CONTENT(1) = 0.063
5050
MASS_PER_VOLUME(1) = 1.33
5151
DRAG_COEFFICIENT = 2.8
5252
SURFACE_VOLUME_RATIO(1) = 9770. /

Validation/CSIRO_Grassland_Fires/FDS_Input_Files/Case_C064_BFM_crude.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
MATL_ID(1,1:1) = 'GENERIC VEGETATION'
4747
MATL_ID(2,1) = 'DIRT'
4848
THICKNESS(1:2) = 0.21,0.10
49-
MOISTURE_FRACTION(1) = 0.063
49+
MOISTURE_CONTENT(1) = 0.063
5050
MASS_PER_VOLUME(1) = 1.33
5151
DRAG_COEFFICIENT = 2.8
5252
SURFACE_VOLUME_RATIO(1) = 9770. /

Validation/CSIRO_Grassland_Fires/FDS_Input_Files/Case_C064_BFM_fine.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
MATL_ID(1,1:1) = 'GENERIC VEGETATION'
4747
MATL_ID(2,1) = 'DIRT'
4848
THICKNESS(1:2) = 0.21,0.10
49-
MOISTURE_FRACTION(1) = 0.063
49+
MOISTURE_CONTENT(1) = 0.063
5050
MASS_PER_VOLUME(1) = 1.33
5151
DRAG_COEFFICIENT = 2.8
5252
SURFACE_VOLUME_RATIO(1) = 9770. /

Validation/CSIRO_Grassland_Fires/FDS_Input_Files/Case_C064_crude.fds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
&SURF ID = 'wet vegetation'
4949
MATL_ID(1,1:1) = 'GENERIC VEGETATION'
50-
MOISTURE_FRACTION = 0.063
50+
MOISTURE_CONTENT = 0.063
5151
SURFACE_VOLUME_RATIO = 9770.
5252
LENGTH = 0.20
5353
GEOMETRY = 'CYLINDRICAL' /

0 commit comments

Comments
 (0)