Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
f6292d5
FDS Misc Utilities : Matlab tests for colocated schemes on single 2D …
marcosvanella Sep 3, 2025
357314c
Merge remote-tracking branch 'firemodels/master'
marcosvanella Sep 4, 2025
61a95e2
Merge remote-tracking branch 'firemodels/master'
marcosvanella Sep 4, 2025
b42df0f
FDS Source: Add decimal point option
mcgratta Sep 5, 2025
b28a0d8
Merge remote-tracking branch 'firemodels/master' into decimal
mcgratta Sep 5, 2025
3b345d7
FDS Source: Clean-up some output formatting
mcgratta Sep 5, 2025
d3a9dfd
Merge remote-tracking branch 'firemodels/master'
marcosvanella Sep 5, 2025
15ffd5a
FDS Verification: Remove quotes from column headers
mcgratta Sep 5, 2025
0081b19
Merge remote-tracking branch 'firemodels/master'
marcosvanella Sep 8, 2025
54bd18d
FDS Source: Clean up boundary settings
mcgratta Sep 8, 2025
5471555
Merge pull request #15083 from mcgratta/master
mcgratta Sep 8, 2025
26e01be
FDS Verification: Restore input file
mcgratta Sep 8, 2025
6409394
Merge remote-tracking branch 'firemodels/master'
marcosvanella Sep 8, 2025
16b5ef0
Merge pull request #15084 from mcgratta/master
mcgratta Sep 8, 2025
4ba5b86
Merge remote-tracking branch 'firemodels/master'
marcosvanella Sep 8, 2025
61c2343
FDS Makefile : Add ompi_intel compiler combination in set_compilers.sh.
marcosvanella Sep 8, 2025
eee9b30
FDS Verification: reduce tolerance for soborot square wave convergence
rmcdermo Sep 8, 2025
4ec3e63
Merge pull request #15085 from rmcdermo/master
rmcdermo Sep 8, 2025
75a274e
Merge remote-tracking branch 'firemodels/master'
marcosvanella Sep 8, 2025
e6940de
FDS Source : UGLMAT HYPRE, compute only in MPI processes with nonzero…
marcosvanella Sep 8, 2025
f3a42a4
FDS Source : Mask unused.
marcosvanella Sep 8, 2025
dd982db
FDS Source: Remove the CVODE order check
cxp484 Sep 9, 2025
92ccc68
Merge pull request #15087 from marcosvanella/master
marcosvanella Sep 9, 2025
3a0422d
FDS Validation: NIST Pool Fires Type-S TCs
drjfloyd Sep 9, 2025
8ed3cf1
Merge pull request #15088 from drjfloyd/master
drjfloyd Sep 9, 2025
514f7b0
FDS Validation: NIST Pool Fires GEOM Type S TC
drjfloyd Sep 9, 2025
3076593
Merge pull request #15089 from drjfloyd/master
drjfloyd Sep 9, 2025
df03bfd
FDS Verification: add zone break test with uglmat hypre
rmcdermo Sep 9, 2025
a15ed46
Merge pull request #15091 from rmcdermo/master
rmcdermo Sep 9, 2025
1ae7856
FDS Source: Slight adjustment of wall bc logic
mcgratta Sep 9, 2025
b4f061d
Merge pull request #15092 from mcgratta/master
mcgratta Sep 9, 2025
0724de2
FDS Source: Disable order 1 check
cxp484 Sep 9, 2025
123fbb7
FDS Source: Allow CVODE_ORDER at the COMB line
cxp484 Sep 9, 2025
a37bd78
Merge remote-tracking branch 'firemodels/master'
cxp484 Sep 9, 2025
5567be6
Merge pull request #15094 from cxp484/master
cxp484 Sep 9, 2025
8eb64e9
FDS Verification: use db version for superbee square wave comparison …
rmcdermo Sep 9, 2025
e6aa9fb
Merge pull request #15095 from rmcdermo/master
rmcdermo Sep 9, 2025
afb6ff6
FDS User Guide: Add undocumented variables
mcgratta Sep 10, 2025
a41d0fe
Merge pull request #15096 from mcgratta/master
mcgratta Sep 10, 2025
69f60ff
FDS Verification: move Schoenberg_Ekman_Layers from validation to ver…
rmcdermo Sep 10, 2025
511f1ba
Merge pull request #15097 from rmcdermo/master
rmcdermo Sep 10, 2025
544fb82
FDS Source: Revert U,V,W in WALL_BC
mcgratta Sep 10, 2025
a9b90eb
Merge pull request #15098 from mcgratta/master
mcgratta Sep 10, 2025
0fb1e26
FDS Source: fix case typo
rmcdermo Sep 10, 2025
5ac76ca
Merge pull request #15099 from rmcdermo/master
rmcdermo Sep 10, 2025
41316ae
FDS User Guide: Improve longtable formatting
mcgratta Sep 10, 2025
52dac3b
Merge pull request #15100 from mcgratta/master
mcgratta Sep 10, 2025
11ba16e
FDS Source: Do not apply CPUA to particles
mcgratta Sep 11, 2025
3db9e6e
Merge pull request #15101 from mcgratta/master
mcgratta Sep 11, 2025
ab00785
FDS User Guide: fix fonts for pressit file columns
rmcdermo Sep 11, 2025
9d9879f
Merge pull request #15102 from rmcdermo/master
rmcdermo Sep 11, 2025
6b28e36
FDS User Guide: Add hooks for firebot
mcgratta Sep 11, 2025
9a985b6
Merge pull request #15103 from mcgratta/master
mcgratta Sep 11, 2025
43dcc08
FDS Source: Fix error applying INIT for duct nodes.
drjfloyd Sep 11, 2025
dcbb40d
Merge pull request #15105 from drjfloyd/master
drjfloyd Sep 11, 2025
020cf85
FDS Source: LES AFT calculation modification
cxp484 Sep 11, 2025
09f9d1e
Merge remote-tracking branch 'firemodels/master' into decimal
mcgratta Sep 11, 2025
23d1701
FDS User Guide: Change namelist for BAROCLINIC from MISC to PRES
mahereid Sep 11, 2025
df5ce85
Merge pull request #15106 from mahereid/bugfix/FDS_User_Guide
rmcdermo Sep 11, 2025
7472410
FDS Source: Fix OB%MASS with BURNAWAY and HOLE Issue #13151
drjfloyd Sep 11, 2025
1e9e7de
Merge pull request #15107 from drjfloyd/master
drjfloyd Sep 11, 2025
a6195ce
Merge remote-tracking branch 'firemodels/master' into decimal
mcgratta Sep 11, 2025
ec24e35
FDS User Guide: Add DECIMAL_SPECIFIER
mcgratta Sep 11, 2025
39eddf1
Merge pull request #15108 from mcgratta/decimal
mcgratta Sep 11, 2025
b169d7d
FDS Source: Trap commas in DEVC IDs
mcgratta Sep 11, 2025
6dd4a79
Merge pull request #15109 from mcgratta/master
mcgratta Sep 11, 2025
0430620
FDS Source: Syntax correction
cxp484 Sep 12, 2025
893fae4
Merge remote-tracking branch 'firemodels/master'
cxp484 Sep 12, 2025
7624692
Merge pull request #15116 from cxp484/master
cxp484 Sep 12, 2025
222893c
Merge remote-tracking branch 'firemodels/master' into FireX
marcosvanella Sep 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Build/Scripts/set_compilers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ set_compiler_from_env_var COMP_CXX FIREMODELS_CXX set_COMP_CXX
set_compiler_from_env_var COMP_FC FIREMODELS_FC set_COMP_FC

# Determine compiler list based on build target
if [[ "$FDS_BUILD_TARGET" == *"osx"* ]]; then
if [[ "$FDS_BUILD_TARGET" == "ompi_intel"* ]]; then
select_compiler_from_system COMP_CC mpicc icx
select_compiler_from_system COMP_CXX mpicxx icpx
select_compiler_from_system COMP_FC mpifort
elif [[ "$FDS_BUILD_TARGET" == *"osx"* ]]; then
select_compiler_from_system COMP_CC mpicc clang gcc
select_compiler_from_system COMP_CXX mpicxx clang++ g++
select_compiler_from_system COMP_FC mpifort
Expand Down
1 change: 1 addition & 0 deletions Manuals/Bibliography/commoncommands.tex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
\usepackage{geometry}
\usepackage{relsize}
\usepackage{longtable}
\usepackage{xltabular}
\usepackage{lscape}
\usepackage{booktabs}
\usepackage{colortbl}
Expand Down
305 changes: 155 additions & 150 deletions Manuals/FDS_User_Guide/FDS_User_Guide.tex

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Manuals/FDS_Verification_Guide/FDS_Verification_Guide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2314,10 +2314,10 @@ \section{Ekman Layers (\texorpdfstring{\ct{ekman_}}{ekman\_})}

\begin{figure}[ht]
\centering
\includegraphics[height=2.2in]{../FDS_Validation_Guide/SCRIPT_FIGURES/Schoenberg_Ekman_Layers/ekman_neutral_winds}
\includegraphics[height=2.2in]{SCRIPT_FIGURES/ekman_neutral_winds}
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
\includegraphics[height=2.2in]{../FDS_Validation_Guide/SCRIPT_FIGURES/Schoenberg_Ekman_Layers/ekman_stable_winds} &
\includegraphics[height=2.2in]{../FDS_Validation_Guide/SCRIPT_FIGURES/Schoenberg_Ekman_Layers/ekman_unstable_winds}
\includegraphics[height=2.2in]{SCRIPT_FIGURES/ekman_stable_winds} &
\includegraphics[height=2.2in]{SCRIPT_FIGURES/ekman_unstable_winds}
\end{tabular*}
\caption[Schoenberg Ekman Layers]{\label{fig:ekman_layers} Comparison Ekman layer profiles for neutral (top), stable (bottom-left), and unstable (bottom-right) atmospheric boundary layers with the simulation results of Schoenberg \cite{Schoenberg:2004}.}
\end{figure}
Expand Down
15 changes: 8 additions & 7 deletions Source/chem.f90
Original file line number Diff line number Diff line change
Expand Up @@ -928,13 +928,14 @@ SUBROUTINE CVODE_SERIAL(CC,ZZ_0, TMP_IN, TMP_UNMIX, PR_IN, ZETA0, TAU_MIX, CELL_
END IF

! SET MAX ORDER
MAXORD_C = 5
IF (IS_EXPONENT_LT_1) MAXORD_C = 1
IERR_C = FCVODESETMAXORD(CVODE_MEM, MAXORD_C)
IF (IERR_C /= 0) THEN
WRITE(LU_ERR,*) 'ERROR IN FCVODESETMAXORD, IERR = ', IERR_C, '; HALTING'
STOP 1
END IF
IF (CVODE_ORDER > 0) THEN
MAXORD_C = CVODE_ORDER
IERR_C = FCVODESETMAXORD(CVODE_MEM, MAXORD_C)
IF (IERR_C /= 0) THEN
WRITE(LU_ERR,*) 'ERROR IN FCVODESETMAXORD, IERR = ', IERR_C, '; HALTING'
STOP 1
END IF
ENDIF

! SET ERROR HANDLER
IERR_C = FCVODESETERRHANDLERFN(CVODE_MEM, C_FUNLOC(FDS_CVODE_ERR_HANDLER), C_NULL_PTR)
Expand Down
7 changes: 6 additions & 1 deletion Source/cons.f90
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ MODULE GLOBAL_CONSTANTS
CHARACTER(FILE_LENGTH) :: VTK_DIR !< Custom directory for output
CHARACTER(FILE_LENGTH) :: WORKING_DIR !< Current working directory for output
CHARACTER(FILE_LENGTH) :: BINGEOM_DIR !< Custom directory for writing binary geometry files
CHARACTER(5) :: DECIMAL_SPECIFIER='POINT' !< Use point or comma for real outputs
CHARACTER(1) :: SEPARATOR !< Decimal point or comma

! Dates, version numbers, revision numbers

Expand Down Expand Up @@ -612,6 +614,9 @@ MODULE GLOBAL_CONSTANTS
CHARACTER(FN_LENGTH) :: FN_PARAVIEW

CHARACTER(9) :: FMT_R
CHARACTER(25) :: REAL_LIST
CHARACTER( 9) :: CHAR_LIST
CHARACTER(11) :: INTG_LIST
LOGICAL :: OUT_FILE_OPENED=.FALSE.
#ifdef WITH_HDF5
! Total number of obst and geom patches in each mesh
Expand Down Expand Up @@ -961,7 +966,7 @@ MODULE CHEMCONS
LOGICAL :: DO_CHEM_LOAD_BALANCE = .FALSE.
INTEGER :: MAX_CVODE_SUBSTEPS=100000
INTEGER :: CVODE_MAX_TRY=4
LOGICAL :: IS_EXPONENT_LT_1 = .FALSE.
INTEGER :: CVODE_ORDER=0

! FOR WRITING CVODE SUBSTEPS
LOGICAL :: WRITE_CVODE_SUBSTEPS = .FALSE.
Expand Down
309 changes: 126 additions & 183 deletions Source/dump.f90

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion Source/fire.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,7 @@ SUBROUTINE CVODE(ZZ, TMP_IN, PRES_IN, ZETA_IN, ZETA_OUT, TAU_MIX, CELL_MASS, IG
ELSE
IF (SIM_MODE .NE. DNS_MODE .AND. USE_MIXED_ZN_AFT_TMP) THEN
CALL CALC_ADIABATIC_FLAME_TEMPERATURE(ZZ,TMP_IN,AFT)
IF (AFT < FINITE_RATE_MIN_TEMP) RETURN
TMP_IN_MOD = MAX(TMP_IN,AFT) ! TO DO: Ideal would be a equilibrium temperature based on ZZ(:) and TMP_IN
ENDIF
ENDIF
Expand Down Expand Up @@ -1183,13 +1184,17 @@ END SUBROUTINE CALC_ADIABATIC_FLAME_TEMPERATURE
! Calculate Reactants and products
SUBROUTINE CALC_AFT_REAC_AND_PROD(ZZ,ZZ_REAC,ZZ_PROD)
USE PHYSICAL_FUNCTIONS, ONLY: CALC_EQUIV_RATIO
USE CHEMCONS, ONLY: I_FUEL,I_CO2,I_H2O,I_O2,I_N2
USE CHEMCONS, ONLY: I_FUEL,I_CO2,I_H2O,I_O2,I_N2,USE_MIXED_ZN_AFT_TMP

REAL(EB), INTENT(IN) :: ZZ(N_TRACKED_SPECIES)
REAL(EB), INTENT(OUT) :: ZZ_REAC(N_TRACKED_SPECIES),ZZ_PROD(N_TRACKED_SPECIES)
REAL(EB) :: EQUIV, X,Y,Z,A,B,C,D,E, SUM_ZZ


CALL CALC_EQUIV_RATIO(ZZ(1:N_TRACKED_SPECIES), EQUIV)
IF (SIM_MODE /= DNS_MODE .AND. USE_MIXED_ZN_AFT_TMP) THEN
EQUIV = MAX(1.0_EB,EQUIV)
ENDIF

! Based on CxHyOz + a(O2+3.76N2) = bCO2 + cH2O + dCxHyOz + eO2 + 3.76aN2
X=SPECIES_MIXTURE(I_FUEL)%ATOMS(6) !C
Expand Down
2 changes: 1 addition & 1 deletion Source/func.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3761,7 +3761,7 @@ SUBROUTINE ALLOCATE_BOUNDARY_PROP2_ARRAYS
B2_INDEX = M%NEXT_AVAILABLE_BOUNDARY_PROP2_SLOT
ENDIF

IF (B2_INDeX==0 .OR. B2_INDEX>M%N_BOUNDARY_PROP2_DIM) THEN ! There are no open slots for boundary coordinates
IF (B2_INDEX==0 .OR. B2_INDEX>M%N_BOUNDARY_PROP2_DIM) THEN ! There are no open slots for boundary coordinates
ALLOCATE(B2_DUMMY(1:M%N_BOUNDARY_PROP2_DIM+N_NEW_STORAGE_SLOTS))
IF (M%N_BOUNDARY_PROP2_DIM>0) B2_DUMMY(1:M%N_BOUNDARY_PROP2_DIM) = M%BOUNDARY_PROP2(1:M%N_BOUNDARY_PROP2_DIM)
CALL MOVE_ALLOC(B2_DUMMY,M%BOUNDARY_PROP2)
Expand Down
19 changes: 14 additions & 5 deletions Source/hvac.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1301,9 +1301,11 @@ SUBROUTINE INIT_DUCT_NODE
USE PHYSICAL_FUNCTIONS, ONLY: GET_ENTHALPY
USE MATH_FUNCTIONS, ONLY: EVALUATE_RAMP
REAL(EB) :: ZZ_GET(1:N_TRACKED_SPECIES) !< Species mass fraction array.
REAL(EB) :: VF(1:N_TRACKED_SPECIES) !< Species volunme fraction array.
REAL(EB) :: TNOW !< Current CPU time (s) used in computing length of time spent in HVAC routines.
INTEGER :: NN,N
TYPE(DUCTNODE_TYPE), POINTER :: DN
TYPE(INITIALIZATION_TYPE), POINTER :: IN

TNOW = CURRENT_TIME()

Expand Down Expand Up @@ -1336,11 +1338,18 @@ SUBROUTINE INIT_DUCT_NODE

INIT_LOOP: DO N = 1,N_INIT
IF (TRIM(INITIALIZATION(N)%NODE_ID)==TRIM(DN%ID)) THEN
DN%ZZ0 = INITIALIZATION(N)%MASS_FRACTION
IF (INITIALIZATION(N)%TEMPERATURE > 0._EB) THEN
DN%TMP0 = INITIALIZATION(N)%TEMPERATURE
ELSE
DN%TMP0 = DN%TMP
IN => INITIALIZATION(N)
IF (IN%VOLUME_FRACTIONS_SPECIFIED) THEN
VF(2:N_TRACKED_SPECIES) = IN%VOLUME_FRACTION(2:N_TRACKED_SPECIES)
VF(1) = 1._EB - SUM(VF)
DN%ZZ0 = VF(1:N_TRACKED_SPECIES)*SPECIES_MIXTURE(1:N_TRACKED_SPECIES)%MW / &
SUM(VF(1:N_TRACKED_SPECIES)*SPECIES_MIXTURE(1:N_TRACKED_SPECIES)%MW)
ELSEIF (IN%MASS_FRACTIONS_SPECIFIED) THEN
DN%ZZ0(2:N_TRACKED_SPECIES) = IN%MASS_FRACTION(2:N_TRACKED_SPECIES)
DN%ZZ0(1) = 1._EB - SUM(DN%ZZ0(2:N_TRACKED_SPECIES))
ENDIF
IF (IN%TEMPERATURE > 0._EB) THEN
DN%TMP0 = IN%TEMPERATURE
ENDIF
EXIT INIT_LOOP
ENDIF
Expand Down
Loading
Loading