├── .gitignore ├── Build ├── .gitignore ├── CData │ ├── gnu_linux_64 │ │ └── make_cdata.sh │ ├── gnu_linux_64_db │ │ └── make_cdata.sh │ ├── gnu_osx_64 │ │ └── make_cdata.sh │ ├── gnu_osx_64_db │ │ └── make_cdata.sh │ ├── gnu_win_64 │ │ └── make_cdata.bat │ ├── gnu_win_64_db │ │ └── make_cdata.bat │ ├── intel_linux_64 │ │ └── make_cdata.sh │ ├── intel_linux_64_db │ │ └── make_cdata.sh │ ├── intel_osx_64 │ │ └── make_cdata.sh │ ├── intel_osx_64_db │ │ └── make_cdata.sh │ ├── intel_win_64 │ │ └── make_cdata.bat │ ├── intel_win_64_db │ │ └── make_cdata.bat │ └── makefile ├── CFAST │ ├── gnu_linux_64 │ │ └── make_cfast.sh │ ├── gnu_linux_64_db │ │ └── make_cfast.sh │ ├── gnu_osx_64 │ │ └── make_cfast.sh │ ├── gnu_osx_64_db │ │ └── make_cfast.sh │ ├── gnu_win_64 │ │ └── make_cfast.bat │ ├── gnu_win_64_db │ │ └── make_cfast.bat │ ├── intel_linux_64 │ │ └── make_cfast.sh │ ├── intel_linux_64_db │ │ └── make_cfast.sh │ ├── intel_osx_64 │ │ └── make_cfast.sh │ ├── intel_osx_64_db │ │ └── make_cfast.sh │ ├── intel_win_64 │ │ └── make_cfast.bat │ ├── intel_win_64_db │ │ └── make_cfast.bat │ └── makefile ├── Cedit │ └── make_cedit.bat ├── README.md ├── VandV_Calcs │ ├── gnu_linux_64 │ │ └── make_vv.sh │ ├── gnu_osx_64 │ │ └── make_vv.sh │ ├── intel_linux_64 │ │ └── make_vv.sh │ ├── intel_osx_64 │ │ └── make_vv.sh │ ├── intel_win_64 │ │ └── make_vv.bat │ └── makefile ├── build_cfast.html ├── cyl_test │ ├── intel_linux_64 │ │ └── make_test.sh │ ├── intel_osx_64 │ │ └── make_test.sh │ ├── intel_win_64 │ │ └── make_test.bat │ └── makefile ├── scripts │ ├── EDIT_getting_started.bat │ ├── INSTALLcfastlinux64.bat │ ├── INSTALLcfastosx64.bat │ ├── PACKAGEcfastlinux64.bat │ ├── PACKAGEcfastosx64.bat │ ├── RUNlinuxcfastbot.sh │ ├── RUNosxcfastbot.sh │ ├── SHOW_setup.bat │ ├── UPDATE_latest_cfast_onhost.csh │ ├── cfast_env.bat │ ├── cfastv.sh │ ├── getting_started.html │ ├── gitbranch.bat │ ├── githash.bat │ ├── gitlog.bat │ ├── run_command.sh │ ├── setup_intel_compilers.bat │ ├── setup_intel_compilersNEW.bat │ ├── setup_intel_compilersONEAPI.bat │ ├── ssh_command.csh │ ├── webBUILDcfastlinux64.bat │ ├── webBUILDcfastlinux64db.bat │ ├── webBUILDcfastosx64.bat │ ├── webBUILDcfastosx64db.bat │ ├── webBUILDcfastwin64.bat │ ├── webBUILDcfastwin64db.bat │ ├── webCOPYconfig2home.bat │ ├── webCOPYhome2config.bat │ ├── webEDIT_build_cfast.bat │ ├── webEDIT_setup.bat │ ├── webGET_cfast_version.bat │ ├── webGET_revision.bat │ ├── webINSTALLcfastwin64.bat │ ├── webPACKAGEcfastwin64.bat │ ├── webRUN_script.bat │ ├── webRUNlinuxcfastbot.bat │ ├── webRUNosxcfastbot.bat │ ├── webRUNwincfastbot.bat │ ├── webTEST_setup.bat │ ├── webUPLOADcfast.bat │ ├── webUpdate_repos_git.bat │ └── webUpdate_windows_repos_git.bat └── zfm │ ├── intel_linux_32 │ └── make_zfm.sh │ ├── intel_osx_32 │ └── make_zfm.sh │ ├── intel_win_32 │ └── make_zfm.bat │ └── makefile ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.md ├── Manuals ├── Bibliography │ ├── CFAST_refs.bib │ ├── authors.tex │ ├── commoncommands.tex │ └── model_description.tex ├── CFAST_CData_Guide │ ├── Appendix_CData_Keywords.tex │ ├── Appendix_R_Scripts.tex │ ├── CFAST_CData_Guide.tex │ ├── Examples │ │ ├── Detectors.in │ │ ├── Detectors.ini │ │ ├── Example_HRRs.JNB │ │ ├── Flashover.in │ │ ├── Large Building.in │ │ ├── MultiFloor.in │ │ ├── Sensitivity.in │ │ ├── Sensitivity.ini │ │ └── Simple.in │ ├── FIGURES │ │ ├── Detector_HRR_Samples.JPG │ │ ├── Detectors.png │ │ ├── Detectors_Running.png │ │ ├── Flashover.png │ │ ├── Flashover_HRR_Samples.JPG │ │ ├── Number_of_Bedrooms.PNG │ │ ├── Sample_Visualization.png │ │ ├── Sensitivity.png │ │ ├── Sensitivity_HRR_Samples.JPG │ │ ├── Sensitivity_Running.png │ │ ├── Simple_max_temp_mean.jpeg │ │ ├── Simple_max_temp_sd.jpeg │ │ ├── Simple_tree_temp.jpeg │ │ ├── Total_Floor_Area.PNG │ │ ├── Total_Rooms.PNG │ │ ├── cart-1.pdf │ │ ├── converg-1.pdf │ │ ├── converg-2.pdf │ │ ├── cvg_plot-1.pdf │ │ ├── dgamma-1.pdf │ │ ├── dgamma-2.pdf │ │ ├── dgamma-3.pdf │ │ ├── dgamma-4.pdf │ │ ├── doc.pdf │ │ ├── ex2_cvg_plot-1.pdf │ │ ├── kde-1.pdf │ │ ├── nistident.pdf │ │ ├── nistident_flright_300ppi.jpg │ │ └── simple_width.jpeg │ ├── make_guide.bat │ └── make_guide.sh ├── CFAST_Configuration_Guide │ ├── CFAST_Configuration_Guide.tex │ ├── FIGURES │ │ ├── NewIssue.jpg │ │ ├── OrgChart.pdf │ │ ├── doc.pdf │ │ └── nistident.pdf │ ├── SQA_Chapter.tex │ ├── make_guide.bat │ └── make_guide.sh ├── CFAST_Tech_Ref │ ├── CFAST_Tech_Ref.tex │ ├── FIGURES │ │ ├── Control_Volumes.pdf │ │ ├── Vent_Mass_Fraction.pdf │ │ ├── doc.pdf │ │ ├── nistident.pdf │ │ └── nistident_flright_300ppi.jpg │ ├── make_guide.bat │ └── make_guide.sh ├── CFAST_Users_Guide │ ├── Appendix_CFAST_Keywords.tex │ ├── CFAST_Input_Files │ │ └── Tech Ref Zone Model Terms │ │ │ └── Single Room.in │ ├── CFAST_Users_Guide.tex │ ├── FIGURES │ │ ├── CFAST_Absolute_Positioning.png │ │ ├── CFAST_Coordinates.png │ │ ├── Compartment_Geometry_Tab.png │ │ ├── Create_t2.png │ │ ├── Detector_Tab.png │ │ ├── Environment_Tab.png │ │ ├── Fire_Tab.png │ │ ├── Insert_Thermal_Properties.png │ │ ├── Mechanical_Vent_Tab.png │ │ ├── Natural_Flow_Tab.png │ │ ├── SMV_Detectors.png │ │ ├── SMV_Sample.png │ │ ├── SMV_Temperature.png │ │ ├── SMV_Velocity.png │ │ ├── Standard_Output.png │ │ ├── Surface_Connection_Tab.png │ │ ├── Target_Tab.png │ │ ├── Thermal_Properties_Tab.png │ │ ├── Vertical_Flow_Tab.png │ │ ├── Visualizations_Tab.png │ │ ├── doc.pdf │ │ └── nistident.pdf │ ├── Getting_Started_Chapter.tex │ ├── Input_File_Chapter.tex │ ├── Limits_Chapter.tex │ ├── Output_Chapter.tex │ ├── SCRIPT_FIGURES │ │ └── .gitignore │ ├── make_guide.bat │ └── make_guide.sh ├── CFAST_Validation_Guide │ ├── Appendix_Graphs.doc │ ├── Appendix_Graphs.tex │ ├── Appendix_Graphs_Full.tex │ ├── Appendix_Layer_Calculations.tex │ ├── Appendix_Only.tex │ ├── Appendix_Only_Graphs.tex │ ├── CFAST_Validation_Guide.tex │ ├── Experiment_Chapter.tex │ ├── FIGURES │ │ ├── ATF_Corridors │ │ │ ├── .gitignore │ │ │ └── ATF_Corridors_Drawing.png │ │ ├── DelCo_Trainers │ │ │ ├── .gitignore │ │ │ ├── East_Structure_Dimensioned_Instrumentation.pdf │ │ │ ├── West_Structure_1st_Floor_Dimensioned_Instrumentation.pdf │ │ │ └── West_Structure_2nd_Floor_Dimensioned_Instrumentation.pdf │ │ ├── FM_NBS │ │ │ └── FMSummary.pdf │ │ ├── FM_SNL │ │ │ ├── FMSNL_HRR.jpg │ │ │ ├── FM_SNL_Drawing.png │ │ │ └── FM_SNL_Overview_CFAST.jpg │ │ ├── Flashover.JNB │ │ ├── LLNL_Enclosure │ │ │ └── LLNL_Enclosure_Drawing.png │ │ ├── NBS │ │ │ ├── NBSFurniture.pdf │ │ │ ├── NBS_100kW_fire.jpg │ │ │ ├── NBS_Drawing.png │ │ │ ├── NBS_Furniture_Test.jpg │ │ │ ├── NBS_HRR_100A.jpg │ │ │ ├── NBS_HRR_100Z.pdf │ │ │ ├── NBS_Summary.jpg │ │ │ └── NBS_Summary_CFAST.jpg │ │ ├── NIST_Dunes_2000 │ │ │ ├── .gitignore │ │ │ └── Manufactured_Home_Drawing.png │ │ ├── NIST_NRC │ │ │ ├── NISTNRC_1MW_fire.jpg │ │ │ ├── NISTNRC_HRR.jpg │ │ │ ├── NISTNRC_Summary.jpg │ │ │ ├── NIST_NRC_Drawing.png │ │ │ └── NIST_NRC_Overview_CFAST.jpg │ │ ├── NIST_NRC_Corner_Effects │ │ │ ├── Cabinet_2x2x7.png │ │ │ ├── Cabinet_3x3x7.png │ │ │ └── grill_drawing.pdf │ │ ├── NIST_PLAZA │ │ │ └── PlazaSummary.pdf │ │ ├── NIST_Vent_Study │ │ │ ├── .gitignore │ │ │ ├── Latex_Drawing_1.pdf │ │ │ ├── Latex_Drawing_2.pdf │ │ │ ├── Latex_Drawing_Front.pdf │ │ │ └── Latex_Drawing_Plan.pdf │ │ ├── SP_AST │ │ │ ├── .gitignore │ │ │ └── SP_AST_Compartment_Drawing.png │ │ ├── ScatterPlots │ │ │ └── .gitignore │ │ ├── Steckler_Compartment │ │ │ ├── .gitignore │ │ │ └── Steckler_Room_Drawing.png │ │ ├── Structure.pdf │ │ ├── UL_NIJ_Houses │ │ │ ├── UL_NIJ_Colonial_layout.pdf │ │ │ └── UL_NIJ_Ranch_layout.pdf │ │ ├── UL_NIST_Vents │ │ │ ├── .gitignore │ │ │ └── UL_NIST_Vents_Drawing.png │ │ ├── VTT │ │ │ ├── VTT_2MW_fire.jpg │ │ │ ├── VTT_Case1_HRR.jpg │ │ │ ├── VTT_Case2_HRR.jpg │ │ │ ├── VTT_Case3_HRR.jpg │ │ │ ├── VTT_Cut_Away.jpg │ │ │ ├── VTT_Cut_Away_CFAST.jpg │ │ │ └── VTT_Drawing.png │ │ ├── Verification │ │ │ ├── .gitignore │ │ │ ├── VVent_Geom.png │ │ │ ├── radiation_verification_case3_enclosure_geometry.png │ │ │ └── surface_opening_fraction_1.png │ │ ├── Vettori_Flat │ │ │ └── Vettori_Flat_Ceiling.png │ │ ├── WTC │ │ │ └── WTC_Drawing.png │ │ ├── doc.pdf │ │ ├── flashover.pdf │ │ ├── iBMB │ │ │ ├── iBMB_Cable.pdf │ │ │ ├── iBMB_HRR.pdf │ │ │ └── iBMB_Pool.pdf │ │ ├── nistident.pdf │ │ └── nistident_flright_300ppi.jpg │ ├── HGL_Chapter.tex │ ├── Heat_Flux_Chapter.tex │ ├── Overview_Chapter.tex │ ├── Plume_Chapter.tex │ ├── Pressure_Chapter.tex │ ├── SCRIPT_FIGURES │ │ ├── .gitignore │ │ ├── ATF_Corridors │ │ │ └── .gitignore │ │ ├── DelCo_Trainers │ │ │ └── .gitignore │ │ ├── FM_NBS │ │ │ └── .gitignore │ │ ├── FM_SNL │ │ │ └── .gitignore │ │ ├── Fleury_Heat_Flux │ │ │ └── .gitignore │ │ ├── High_Bay │ │ │ └── .gitignore │ │ ├── LLNL_Enclosure │ │ │ └── .gitignore │ │ ├── NBS │ │ │ └── .gitignore │ │ ├── NIST_Dunes_2000 │ │ │ └── .gitignore │ │ ├── NIST_NRC │ │ │ └── .gitignore │ │ ├── NIST_NRC_Corner_Effects │ │ │ └── .gitignore │ │ ├── NIST_Plaza │ │ │ └── .gitignore │ │ ├── NIST_Vent_Study │ │ │ └── .gitignore │ │ ├── PRISME │ │ │ └── .gitignore │ │ ├── SP_AST │ │ │ └── .gitignore │ │ ├── ScatterPlots │ │ │ └── .gitignore │ │ ├── Steckler_Compartment │ │ │ └── .gitignore │ │ ├── UL_NFPRF │ │ │ └── .gitignore │ │ ├── UL_NIJ_Houses │ │ │ └── .gitignore │ │ ├── UL_NIST_Vents │ │ │ └── .gitignore │ │ ├── VTT │ │ │ └── .gitignore │ │ ├── Verification │ │ │ └── .gitignore │ │ ├── Vettori_Flat │ │ │ └── .gitignore │ │ ├── WTC │ │ │ └── .gitignore │ │ └── iBMB │ │ │ └── .gitignore │ ├── Species_Chapter.tex │ ├── Summary_Chapter.tex │ ├── Surface_Temperature_Chapter.tex │ ├── Survey_Chapter.tex │ ├── V&V Guide.cdr │ ├── Validation Guide Misc Plots.JNB │ ├── Velocity_Chapter.tex │ ├── Verification_Chapter.tex │ ├── make_guide.bat │ └── make_guide.sh ├── Code_Documentation │ ├── Doxyfile │ └── README.md ├── LaTeX_Style_Files │ ├── datetime.sty │ ├── fc-UKenglish.def │ ├── fc-USenglish.def │ ├── fc-british.def │ ├── fc-english.def │ ├── fc-french.def │ ├── fc-german.def │ ├── fc-italian.def │ ├── fc-portuges.def │ ├── fc-spanish.def │ ├── fmtcount.sty │ ├── pdfsync.sty │ ├── scrlogo.dtx │ ├── tocstyle.dtx │ └── tocstyle.sty └── README.md ├── README.md ├── Source ├── .gitignore ├── CFAST │ ├── ReadMe.txt │ ├── cfast.f90 │ ├── cfast_data.f90 │ ├── cfast_interfaces.f90 │ ├── cfast_parameters.f90 │ ├── cfast_structures.f90 │ ├── cfastbot_trigger.txt │ ├── cfastexit.f90 │ ├── compartments.f90 │ ├── conduction.f90 │ ├── convection.f90 │ ├── fire.f90 │ ├── flowfan.f90 │ ├── flowhorizontal.f90 │ ├── flowvertical.f90 │ ├── initialization.f90 │ ├── input.f90 │ ├── input_namelist.f90 │ ├── keyboard_gnu.f90 │ ├── keyboard_int.f90 │ ├── numerics.f90 │ ├── output.f90 │ ├── outputdebug.f90 │ ├── outputsmv.f90 │ ├── outputspreadsheet.f90 │ ├── prec.f90 │ ├── radiation.f90 │ ├── skipmatlab_trigger.txt │ ├── solve.f90 │ ├── srev.f90 │ ├── ssHeaders.f90 │ ├── target.f90 │ └── utilities.f90 ├── Cdata │ ├── Accumulator.f90 │ ├── Source1.f90 │ ├── Write Batch Files.f90 │ ├── cdata.f90 │ ├── cdata_accumlator.f90 │ ├── cdata_data.f90 │ ├── cdata_diagnostics.f90 │ ├── cdata_enoughdone.f90 │ ├── cdata_output.f90 │ ├── cdata_parameters.f90 │ ├── cdata_preprocessor.f90 │ ├── cdata_statistics.f90 │ ├── cdata_structures.f90 │ ├── input_pp_namelist.f90 │ ├── montecarlo.f90 │ ├── random.f90 │ └── write_inputfile.f90 ├── Cedit │ ├── About.resx │ ├── About.vb │ ├── AllFireObjects.resx │ ├── AllFireObjects.vb │ ├── AssemblyInfo.vb │ ├── CEdit.gclicx │ ├── CEdit.resx │ ├── CEdit.vb │ ├── CFASTSMV.gif │ ├── CSVsheet.vb │ ├── Compartment.vb │ ├── Copy.vb │ ├── Data.vb │ ├── EditFireObject.Designer.vb │ ├── EditFireObject.resx │ ├── EditFireObject.vb │ ├── Environment.vb │ ├── Errors.vb │ ├── Fire.bmp │ ├── Fire.vb │ ├── Fire_Advanced.Designer.vb │ ├── Fire_Advanced.resx │ ├── Fire_Advanced.vb │ ├── IO.vb │ ├── InsertData.Designer.vb │ ├── InsertData.resx │ ├── InsertData.vb │ ├── MonteCarlo.vb │ ├── My Project │ │ ├── Resources.Designer.vb │ │ └── Resources.resx │ ├── NameListFile.vb │ ├── RecentFiles.vb │ ├── RunModel.resx │ ├── RunModel.vb │ ├── Target.vb │ ├── Thermal Properties Edit.resx │ ├── Thermal Properties Edit.vb │ ├── Thermal Properties.vb │ ├── UpdateDataFiles.Designer.vb │ ├── UpdateDataFiles.resx │ ├── UpdateDataFiles.vb │ ├── UpdateGUI.vb │ ├── User Units.resx │ ├── User Units.vb │ ├── Vent.vb │ ├── ViewFile.Designer.vb │ ├── ViewFile.resx │ ├── ViewFile.vb │ ├── Visual.vb │ ├── app.config │ ├── bunk.gif │ ├── ellogob.ico │ ├── licenses.licx │ ├── t2fire.Designer.vb │ ├── t2fire.resx │ └── t2fire.vb ├── Create_scripts │ └── Create_scripts.f90 ├── Egress │ ├── Docs │ │ └── WordDocuments │ │ │ └── EgressEstimator.docx │ ├── EgressElement.vb │ ├── EgressEstimator.chm │ ├── EgressEstimatorInput.vb │ ├── EgressVisualisator.xlsm │ ├── ErrorHandler.vb │ ├── Matrix.vb │ ├── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ ├── Settings.settings │ │ └── app.manifest │ ├── SimpleODESolver.vb │ ├── VectorFunction.vb │ ├── app.config │ ├── bin │ │ ├── Debug │ │ │ ├── EgressEstimate01.csv │ │ │ ├── EgressEstimator.chm │ │ │ ├── Matricies.dll │ │ │ ├── buildingfile.csv │ │ │ └── testbuilding.csv │ │ └── Release │ │ │ ├── Batchlist.csv │ │ │ ├── EgressEstimator.chm │ │ │ ├── Matricies.dll │ │ │ └── buildingfile.csv │ ├── ellogob.ico │ ├── frmEstimator.Designer.vb │ ├── frmEstimator.resx │ └── frmEstimator.vb ├── README.md ├── VandV_Calcs │ ├── Functions.f90 │ ├── ReadCommaDelimitedFile.f90 │ └── VandV_Calcs.f90 ├── cyl_test │ └── cyl_test.f90 └── zfm │ └── source │ ├── cnduct.f90 │ ├── convec.f90 │ ├── convecflow.f90 │ ├── datacopy.f90 │ ├── ddassl.f │ ├── dfzero.f │ ├── fireflow.f90 │ ├── getdp.f90 │ ├── getvals.f90 │ ├── hvacflow.f90 │ ├── initmm.f90 │ ├── interp.f90 │ ├── interpmain.f90 │ ├── main.f90 │ ├── modules.f90 │ ├── precision.f90 │ ├── rad4.f90 │ ├── rdflux.f90 │ ├── readdata.f90 │ ├── resid.f90 │ ├── solve.f90 │ ├── svout.f90 │ ├── ventflow.f90 │ └── zonefire.f90 ├── Utilities ├── Matlab │ ├── CFAST_validation_dataplot_inputs.csv │ ├── CFAST_validation_scatterplot_inputs.csv │ ├── CFAST_validation_scatterplot_output_baseline.csv │ ├── CFAST_validation_script.m │ ├── CFAST_verification_dataplot_inputs.csv │ ├── CFAST_verification_scatterplot_inputs.csv │ ├── CFAST_verification_script.m │ ├── run_matlab_validation.bat │ ├── run_matlab_verification.bat │ └── scripts │ │ ├── 81cases_data.csv │ │ ├── PlugholingFr1.m │ │ ├── PlugholingFr2.m │ │ ├── addverstr.m │ │ ├── csvreaderALL.m │ │ ├── dataplot.m │ │ ├── define_drow_variables.m │ │ ├── define_qrow_variables.m │ │ ├── dvcread.m │ │ ├── fire_ignition.m │ │ ├── justplot.m │ │ ├── max_plume_temp.m │ │ ├── parse.m │ │ ├── parsepipe.m │ │ ├── parseplus.m │ │ ├── plot_style.m │ │ ├── radiation_1.m │ │ ├── radiativefluxes.m │ │ ├── scatplot.m │ │ ├── speciesmass.m │ │ ├── spiegel_test.m │ │ ├── sprinkler_1.m │ │ ├── statistics_histogram.m │ │ ├── statistics_output.m │ │ ├── stripcell.m │ │ ├── strsplitter.m │ │ ├── target_2.m │ │ ├── ventilation_1.m │ │ └── ventilation_4.m ├── README.md ├── Subversion │ ├── config │ └── svn-fix-props.pl ├── Visual_Studio │ ├── Backup_vs_config.bat │ ├── CData.vfproj │ ├── CEdit.vbproj │ ├── CFAST.sln │ ├── CFAST.vfproj │ ├── Create_scripts.vfproj │ ├── Restore_vs_config.bat │ └── VandV_Calcs.vfproj ├── background │ ├── Makefile │ └── intel_win_64 │ │ └── make_background.bat ├── for_bundle │ ├── .gitignore │ ├── Bin │ │ ├── AllFires.in │ │ ├── CFAST6.chm │ │ ├── Data │ │ │ └── Users_Guide_Example.in │ │ ├── project1 │ │ │ ├── testinstall1.in │ │ │ ├── testinstall2.in │ │ │ └── testinstall3.in │ │ ├── project2 │ │ │ └── threeroomtest.in │ │ └── thermal.csv │ ├── SMV6 │ │ └── .gitignore │ └── scripts │ │ ├── BUNDLEDIR │ │ └── .gitignore │ │ ├── BUNDLE_cfast.bat │ │ ├── BUNDLE_cfast_new.bat │ │ ├── CopyFilestoCFASTclean.bat │ │ ├── Create_Install_Files.bat │ │ ├── archive_examples.bat │ │ ├── bundleinfo │ │ ├── about.txt │ │ ├── icon.ico │ │ ├── main.txt │ │ ├── setup.bat │ │ ├── uninstall.bat │ │ ├── uninstall_cfast.bat │ │ ├── uninstall_cfast2.bat │ │ ├── wrapup_cfast_install.bat │ │ └── wrapup_cfast_install_OLD.bat │ │ ├── copyCFASTcases.bat │ │ └── setup_intel_compilers.bat ├── get_time │ ├── Makefile │ ├── intel_win_64 │ │ └── make_gettime.bat │ └── source │ │ └── get_time.c ├── keyword │ ├── contract_file.bat │ ├── contract_file.sh │ ├── contract_keyword.bat │ ├── contract_keyword.sh │ ├── expand_file.bat │ ├── expand_file.sh │ ├── expand_keyword.bat │ ├── expand_keyword.sh │ ├── get_repo_properties.bat │ └── get_repo_properties.sh ├── make_docs.bat ├── run_everything.bat ├── run_validation.bat ├── runbatch │ ├── intel_win_64 │ │ └── make_batch.bat │ └── main.c ├── scripts │ ├── bundle_generic.sh │ ├── email.bat │ ├── gethashes.bat │ ├── getopts.bat │ ├── make_cdata_scripts.sh │ ├── make_installer.sh │ ├── md5hash.bat │ ├── md5hash.sh │ ├── qcfast.sh │ └── run_cdata_cases.sh ├── sh2bat │ ├── make_sh2bat.bat │ └── sh2bat.c └── uploads │ └── .gitignore ├── Validation ├── 1RFURN │ ├── 1RFURN1.in │ └── 1RFURN6.in ├── 1RWALL │ ├── 1RWALL1.in │ └── 1RWALL2.in ├── ATF_Corridors │ ├── ATF_Corridors_050_kW.in │ ├── ATF_Corridors_100_kW.in │ ├── ATF_Corridors_240_kW.in │ ├── ATF_Corridors_250_kW.in │ ├── ATF_Corridors_500_kW.in │ └── ATF_Corridors_Mix_kW.in ├── CFAST_Activation_inputs.csv ├── CFAST_Ambient_Pressure_Correction_inputs.csv ├── CFAST_Heat_Flux_Profile_inputs.csv ├── CFAST_Pressure_Correction_inputs.csv ├── CFAST_Temperature_Profile_inputs.csv ├── CleanCFAST.bat ├── CleanCFAST.sh ├── Cleanall.bat ├── DelCo_Trainers │ ├── Test_02.in │ ├── Test_03.in │ ├── Test_04.in │ ├── Test_05.in │ ├── Test_06.in │ ├── Test_22.in │ ├── Test_23.in │ ├── Test_24.in │ └── Test_25.in ├── FM_NBS │ ├── FM19.in │ └── FM21.in ├── FM_SNL │ ├── FMSNL_1.in │ ├── FMSNL_10.in │ ├── FMSNL_11.in │ ├── FMSNL_12.in │ ├── FMSNL_13.in │ ├── FMSNL_14.in │ ├── FMSNL_15.in │ ├── FMSNL_16.in │ ├── FMSNL_17.in │ ├── FMSNL_2.in │ ├── FMSNL_21.in │ ├── FMSNL_22.in │ ├── FMSNL_3.in │ ├── FMSNL_4.in │ ├── FMSNL_5.in │ ├── FMSNL_6.in │ ├── FMSNL_7.in │ ├── FMSNL_8.in │ └── FMSNL_9.in ├── Fleury_Heat_Flux │ ├── Fleury_1t1_100_kW.in │ ├── Fleury_1t1_150_kW.in │ ├── Fleury_1t1_200_kW.in │ ├── Fleury_1t1_250_kW.in │ ├── Fleury_1t1_300_kW.in │ ├── Fleury_2t1_100_kW.in │ ├── Fleury_2t1_150_kW.in │ ├── Fleury_2t1_200_kW.in │ ├── Fleury_2t1_250_kW.in │ ├── Fleury_2t1_300_kW.in │ ├── Fleury_3t1_100_kW.in │ ├── Fleury_3t1_150_kW.in │ ├── Fleury_3t1_200_kW.in │ ├── Fleury_3t1_250_kW.in │ └── Fleury_3t1_300_kW.in ├── High_Bay │ ├── USN_Hawaii_Test_01.in │ ├── USN_Hawaii_Test_02.in │ ├── USN_Hawaii_Test_03.in │ ├── USN_Hawaii_Test_04.in │ ├── USN_Hawaii_Test_05.in │ ├── USN_Hawaii_Test_06.in │ ├── USN_Hawaii_Test_07.in │ ├── USN_Hawaii_Test_11.in │ ├── USN_Iceland_Test_01.in │ ├── USN_Iceland_Test_02.in │ ├── USN_Iceland_Test_03.in │ ├── USN_Iceland_Test_04.in │ ├── USN_Iceland_Test_05.in │ ├── USN_Iceland_Test_06.in │ ├── USN_Iceland_Test_07.in │ ├── USN_Iceland_Test_09.in │ ├── USN_Iceland_Test_10.in │ ├── USN_Iceland_Test_11.in │ ├── USN_Iceland_Test_12.in │ ├── USN_Iceland_Test_13.in │ ├── USN_Iceland_Test_14.in │ ├── USN_Iceland_Test_15.in │ ├── USN_Iceland_Test_17.in │ ├── USN_Iceland_Test_18.in │ ├── USN_Iceland_Test_19.in │ ├── USN_Iceland_Test_20.in │ └── USN_Iceland_Test_21.in ├── LLNL_Enclosure │ ├── LLNL_01.in │ ├── LLNL_02.in │ ├── LLNL_03.in │ ├── LLNL_04.in │ ├── LLNL_05.in │ ├── LLNL_06.in │ ├── LLNL_07.in │ ├── LLNL_08.in │ ├── LLNL_09.in │ ├── LLNL_10.in │ ├── LLNL_11.in │ ├── LLNL_12.in │ ├── LLNL_13.in │ ├── LLNL_14.in │ ├── LLNL_15.in │ ├── LLNL_16.in │ ├── LLNL_17.in │ ├── LLNL_18.in │ ├── LLNL_19.in │ ├── LLNL_20.in │ ├── LLNL_21.in │ ├── LLNL_22.in │ ├── LLNL_23.in │ ├── LLNL_24.in │ ├── LLNL_25.in │ ├── LLNL_26.in │ ├── LLNL_27.in │ ├── LLNL_28.in │ ├── LLNL_29.in │ ├── LLNL_30.in │ ├── LLNL_31.in │ ├── LLNL_32.in │ ├── LLNL_33.in │ ├── LLNL_34.in │ ├── LLNL_35.in │ ├── LLNL_36.in │ ├── LLNL_37.in │ ├── LLNL_38.in │ ├── LLNL_39.in │ ├── LLNL_40.in │ ├── LLNL_41.in │ ├── LLNL_42.in │ ├── LLNL_43.in │ ├── LLNL_44.in │ ├── LLNL_45.in │ ├── LLNL_46.in │ ├── LLNL_47.in │ ├── LLNL_48.in │ ├── LLNL_49.in │ ├── LLNL_50.in │ ├── LLNL_51.in │ ├── LLNL_52.in │ ├── LLNL_53.in │ ├── LLNL_54.in │ ├── LLNL_55.in │ ├── LLNL_56.in │ ├── LLNL_57.in │ ├── LLNL_58.in │ ├── LLNL_59.in │ ├── LLNL_60.in │ ├── LLNL_61.in │ ├── LLNL_62.in │ ├── LLNL_63.in │ └── LLNL_64.in ├── Multi │ └── Multi.in ├── NBS │ ├── MV100A.in │ ├── MV100O.in │ └── MV100Z.in ├── NIST_Dunes_2000 │ ├── NIST_Dunes_2000_SDC02.in │ ├── NIST_Dunes_2000_SDC05.in │ ├── NIST_Dunes_2000_SDC07.in │ ├── NIST_Dunes_2000_SDC09.in │ ├── NIST_Dunes_2000_SDC10.in │ ├── NIST_Dunes_2000_SDC33.in │ ├── NIST_Dunes_2000_SDC35.in │ ├── NIST_Dunes_2000_SDC38.in │ └── NIST_Dunes_2000_SDC39.in ├── NIST_NRC │ ├── NIST_NRC_T1.in │ ├── NIST_NRC_T10.in │ ├── NIST_NRC_T13.in │ ├── NIST_NRC_T14.in │ ├── NIST_NRC_T15.in │ ├── NIST_NRC_T16.in │ ├── NIST_NRC_T17.in │ ├── NIST_NRC_T18.in │ ├── NIST_NRC_T2.in │ ├── NIST_NRC_T3.in │ ├── NIST_NRC_T4.in │ ├── NIST_NRC_T5.in │ ├── NIST_NRC_T7.in │ ├── NIST_NRC_T8.in │ └── NIST_NRC_T9.in ├── NIST_NRC_Corner_Effects │ ├── cabinet_01.in │ ├── cabinet_02.in │ ├── cabinet_03.in │ ├── cabinet_04.in │ ├── cabinet_05.in │ ├── cabinet_06.in │ ├── cabinet_07.in │ ├── cabinet_08.in │ ├── cabinet_09.in │ ├── cabinet_10.in │ ├── cabinet_11.in │ ├── cabinet_12.in │ ├── corner_200_kW.in │ ├── corner_300_kW.in │ ├── corner_400_kW.in │ ├── wall_200_kW.in │ ├── wall_300_kW.in │ └── wall_400_kW.in ├── NIST_Vent_Study │ ├── .gitignore │ ├── Test_1.in │ ├── Test_10.in │ ├── Test_11.in │ ├── Test_12.in │ ├── Test_13.in │ ├── Test_14.in │ ├── Test_15.in │ ├── Test_2.in │ ├── Test_3.in │ ├── Test_4.in │ ├── Test_5.in │ ├── Test_6.in │ ├── Test_7.in │ ├── Test_8.in │ └── Test_9.in ├── PRISME │ ├── PRS_D1.in │ ├── PRS_D2.in │ ├── PRS_D3.in │ ├── PRS_D4.in │ ├── PRS_D5.in │ └── PRS_D6.in ├── README.md ├── SP_AST │ ├── SP_AST_Diesel_1p1.in │ ├── SP_AST_Diesel_1p9.in │ ├── SP_AST_Heptane_1p1.in │ ├── SP_AST_Test_1.in │ ├── SP_AST_Test_1.ini │ ├── SP_AST_Test_1.ssf │ ├── SP_AST_Test_2.in │ └── SP_AST_Test_3.in ├── Steckler_Compartment │ ├── Steckler_010.in │ ├── Steckler_011.in │ ├── Steckler_012.in │ ├── Steckler_013.in │ ├── Steckler_014.in │ ├── Steckler_016.in │ ├── Steckler_017.in │ ├── Steckler_018.in │ ├── Steckler_019.in │ ├── Steckler_020.in │ ├── Steckler_021.in │ ├── Steckler_022.in │ ├── Steckler_023.in │ ├── Steckler_030.in │ ├── Steckler_041.in │ ├── Steckler_114.in │ ├── Steckler_116.in │ ├── Steckler_122.in │ ├── Steckler_144.in │ ├── Steckler_160.in │ ├── Steckler_161.in │ ├── Steckler_162.in │ ├── Steckler_163.in │ ├── Steckler_164.in │ ├── Steckler_165.in │ ├── Steckler_166.in │ ├── Steckler_167.in │ ├── Steckler_210.in │ ├── Steckler_212.in │ ├── Steckler_220.in │ ├── Steckler_221.in │ ├── Steckler_224.in │ ├── Steckler_240.in │ ├── Steckler_242.in │ ├── Steckler_310.in │ ├── Steckler_324.in │ ├── Steckler_410.in │ ├── Steckler_510.in │ ├── Steckler_512.in │ ├── Steckler_513.in │ ├── Steckler_514.in │ ├── Steckler_517.in │ ├── Steckler_520.in │ ├── Steckler_521.in │ ├── Steckler_522.in │ ├── Steckler_524.in │ ├── Steckler_540.in │ ├── Steckler_541.in │ ├── Steckler_542.in │ ├── Steckler_544.in │ ├── Steckler_610.in │ ├── Steckler_612.in │ ├── Steckler_622.in │ ├── Steckler_710.in │ └── Steckler_810.in ├── UL_NFPRF │ ├── UL_NFPRF_1_01.in │ ├── UL_NFPRF_1_02.in │ ├── UL_NFPRF_1_03.in │ ├── UL_NFPRF_1_04.in │ ├── UL_NFPRF_1_05.in │ ├── UL_NFPRF_1_06.in │ ├── UL_NFPRF_1_07.in │ ├── UL_NFPRF_1_08.in │ ├── UL_NFPRF_1_09.in │ ├── UL_NFPRF_1_10.in │ ├── UL_NFPRF_1_11.in │ ├── UL_NFPRF_1_12.in │ ├── UL_NFPRF_1_13.in │ ├── UL_NFPRF_1_14.in │ ├── UL_NFPRF_1_15.in │ ├── UL_NFPRF_1_16.in │ ├── UL_NFPRF_1_17.in │ ├── UL_NFPRF_1_18.in │ ├── UL_NFPRF_1_19.in │ ├── UL_NFPRF_1_20.in │ ├── UL_NFPRF_1_21.in │ ├── UL_NFPRF_1_22.in │ ├── UL_NFPRF_2_01.in │ ├── UL_NFPRF_2_02.in │ ├── UL_NFPRF_2_03.in │ ├── UL_NFPRF_2_04.in │ ├── UL_NFPRF_2_05.in │ ├── UL_NFPRF_2_06.in │ ├── UL_NFPRF_2_07.in │ ├── UL_NFPRF_2_08.in │ ├── UL_NFPRF_2_09.in │ ├── UL_NFPRF_2_10.in │ ├── UL_NFPRF_2_11.in │ └── UL_NFPRF_2_12.in ├── UL_NIJ_Houses │ ├── Single_Story_Gas_1.in │ ├── Single_Story_Gas_2.in │ ├── Single_Story_Gas_5.in │ ├── Two_Story_Gas_1.in │ ├── Two_Story_Gas_4.in │ └── Two_Story_Gas_6.in ├── UL_NIST_Vents │ ├── UL_NIST_Vents_Test_1.in │ ├── UL_NIST_Vents_Test_2.in │ ├── UL_NIST_Vents_Test_3.in │ └── UL_NIST_Vents_Test_4.in ├── VTT │ ├── VTT_C1.in │ ├── VTT_C2.in │ └── VTT_C3.in ├── Vettori_Flat │ ├── Test_1.in │ ├── Test_10.in │ ├── Test_11.in │ ├── Test_12.in │ ├── Test_13.in │ ├── Test_14.in │ ├── Test_15.in │ ├── Test_16.in │ ├── Test_17.in │ ├── Test_18.in │ ├── Test_19.in │ ├── Test_2.in │ ├── Test_20.in │ ├── Test_21.in │ ├── Test_22.in │ ├── Test_23.in │ ├── Test_24.in │ ├── Test_25.in │ ├── Test_26.in │ ├── Test_27.in │ ├── Test_28.in │ ├── Test_29.in │ ├── Test_3.in │ ├── Test_30.in │ ├── Test_31.in │ ├── Test_32.in │ ├── Test_33.in │ ├── Test_34.in │ ├── Test_35.in │ ├── Test_36.in │ ├── Test_37.in │ ├── Test_38.in │ ├── Test_39.in │ ├── Test_4.in │ ├── Test_40.in │ ├── Test_41.in │ ├── Test_42.in │ ├── Test_43.in │ ├── Test_44.in │ ├── Test_45.in │ ├── Test_5.in │ ├── Test_6.in │ ├── Test_7.in │ ├── Test_8.in │ └── Test_9.in ├── WTC │ ├── WTC_01.in │ ├── WTC_02.in │ ├── WTC_03.in │ ├── WTC_04.in │ ├── WTC_05.in │ └── WTC_06.in ├── iBMB_4 │ └── iBMB_4_T1.in ├── iBMB_5 │ └── iBMB_5_T4.in ├── runadjustments.bat ├── runall.bat ├── runvv.bat └── scripts │ ├── .valscriptdir │ ├── CFAST_Cases.sh │ ├── CFAST_Pictures.sh │ ├── Make_CFAST_Pictures.sh │ ├── Make_CFAST_pictures.bat │ ├── Run_CFAST_Cases.bat │ ├── Run_CFAST_Cases.sh │ ├── checkcfast.bat │ ├── erase_stop.bat │ ├── finderrors.bat │ ├── getopts.bat │ ├── gettime.sh │ ├── make_stop.bat │ ├── qcfast.sh │ ├── runcfast.bat │ ├── runcfast.sh │ ├── runcfast2.sh │ ├── runcfast2q.sh │ └── runsmv.bat └── Verification ├── CFAST_Summed_Flow_inputs.csv ├── Cleanall.bat ├── DOE_Guidance_Report ├── DOE201.in ├── DOE202.in ├── DOE203.in ├── DOE204.in ├── DOE205.in ├── DOE206.in └── summed_flows.csv ├── Energy_Balance ├── sealed_test.csv ├── sealed_test.in └── sealed_test_2_layers.in ├── Fires └── Ignition_Test.in ├── Mass_Balance ├── species_mass_1.in ├── species_mass_2.in ├── species_mass_3.in ├── species_mass_4.in ├── species_mass_4_TP.csv └── species_mass_4_theoretical.csv ├── NRC_Users_Guide ├── A_Cabinet_Fire_in_MCR │ ├── Cabinet_fire_in_MCR.in │ └── Cabinet_fire_in_MCR_no_ventilation.in ├── B_Cabinet_Fire_in_Switchgear │ ├── Cabinet_fire_in_switchgear.in │ └── Initial_fire_only.in ├── D_MCC_Fire_in_Switchgear │ ├── MCC_in_switchgear.in │ └── MCC_in_switchgear_one_compartment.in ├── E_Trash_Fire_in_Cable_Spreading_Room │ └── Trash_fire_in_cable_spreading_room.in ├── G_Transient_Fire_in_Corridor │ └── Transient in Corridor.in ├── NUREG_1934_Results.xlsx └── run_NRC.bat ├── README.md ├── Radiation ├── radiation_1.csv ├── radiation_1.in ├── radiation_2.csv ├── radiation_2.in ├── radiation_3.csv ├── radiation_3.in ├── radiation_4.csv ├── radiation_4.in ├── radiation_5.csv └── radiation_5.in ├── Species ├── Trace_Species_1.in ├── Trace_Species_2.in ├── Trace_Species_3.in ├── gas_tenability.in ├── heat_tenability.in ├── methane_flame_simple.in ├── methane_flame_simple_calculated.csv ├── species_test.in ├── species_test_calculated.csv ├── tenability.csv └── trace_calculated.csv ├── Sprinkler └── sprinkler_1.in ├── Target ├── target_1.csv ├── target_1.in ├── target_2.csv └── target_2.in ├── Thermal_Equilibrium ├── basic_tempequilib.csv ├── basic_tempequilib.in ├── basic_tempequilib_window.csv ├── basic_tempequilib_window.in ├── basic_tempequilib_window_elevation.csv └── basic_tempequilib_window_elevation.in ├── Ventilation ├── Leakage_1.in ├── Leakage_2.in ├── Leakage_Flow.csv ├── VVent_Flow.csv ├── VVent_Tests.in ├── surface_opened_fraction_1.csv ├── surface_opened_fraction_1.in ├── ventilation_1.csv ├── ventilation_1.in ├── ventilation_2.csv ├── ventilation_2.in ├── ventilation_3.csv ├── ventilation_3.in ├── ventilation_4.csv └── ventilation_4.in ├── runall.bat └── scripts ├── CFAST_Cases.sh ├── Run_CFAST_Cases.sh ├── Run_CFAST_cases.bat ├── runcfast.sh ├── runcfast2.sh └── runcfast_win32.bat /.gitignore: -------------------------------------------------------------------------------- 1 | # mac file 2 | .DS_Store 3 | ._* 4 | 5 | # visual studio files 6 | *.sln 7 | *.suo 8 | *.u2d 9 | *.vfproj* 10 | *.vbproj* 11 | C1*.dll 12 | C1*.xml 13 | CEdit.application 14 | CEdit.exe.manifest 15 | CEdit.vshost.exe.manifest 16 | CEdit.xml 17 | pthread*.dll 18 | 19 | # compiler output files 20 | *.exe 21 | *.o 22 | *.mod 23 | *.obj 24 | *.pdb 25 | *.exp 26 | *.lib 27 | *_genmod.f90 28 | 29 | # executables 30 | cfast7_intel_* 31 | 32 | # latex output files 33 | *.aux 34 | *.bak 35 | *.bbl 36 | *.blg 37 | *.brf 38 | *.err 39 | *.lof 40 | *.log 41 | *.out 42 | *.pdfsync 43 | *.sav 44 | *.synctex 45 | *.toc 46 | 47 | # cfast output files 48 | *_n.csv 49 | *_s.csv 50 | *_f.csv 51 | *_w.csv 52 | *_zone.csv 53 | *.out 54 | *.smv 55 | *.plt 56 | *.status 57 | *.log 58 | *.sf 59 | *_slice.info 60 | *.iso 61 | 62 | # misc 63 | fort.3 64 | 65 | -------------------------------------------------------------------------------- /Build/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Build/.gitignore -------------------------------------------------------------------------------- /Build/CData/gnu_linux_64/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CData/gnu_linux_64_db/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CData/gnu_osx_64/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CData/gnu_osx_64_db/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CData/gnu_win_64/make_cdata.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Title Building cdata for 64 bit Windows 4 | 5 | make -f ..\makefile gnu_win_64 6 | pause 7 | 8 | -------------------------------------------------------------------------------- /Build/CData/gnu_win_64_db/make_cdata.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Title Building cdata for 64 bit Windows 4 | 5 | make -f ..\makefile gnu_win_64_db 6 | pause 7 | 8 | -------------------------------------------------------------------------------- /Build/CData/intel_linux_64/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_linux_64 9 | 10 | -------------------------------------------------------------------------------- /Build/CData/intel_linux_64_db/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_linux_64_db 9 | -------------------------------------------------------------------------------- /Build/CData/intel_osx_64/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_osx_64 9 | -------------------------------------------------------------------------------- /Build/CData/intel_osx_64_db/make_cdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | rm -f *.o 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_osx_64_db 9 | -------------------------------------------------------------------------------- /Build/CData/intel_win_64/make_cdata.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | set arg2=%2 4 | set md5hash=..\..\..\Utilities\scripts\md5hash.bat 5 | 6 | :: setup compiler environment 7 | if x%arg1% == xbot goto skip1 8 | call ..\..\scripts\setup_intel_compilers.bat intel64 9 | :skip1 10 | 11 | set version=Test Version : 12 | if "x%arg2%" == "xrelease" ( 13 | set version=Release Version : 14 | ) 15 | 16 | Title Building cdata for 64 bit Windows 17 | 18 | make SHELL="%ComSpec%" VERSION="%version%" -f ..\makefile intel_win_64 19 | %md5hash% cdata7_win_64.exe 20 | if x%arg1% == xbot goto skip2 21 | pause 22 | :skip2 23 | -------------------------------------------------------------------------------- /Build/CData/intel_win_64_db/make_cdata.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | set arg2=%2 4 | 5 | :: setup compiler environment 6 | if x%arg1% == xbot goto skip1 7 | call ..\..\scripts\setup_intel_compilers.bat intel64 8 | :skip1 9 | 10 | set version=Test Version : 11 | if "x%arg2%" == "xrelease" ( 12 | set version=Release Version : 13 | ) 14 | 15 | Title Building cdata for 64 bit Windows 16 | 17 | make SHELL="%ComSpec%" VERSION="%version%" -f ..\makefile intel_win_64_db 18 | if x%arg1% == xbot goto skip2 19 | pause 20 | :skip2 21 | -------------------------------------------------------------------------------- /Build/CFAST/gnu_linux_64/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CFAST/gnu_linux_64_db/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CFAST/gnu_osx_64/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CFAST/gnu_osx_64_db/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | make -f ../makefile $target 7 | -------------------------------------------------------------------------------- /Build/CFAST/gnu_win_64/make_cfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Title Building cfast for 64 bit Windows 4 | 5 | make -f ..\makefile gnu_win_64 6 | pause 7 | 8 | -------------------------------------------------------------------------------- /Build/CFAST/gnu_win_64_db/make_cfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Title Building cfast for 64 bit Windows 4 | 5 | make -f ..\makefile gnu_win_64_db 6 | pause 7 | 8 | -------------------------------------------------------------------------------- /Build/CFAST/intel_linux_64/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_linux_64 9 | 10 | -------------------------------------------------------------------------------- /Build/CFAST/intel_linux_64_db/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_linux_64_db 9 | -------------------------------------------------------------------------------- /Build/CFAST/intel_osx_64/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_osx_64 9 | -------------------------------------------------------------------------------- /Build/CFAST/intel_osx_64_db/make_cfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | rm -f *.o 7 | make -f ../makefile $target 8 | ../../../Utilities/scripts/md5hash.sh cfast7_osx_64_db 9 | -------------------------------------------------------------------------------- /Build/CFAST/intel_win_64/make_cfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | set arg2=%2 4 | set md5hash=..\..\..\Utilities\scripts\md5hash.bat 5 | 6 | :: setup compiler environment 7 | if x%arg1% == xbot goto skip1 8 | call ..\..\scripts\setup_intel_compilers.bat intel64 9 | :skip1 10 | 11 | set version=Test Version : 12 | if "x%arg2%" == "xrelease" ( 13 | set version=Release Version : 14 | ) 15 | 16 | Title Building cfast for 64 bit Windows 17 | 18 | make SHELL="%ComSpec%" VERSION="%version%" -f ..\makefile intel_win_64 19 | %md5hash% cfast7_win_64.exe 20 | if x%arg1% == xbot goto skip2 21 | pause 22 | :skip2 23 | -------------------------------------------------------------------------------- /Build/CFAST/intel_win_64_db/make_cfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | set arg2=%2 4 | 5 | :: setup compiler environment 6 | if x%arg1% == xbot goto skip1 7 | call ..\..\scripts\setup_intel_compilers.bat intel64 8 | :skip1 9 | 10 | set version=Test Version : 11 | if "x%arg2%" == "xrelease" ( 12 | set version=Release Version : 13 | ) 14 | 15 | Title Building cfast for 64 bit Windows 16 | 17 | make SHELL="%ComSpec%" VERSION="%version%" -f ..\makefile intel_win_64_db 18 | if x%arg1% == xbot goto skip2 19 | pause 20 | :skip2 21 | -------------------------------------------------------------------------------- /Build/Cedit/make_cedit.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | 4 | :: setup compiler environment 5 | cd ..\..\Source\CEdit 6 | if exist temp rmdir /s /q temp 7 | mkdir temp 8 | 9 | set KWDIR=..\..\Utilities\keyword 10 | set SDIR=.\ 11 | set BINDIR=..\..\Utilities\for_bundle\Bin 12 | set MSBUILD="C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe" 13 | 14 | Title Building CEdit for 64 bit Windows 15 | 16 | @echo Add repository info to CEdit source 17 | call %KWDIR%\expand_file.bat %SDIR% %SDIR%About.vb 18 | 19 | @echo Compile code 20 | cd ..\.. 21 | %MSBUILD% CFAST.sln /target:CEdit /p:Configuration=Release 22 | 23 | @echo Remove repository info from CEdit source 24 | cd Source\CEdit 25 | call %KWDIR%\contract_file.bat %SDIR%\About.vb 26 | 27 | if x%arg1% == xbot goto skip2 28 | pause 29 | :skip2 30 | cd ..\..\Build\Cedit 31 | 32 | -------------------------------------------------------------------------------- /Build/README.md: -------------------------------------------------------------------------------- 1 | # Compiling CFAST 2 | 3 | The folders above are used for compiling CFAST with different Fortran compilers (Intel, Gnu, PGI), different operating systems (Windows, Linux, Mac OS X), and mode (db means debug, dv means low level of optimization, nothing indicates release version). All folders contain a single bash script called `make_cfast.sh` (or `make_cfast.bat` for Windows) that invokes the same `makefile`. All the build targets are listed in the `makefile`. 4 | 5 | If you find a particular set of options that is no longer appropriate, let us know, preferably via a pull request for the makefile. 6 | -------------------------------------------------------------------------------- /Build/VandV_Calcs/gnu_linux_64/make_vv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=gnu_linux_64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | -------------------------------------------------------------------------------- /Build/VandV_Calcs/gnu_osx_64/make_vv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=gnu_osx_64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | echo Building $target 7 | make -f ../makefile $target 8 | -------------------------------------------------------------------------------- /Build/VandV_Calcs/intel_linux_64/make_vv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | git clean -dxf 7 | echo Building $target 8 | make -f ../makefile $target 9 | -------------------------------------------------------------------------------- /Build/VandV_Calcs/intel_osx_64/make_vv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=`pwd` 3 | target=${dir##*/} 4 | 5 | echo Building $target 6 | rm -f *.o 7 | make -f ../makefile $target 8 | -------------------------------------------------------------------------------- /Build/VandV_Calcs/intel_win_64/make_vv.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | 4 | :: setup compiler environment 5 | if x%arg1% == xbot goto skip1 6 | call ..\..\scripts\setup_intel_compilers.bat intel64 7 | :skip1 8 | 9 | Title VV app for 64 bit Windows 10 | 11 | make SHELL="%ComSpec%" -f ..\makefile intel_win_64 12 | if x%arg1% == xbot goto skip2 13 | pause 14 | :skip2 15 | -------------------------------------------------------------------------------- /Build/cyl_test/intel_linux_64/make_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | make -f ../makefile intel_linux_64 7 | -------------------------------------------------------------------------------- /Build/cyl_test/intel_osx_64/make_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | platform=intel64 3 | dir=`pwd` 4 | target=${dir##*/} 5 | 6 | make -f ../makefile intel_osx_64 7 | -------------------------------------------------------------------------------- /Build/cyl_test/intel_win_64/make_test.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: setup compiler environment 4 | call ..\..CFAST\scripts\setup_intel_compilers.bat intel64 5 | 6 | Title Building cfast for 64 bit Windows 7 | 8 | make -f ..\makefile intel_win_64 9 | pause 10 | -------------------------------------------------------------------------------- /Build/scripts/EDIT_getting_started.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Rem setup environment variables (defining where repository resides etc) 3 | 4 | set envfile="%userprofile%"\cfast_env.bat 5 | IF EXIST %envfile% GOTO endif_envexist 6 | echo ***Fatal error. The environment setup file %envfile% does not exist. 7 | echo Create a file named %envfile% and define the environment 8 | echo variables: git_root, git_drive, smv_version and cluster_logon . Example: 9 | echo. 10 | echo set git_root=c:\cfast 11 | echo set git_drive=c: 12 | echo set git_logon=username@computername 13 | echo. 14 | echo Aborting now... 15 | 16 | pause>NUL 17 | goto:eof 18 | 19 | :endif_envexist 20 | 21 | call %envfile% 22 | 23 | %git_drive% 24 | cd %git_root%\Build\scripts 25 | start notepad getting_started.html -------------------------------------------------------------------------------- /Build/scripts/INSTALLcfastlinux64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Packaging test Smokeview for 64 bit Linux 3 | 4 | Rem Windows batch file to create an achive for a 64 bit Linux test smokeview 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\fds_smv_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | 22 | %git_drive% 23 | 24 | cd %git_root%\smv\scripts 25 | 26 | set scriptdir=FDS-SMV/SMV/scripts 27 | set uploaddir=FDS-SMV/SMV/for_bundle/uploads 28 | set exe=smv_%smv_version%_linux64.sh 29 | 30 | echo updating 64 bit smokeview 31 | plink %git_logon% %linux_git_root%/SMV/for_bundle/uploads/%exe% y 32 | pause 33 | -------------------------------------------------------------------------------- /Build/scripts/INSTALLcfastosx64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Packaging test Smokeview for 64 bit Linux 3 | 4 | Rem Windows batch file to create an achive for a 64 bit Linux test smokeview 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\fds_smv_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | 22 | %git_drive% 23 | 24 | cd %git_root%\smv\scripts 25 | 26 | set scriptdir=FDS-SMV/SMV/scripts 27 | set uploaddir=FDS-SMV/SMV/for_bundle/uploads 28 | set smvdir=smv_%smv_version%_osx64.sh 29 | 30 | echo updating 64 bit smokeview 31 | plink %git_logon% %linux_git_root%/SMV/for_bundle/uploads/%exe% y 32 | pause 33 | -------------------------------------------------------------------------------- /Build/scripts/PACKAGEcfastlinux64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Windows batch file to create an achive for a 64 bit Linux smokeview 4 | 5 | Rem setup environment variables (defining where repository resides etc) 6 | 7 | set envfile="%userprofile%"\fds_smv_env.bat 8 | IF EXIST %envfile% GOTO endif_envexist 9 | echo ***Fatal error. The environment setup file %envfile% does not exist. 10 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 11 | echo as an example. 12 | echo. 13 | echo Aborting now... 14 | pause>NUL 15 | goto:eof 16 | 17 | :endif_envexist 18 | 19 | call %envfile% 20 | 21 | %git_drive% 22 | 23 | cd "%git_root%\..\Google Drive\SMV_Test_Versions 24 | set gupload=%CD% 25 | 26 | cd %git_root%\smv\scripts 27 | set version=%smv_version% 28 | 29 | set scriptdir=FDS-SMV/SMV/scripts 30 | set bundledir=FDS-SMV/SMV/for_bundle/uploads 31 | 32 | echo making 64 bit Linux distribution archive 33 | plink %git_logon% %scriptdir%/MAKEdistgen.csh %version% linux 64 %linux_hostname% %fds_edition% 34 | 35 | echo downloading Linux Smokeview files 36 | pscp %git_logon%:%bundledir%/smv_%version%_linux64.sh ..\for_bundle\uploads\. 37 | 38 | echo copying ..\for_bundle\uploads\smv_%version%_linux64.sh to %gupload% 39 | copy ..\for_bundle\uploads\smv_%version%_linux64.sh "%gupload%" 40 | 41 | pause 42 | -------------------------------------------------------------------------------- /Build/scripts/PACKAGEcfastosx64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Windows batch file to create an OSX achive for an OSX smokeview 4 | 5 | Rem setup environment variables (defining where repository resides etc) 6 | 7 | set envfile="%userprofile%"\fds_smv_env.bat 8 | IF EXIST %envfile% GOTO endif_envexist 9 | echo ***Fatal error. The environment setup file %envfile% does not exist. 10 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 11 | echo as an example. 12 | echo. 13 | echo Aborting now... 14 | pause>NUL 15 | goto:eof 16 | 17 | :endif_envexist 18 | 19 | call %envfile% 20 | 21 | %git_drive% 22 | 23 | cd "%git_root%\..\Google Drive\SMV_Test_Versions 24 | set gupload=%CD% 25 | 26 | cd %git_root%\smv\scripts 27 | set version=%smv_version% 28 | 29 | set scriptdir=FDS-SMV/SMV/scripts 30 | set bundledir=FDS-SMV/SMV/for_bundle/uploads 31 | 32 | echo making 64 bit Smokeview OSX distribution archive 33 | plink %git_logon% %scriptdir%/MAKEdistgen.csh %version% osx 64 %osx_hostname% %fds_edition% 34 | 35 | echo downloading 64 bit Smokeview OSX distribution archive 36 | pscp %git_logon%:%bundledir%/smv_%version%_osx64.sh ..\for_bundle\uploads\. 37 | 38 | echo copying ..\for_bundle\uploads\smv_%version%_osx64.sh to %gupload% 39 | copy ..\for_bundle\uploads\smv_%version%_osx64.sh "%gupload%" 40 | 41 | pause 42 | -------------------------------------------------------------------------------- /Build/scripts/RUNlinuxcfastbot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 3 | cd $DIR/../.. 4 | GITROOT=`pwd` 5 | cd $GITROOT/Utilities/cfastbot 6 | nohup ./run_cfastbot.sh & 7 | tail -f nohup.out 8 | -------------------------------------------------------------------------------- /Build/scripts/RUNosxcfastbot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 3 | cd $DIR/../.. 4 | GITROOT=`pwd` 5 | echo cd $GITROOT/Utilities/cfastbot 6 | nohup ./run_cfastbot.sh & 7 | tail -f nohup.out 8 | -------------------------------------------------------------------------------- /Build/scripts/SHOW_setup.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem setup environment variables (defining where repository resides etc) 4 | 5 | set envfile="%userprofile%"\cfast_env.bat 6 | IF EXIST %envfile% GOTO endif_envexist 7 | echo ***Fatal error. The environment setup file %envfile% does not exist. 8 | echo Create a file named %envfile% and use Build/scripts/cfast_env.bat 9 | echo as an example. 10 | echo. 11 | echo Aborting now... 12 | pause>NUL 13 | goto:eof 14 | 15 | :endif_envexist 16 | 17 | call %envfile% 18 | 19 | echo. 20 | echo *** cfast version and revision numbers 21 | 22 | echo. 23 | echo cfast_version=%cfast_version% 24 | echo cfast_revision=%cfast_revision% 25 | 26 | echo. 27 | echo Press any key to continue 28 | pause>NUL 29 | 30 | echo. 31 | echo *** cfast repository settings 32 | 33 | echo. 34 | echo git_root=%git_root% 35 | echo git_drive=%git_drive% 36 | echo linux_git_root=%linux_git_root% 37 | echo osx_git_root=%osx_git_root% 38 | 39 | echo. 40 | echo Press any key to continue 41 | pause>NUL 42 | 43 | echo. 44 | echo *** Linux User/Host names 45 | 46 | echo linux_hostname=%linux_hostname% 47 | echo linux_username=%linux_username% 48 | 49 | echo. 50 | echo *** OSX User/Host names 51 | 52 | echo osx_hostname=%osx_hostname% 53 | echo osx_username=%osx_username% 54 | 55 | 56 | echo. 57 | echo Press any key to continue 58 | pause>NUL 59 | -------------------------------------------------------------------------------- /Build/scripts/UPDATE_latest_cfast_onhost.csh: -------------------------------------------------------------------------------- 1 | #!/bin/csh -f 2 | 3 | set directory=$1 4 | set host=$2 5 | 6 | echo Updating the GIT repository $directory on $host to the latest revision 7 | echo 8 | ssh -q $host \( cd \~/$directory \; git remote update \; git merge origin/master \) 9 | -------------------------------------------------------------------------------- /Build/scripts/cfast_env.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: ------ cfast version and revision numbers --------- 3 | 4 | set cfast_version=6.3.1 5 | set cfast_revision=91df0ac 6 | 7 | :: ---------- cfast repository settings ------------ 8 | 9 | set git_root=%userprofile%\cfast 10 | set git_drive=c: 11 | set linux_git_root=cfast 12 | set osx_git_root=cfast 13 | 14 | :: ---------- User/Host names ----------------- 15 | 16 | :: Linux user and host name 17 | 18 | set linux_hostname=blaze.nist.gov 19 | set linux_username=%username% 20 | set linux_logon=%linux_username%@%linux_hostname% 21 | 22 | :: OSX user and host name 23 | 24 | set osx_hostname=192.168.1.5 25 | set osx_username=%username% 26 | set osx_logon=%osx_username%@%osx_hostname% 27 | 28 | -------------------------------------------------------------------------------- /Build/scripts/cfastv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | INPUT=$1 3 | CFAST=$HOME/firemodels/cfast/Build/CFAST/intel_linux_64/cfast7_linux_64 4 | 5 | $CFAST $INPUT -v 6 | -------------------------------------------------------------------------------- /Build/scripts/gitbranch.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | git 1> git.out 2>&1 4 | type git.out | find /i /c "not recognized" > git_count.txt 5 | set /p nothaveGIT= git.out 2>&1 4 | type git.out | find /i /c "not recognized" > git_count.txt 5 | set /p nothaveGIT= git.out 2>&1 3 | type git.out | find /i /c "not recognized" > git_count.txt 4 | set /p nothaveGIT=Nul 11 | 12 | IF X%SETVARS_COMPLETED% == X1 GOTO intel_envexist 13 | 14 | :intel_notexist 15 | echo ***error: Intel oneAPI installation not found at %ONEAPIDIR% . 16 | echo Compiler environment is not setup. 17 | echo set the environment variable ONEAPI_ROOT to the oneAPI location if it is installed. 18 | goto :eof 19 | 20 | :intel_envexist 21 | :eof 22 | -------------------------------------------------------------------------------- /Build/scripts/setup_intel_compilersONEAPI.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | IF X%SETVARS_COMPLETED% == X1 GOTO intel_envexist 4 | 5 | IF NOT DEFINED ONEAPI_ROOT goto intel_notexist 6 | 7 | echo Defining Intel compiler environment 8 | call "%ONEAPI_ROOT%\setvars" intel64>Nul 9 | 10 | IF X%SETVARS_COMPLETED% == X1 GOTO intel_envexist 11 | 12 | :intel_notexist 13 | echo ***error: Intel compiler environment is not setup 14 | goto :eof 15 | 16 | :intel_envexist 17 | :eof 18 | -------------------------------------------------------------------------------- /Build/scripts/ssh_command.csh: -------------------------------------------------------------------------------- 1 | #!/bin/csh -f 2 | set host=$1 3 | set dir=$2 4 | set command=$3 5 | ssh -q $host bash -lc $dir/$command 6 | -------------------------------------------------------------------------------- /Build/scripts/webBUILDcfastlinux64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Building cfast for 64 bit linux 3 | 4 | Rem Windows batch file to build a release Smokeview for Linux 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | 22 | %git_drive% 23 | 24 | plink %linux_logon% %linux_git_root%/Build/scripts/run_command.sh Build/CFAST/intel_linux_64 make_cfast.sh 25 | 26 | echo. 27 | echo compilation complete 28 | pause 29 | -------------------------------------------------------------------------------- /Build/scripts/webBUILDcfastlinux64db.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Building debug cfast for 64 bit linux 3 | 4 | Rem Windows batch file to build a release Smokeview for Linux 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | 22 | %git_drive% 23 | 24 | plink %linux_logon% %linux_git_root%/Build/scripts/run_command.sh Build/CFAST/intel_linux_64_db make_cfast.sh 25 | 26 | echo. 27 | echo compilation complete 28 | pause 29 | -------------------------------------------------------------------------------- /Build/scripts/webBUILDcfastosx64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Building cfast for 64 bit OSX 3 | 4 | Rem Windows batch file to build a release Smokeview for Linux 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | 22 | %git_drive% 23 | 24 | plink %osx_logon% %osx_git_root%/Build/scripts/run_command.sh Build/CFAST/intel_osx_64 make_cfast.sh 25 | 26 | echo. 27 | echo compilation complete 28 | pause 29 | -------------------------------------------------------------------------------- /Build/scripts/webBUILDcfastosx64db.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Building cfast for 64 bit OSX 3 | 4 | Rem Windows batch file to build a release Smokeview for Linux 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | 22 | %git_drive% 23 | 24 | plink %osx_logon% %osx_git_root%/Build/scripts/run_command.sh Build/CFAST/intel_osx_64_db make_cfast.sh 25 | 26 | echo. 27 | echo compilation complete 28 | pause 29 | -------------------------------------------------------------------------------- /Build/scripts/webBUILDcfastwin64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Building cfast for 64 bit Windows 3 | 4 | Rem Windows batch file to build a release Smokeview for Windows 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | echo Using the environment variables: 22 | echo. 23 | echo Using GIT revision %smv_revision% to build a 64 bit Windows Smokeview 24 | 25 | %git_drive% 26 | 27 | cd %git_root%\Build\CFAST\intel_win_64 28 | erase *.obj *.mod 29 | call make_cfast 30 | 31 | echo. 32 | echo compilation complete 33 | pause 34 | -------------------------------------------------------------------------------- /Build/scripts/webBUILDcfastwin64db.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Building cfast for 64 bit Windows 3 | 4 | Rem Windows batch file to build a release Smokeview for Windows 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | echo Using the environment variables: 22 | echo. 23 | echo Using GIT revision %smv_revision% to build a 64 bit Windows Smokeview 24 | 25 | %git_drive% 26 | 27 | cd %git_root%\Build\CFAST\intel_win_64_db 28 | erase *.obj *.mod 29 | call make_cfast 30 | 31 | echo. 32 | echo compilation complete 33 | pause 34 | -------------------------------------------------------------------------------- /Build/scripts/webCOPYconfig2home.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Windows batch file to build a test Smokeview for 64 bit Linux 4 | 5 | Rem setup environment variables (defining where repository resides etc) 6 | 7 | set envfile="%userprofile%"\cfast_env.bat 8 | IF EXIST %envfile% GOTO endif_envexist 9 | echo ***Fatal error. The environment setup file %envfile% does not exist. 10 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 11 | echo as an example. 12 | echo. 13 | echo Aborting now... 14 | pause>NUL 15 | goto:eof 16 | 17 | :endif_envexist 18 | 19 | call %envfile% 20 | echo. 21 | echo copy %git_root%\Build\scripts\cfast_env.bat to %userprofile%\cfast_env.bat 22 | pause 23 | copy %git_root%\Build\scripts\cfast_env.bat %userprofile%\cfast_env.bat 24 | echo. 25 | echo copy complete 26 | pause 27 | -------------------------------------------------------------------------------- /Build/scripts/webCOPYhome2config.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem setup environment variables (defining where repository resides etc) 4 | 5 | set envfile="%userprofile%"\cfast_env.bat 6 | IF EXIST %envfile% GOTO endif_envexist 7 | echo ***Fatal error. The environment setup file %envfile% does not exist. 8 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 9 | echo as an example. 10 | echo. 11 | echo Aborting now... 12 | pause>NUL 13 | goto:eof 14 | 15 | :endif_envexist 16 | 17 | call %envfile% 18 | echo. 19 | echo copy %userprofile%\cfast_env.bat to %git_root%\Build\scripts\cfast_env.bat 20 | pause 21 | copy %userprofile%\cfast_env.bat %git_root%\Build\scripts\cfast_env.bat 22 | echo. 23 | echo copy complete 24 | pause 25 | -------------------------------------------------------------------------------- /Build/scripts/webEDIT_build_cfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Rem setup environment variables (defining where repository resides etc) 3 | 4 | set envfile="%userprofile%"\cfast_env.bat 5 | IF EXIST %envfile% GOTO endif_envexist 6 | echo ***Fatal error. The environment setup file %envfile% does not exist. 7 | echo Create a file named %envfile% and define the environment 8 | echo variables: git_root, git_drive, smv_version and cluster_logon . Example: 9 | echo. 10 | echo set git_root=d:\fds_smv 11 | echo set git_drive=d: 12 | echo set git_logon=username@computername 13 | echo set smv_version=5.3.7_3177 14 | echo. 15 | echo Aborting now... 16 | 17 | pause>NUL 18 | goto:eof 19 | 20 | :endif_envexist 21 | 22 | call %envfile% 23 | 24 | %git_drive% 25 | cd %git_root%\Build 26 | start notepad build_cfast.html -------------------------------------------------------------------------------- /Build/scripts/webEDIT_setup.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | start notepad %userprofile%\cfast_env.bat -------------------------------------------------------------------------------- /Build/scripts/webGET_cfast_version.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Windows batch file to build a test Smokeview for Windows 64 4 | 5 | Rem setup environment variables (defining where repository resides etc) 6 | 7 | set envfile="%userprofile%"\cfast_env.bat 8 | IF EXIST %envfile% GOTO endif_envexist 9 | echo ***Fatal error. The environment setup file %envfile% does not exist. 10 | echo Create a file named %envfile% and use cfast/Source/CFAST/scripts/cfast_env_template.bat 11 | echo as an example. 12 | echo. 13 | echo Aborting now... 14 | pause>NUL 15 | goto:eof 16 | 17 | :endif_envexist 18 | 19 | call %envfile% 20 | 21 | %git_drive% 22 | echo cd %git_root%\Build\CFAST\intel_win_64 23 | cd %git_root%\Build\CFAST\intel_win_64 24 | 25 | cfast7_win_64 26 | 27 | pause 28 | -------------------------------------------------------------------------------- /Build/scripts/webGET_revision.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Windows batch file to build a test Smokeview for Windows 64 4 | 5 | Rem setup environment variables (defining where repository resides etc) 6 | 7 | set envfile="%userprofile%"\cfast_env.bat 8 | IF EXIST %envfile% GOTO endif_envexist 9 | echo ***Fatal error. The environment setup file %envfile% does not exist. 10 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 11 | echo as an example. 12 | echo. 13 | echo Aborting now... 14 | pause>NUL 15 | goto:eof 16 | 17 | :endif_envexist 18 | 19 | call %envfile% 20 | 21 | %git_drive% 22 | cd %git_root% 23 | git describe --long --dirty 24 | pause 25 | -------------------------------------------------------------------------------- /Build/scripts/webINSTALLcfastwin64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Windows batch file to upload Smokeview test files to 4 | Rem the download site. This script assume that the Windows 5 | Rem batch file, MAKEtest.bat, has already been run. 6 | 7 | set envfile="%userprofile%"\cfast_env.bat 8 | IF EXIST %envfile% GOTO endif_envexist 9 | echo ***Fatal error. The environment setup file %envfile% does not exist. 10 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 11 | echo as an example. 12 | echo. 13 | echo Aborting now... 14 | pause>NUL 15 | goto:eof 16 | 17 | :endif_envexist 18 | 19 | call %envfile% 20 | 21 | %git_drive% 22 | echo cd to bundle location 23 | cd %git_root%\Utilities\uploads 24 | 25 | Rem ---------------------------------------------------------- 26 | Rem should not need to edit any lines below 27 | 28 | set version=%cfast_version% 29 | set platform=win64 30 | set exe=cfast_%version%_%platform%.exe 31 | 32 | echo Running cfast installer: %exe% 33 | pause 34 | echo call cfast installer 35 | ::call %exe% 36 | 37 | 38 | pause 39 | -------------------------------------------------------------------------------- /Build/scripts/webPACKAGEcfastwin64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Windows batch file to package a release 64 bit windows smokeview 4 | 5 | Rem setup environment variables (defining where repository resides etc) 6 | 7 | set envfile="%userprofile%"\cfast_env.bat 8 | IF EXIST %envfile% GOTO endif_envexist 9 | echo ***Fatal error. The environment setup file %envfile% does not exist. 10 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 11 | echo as an example. 12 | echo. 13 | echo Aborting now... 14 | pause>NUL 15 | goto:eof 16 | 17 | :endif_envexist 18 | 19 | call %envfile% 20 | 21 | %git_drive% 22 | 23 | cd %git_root%\Utilities\for_bundle\scripts 24 | call BUNDLE_cfast.bat 25 | 26 | pause -------------------------------------------------------------------------------- /Build/scripts/webRUN_script.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: setup environment variables (defining where repository resides etc) 4 | 5 | set envfile="%userprofile%"\cfast_env.bat 6 | IF EXIST %envfile% GOTO endif_envexist 7 | echo ***Fatal error. The environment setup file %envfile% does not exist. 8 | echo Create a file named %envfile% 9 | echo. 10 | echo Aborting now... 11 | 12 | pause>NUL 13 | goto:eof 14 | 15 | :endif_envexist 16 | 17 | call %envfile% 18 | 19 | %git_drive% 20 | 21 | call %git_root%\%1 22 | 23 | -------------------------------------------------------------------------------- /Build/scripts/webRUNlinuxcfastbot.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Run linux cfastbot 3 | 4 | set envfile="%userprofile%"\cfast_env.bat 5 | IF EXIST %envfile% GOTO endif_envexist 6 | echo ***Fatal error. The environment setup file %envfile% does not exist. 7 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 8 | echo as an example. 9 | echo. 10 | echo Aborting now... 11 | pause>NUL 12 | goto:eof 13 | 14 | :endif_envexist 15 | 16 | call %envfile% 17 | 18 | %git_drive% 19 | set scriptdir=%linux_git_root%/Build/scripts 20 | 21 | plink %linux_logon% %scriptdir%/RUNlinuxcfastbot.sh 22 | 23 | echo. 24 | echo cfastbot complete 25 | pause 26 | -------------------------------------------------------------------------------- /Build/scripts/webRUNosxcfastbot.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title run osx cfastbot 3 | 4 | set envfile="%userprofile%"\cfast_env.bat 5 | IF EXIST %envfile% GOTO endif_envexist 6 | echo ***Fatal error. The environment setup file %envfile% does not exist. 7 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 8 | echo as an example. 9 | echo. 10 | echo Aborting now... 11 | pause>NUL 12 | goto:eof 13 | 14 | :endif_envexist 15 | 16 | call %envfile% 17 | 18 | %git_drive% 19 | set scriptdir=%osx_git_root%/Build/scripts 20 | 21 | plink %osx_logon% %scriptdir%/RUNosxcfastbot.sh 22 | 23 | echo. 24 | echo cfastbot complete 25 | pause 26 | -------------------------------------------------------------------------------- /Build/scripts/webRUNwincfastbot.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Run cfastbot 3 | 4 | Rem Windows batch file to build a release Smokeview for Linux 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | 22 | %git_drive% 23 | cd %git_root%\Utilities\cfastbot 24 | call run_cfastbot 25 | 26 | pause 27 | -------------------------------------------------------------------------------- /Build/scripts/webUPLOADcfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | Title Building cfast for 64 bit Windows 3 | 4 | Rem Windows batch file to build a release Smokeview for Windows 64. 5 | 6 | Rem setup environment variables (defining where repository resides etc) 7 | 8 | set envfile="%userprofile%"\cfast_env.bat 9 | IF EXIST %envfile% GOTO endif_envexist 10 | echo ***Fatal error. The environment setup file %envfile% does not exist. 11 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 12 | echo as an example. 13 | echo. 14 | echo Aborting now... 15 | pause>NUL 16 | goto:eof 17 | 18 | :endif_envexist 19 | 20 | call %envfile% 21 | echo Using the environment variables: 22 | echo. 23 | echo Using GIT revision %smv_revision% to build a 64 bit Windows Smokeview 24 | 25 | %git_drive% 26 | 27 | cd %git_root%\Utilities\uploads 28 | explorer . 29 | start chrome https://drive.google.com/drive/my-drive 30 | -------------------------------------------------------------------------------- /Build/scripts/webUpdate_repos_git.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Batch file used to update FDS source revision number 4 | 5 | set envfile="%userprofile%"\cfast_env.bat 6 | IF EXIST %envfile% GOTO endif_envexist 7 | echo ***Fatal error. The environment setup file %envfile% does not exist. 8 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 9 | echo as an example. 10 | echo. 11 | echo Aborting now... 12 | pause>NUL 13 | goto:eof 14 | 15 | :endif_envexist 16 | 17 | Rem location of batch files used to set up Intel compilation environment 18 | 19 | call %envfile% 20 | 21 | echo. 22 | echo Updating the Windows repository, %git_root%, to the latest revision 23 | %git_drive% 24 | cd %git_root% 25 | echo Updating the repo:%git_root% 26 | git remote update 27 | git merge origin/master 28 | 29 | set scriptdir=%linux_git_root%/Build/scripts/ 30 | 31 | echo. 32 | echo Updating the Linux repository, %linux_git_root%, on %linux_hostname% to the latest revision 33 | plink %linux_logon% %scriptdir%/UPDATE_latest_cfast_onhost.csh %linux_git_root% %linux_hostname% 34 | 35 | echo. 36 | echo Updating the OSX repository, %osx_git_root%, on %osx_hostname% to the latest revision 37 | plink %osx_logon% %scriptdir%/UPDATE_latest_cfast_onhost.csh %osx_git_root% %osx_hostname% 38 | 39 | pause 40 | -------------------------------------------------------------------------------- /Build/scripts/webUpdate_windows_repos_git.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | Rem Batch file used to update FDS source revision number 4 | 5 | set envfile="%userprofile%"\cfast_env.bat 6 | IF EXIST %envfile% GOTO endif_envexist 7 | echo ***Fatal error. The environment setup file %envfile% does not exist. 8 | echo Create a file named %envfile% and use SMV/scripts/fds_smv_env_template.bat 9 | echo as an example. 10 | echo. 11 | echo Aborting now... 12 | pause>NUL 13 | goto:eof 14 | 15 | :endif_envexist 16 | 17 | Rem location of batch files used to set up Intel compilation environment 18 | 19 | call %envfile% 20 | 21 | echo. 22 | echo Updating the Windows repository, %git_root%, to the latest revision 23 | %git_drive% 24 | cd %git_root% 25 | echo Updating the repo:%git_root% 26 | git remote update 27 | git merge origin/master 28 | 29 | pause 30 | -------------------------------------------------------------------------------- /Build/zfm/intel_linux_32/make_zfm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | source $IFORT_COMPILER/bin/iccvars.sh ia32 3 | source $IFORT_COMPILER/bin/ifortvars.sh ia32 4 | rm -f *.o *mod 5 | make -f ../makefile intel_linux_32 6 | -------------------------------------------------------------------------------- /Build/zfm/intel_osx_32/make_zfm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f *.o *.mod 3 | make -f ../makefile intel_osx_32 4 | -------------------------------------------------------------------------------- /Build/zfm/intel_win_32/make_zfm.bat: -------------------------------------------------------------------------------- 1 | set intelbin="%IFORT_COMPILER12%\bin" 2 | 3 | call %intelbin%\ifortvars ia32 4 | erase *.obj 5 | make -f ..\makefile intel_win_32 6 | pause -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/Examples/Example_HRRs.JNB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/Examples/Example_HRRs.JNB -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Detector_HRR_Samples.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Detector_HRR_Samples.JPG -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Detectors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Detectors.png -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Detectors_Running.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Detectors_Running.png -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Flashover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Flashover.png -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Flashover_HRR_Samples.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Flashover_HRR_Samples.JPG -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Number_of_Bedrooms.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Number_of_Bedrooms.PNG -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Sample_Visualization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Sample_Visualization.png -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Sensitivity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Sensitivity.png -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Sensitivity_HRR_Samples.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Sensitivity_HRR_Samples.JPG -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Sensitivity_Running.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Sensitivity_Running.png -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Simple_max_temp_mean.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Simple_max_temp_mean.jpeg -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Simple_max_temp_sd.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Simple_max_temp_sd.jpeg -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Simple_tree_temp.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Simple_tree_temp.jpeg -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Total_Floor_Area.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Total_Floor_Area.PNG -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/Total_Rooms.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/Total_Rooms.PNG -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/cart-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/cart-1.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/converg-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/converg-1.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/converg-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/converg-2.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/cvg_plot-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/cvg_plot-1.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/dgamma-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/dgamma-1.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/dgamma-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/dgamma-2.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/dgamma-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/dgamma-3.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/dgamma-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/dgamma-4.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/doc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/doc.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/ex2_cvg_plot-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/ex2_cvg_plot-1.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/kde-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/kde-1.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/nistident.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/nistident.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/nistident_flright_300ppi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/nistident_flright_300ppi.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/FIGURES/simple_width.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_CData_Guide/FIGURES/simple_width.jpeg -------------------------------------------------------------------------------- /Manuals/CFAST_CData_Guide/make_guide.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set paper=CFAST_CData_Guide 3 | 4 | git describe --long --dirty > gitinfo.txt 5 | set /p gitrevision= ..\Bibliography\gitrevision.tex 7 | 8 | pdflatex -interaction nonstopmode %paper% > %paper%.err 9 | bibtex %paper% > %paper%.err 10 | pdflatex -interaction nonstopmode %paper% > %paper%.err 11 | pdflatex -interaction nonstopmode %paper% > %paper%.err 12 | 13 | find "! LaTeX Error:" %paper%.err 14 | find "Fatal error" %paper%.err 15 | find "Error:" %paper%.err 16 | 17 | if exist ..\Bibliography\gitrevision.tex erase ..\Bibliography\gitrevision.tex 18 | echo %paper% build complete 19 | 20 | 21 | -------------------------------------------------------------------------------- /Manuals/CFAST_Configuration_Guide/FIGURES/NewIssue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Configuration_Guide/FIGURES/NewIssue.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Configuration_Guide/FIGURES/OrgChart.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Configuration_Guide/FIGURES/OrgChart.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Configuration_Guide/FIGURES/doc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Configuration_Guide/FIGURES/doc.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Configuration_Guide/FIGURES/nistident.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Configuration_Guide/FIGURES/nistident.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Configuration_Guide/make_guide.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set paper=CFAST_Configuration_Guide 3 | 4 | git describe --long --dirty > gitinfo.txt 5 | set /p gitrevision= ..\Bibliography\gitrevision.tex 7 | 8 | pdflatex -interaction nonstopmode %paper% > %paper%.err 9 | bibtex %paper% > %paper%.err 10 | pdflatex -interaction nonstopmode %paper% > %paper%.err 11 | pdflatex -interaction nonstopmode %paper% > %paper%.err 12 | 13 | find "! LaTeX Error:" %paper%.err 14 | find "Fatal error" %paper%.err 15 | find "Error:" %paper%.err 16 | 17 | if exist ..\Bibliography\gitrevision.tex erase ..\Bibliography\gitrevision.tex 18 | echo %paper% build complete 19 | 20 | 21 | -------------------------------------------------------------------------------- /Manuals/CFAST_Tech_Ref/FIGURES/Control_Volumes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Tech_Ref/FIGURES/Control_Volumes.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Tech_Ref/FIGURES/Vent_Mass_Fraction.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Tech_Ref/FIGURES/Vent_Mass_Fraction.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Tech_Ref/FIGURES/doc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Tech_Ref/FIGURES/doc.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Tech_Ref/FIGURES/nistident.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Tech_Ref/FIGURES/nistident.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Tech_Ref/FIGURES/nistident_flright_300ppi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Tech_Ref/FIGURES/nistident_flright_300ppi.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Tech_Ref/make_guide.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set paper=CFAST_Tech_Ref 3 | 4 | git describe --long --dirty > gitinfo.txt 5 | set /p gitrevision= ..\Bibliography\gitrevision.tex 7 | 8 | pdflatex -interaction nonstopmode %paper% > %paper%.err 9 | bibtex %paper% > %paper%.err 10 | pdflatex -interaction nonstopmode %paper% > %paper%.err 11 | pdflatex -interaction nonstopmode %paper% > %paper%.err 12 | 13 | find "! LaTeX Error:" %paper%.err 14 | find "Fatal error" %paper%.err 15 | find "Error:" %paper%.err 16 | 17 | if exist ..\Bibliography\gitrevision.tex erase ..\Bibliography\gitrevision.tex 18 | echo %paper% build complete 19 | 20 | 21 | -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/CFAST_Input_Files/Tech Ref Zone Model Terms/Single Room.in: -------------------------------------------------------------------------------- 1 | VERSN,7,CFAST Simulation 2 | !! 3 | !!Scenario Configuration Keywords 4 | !! 5 | TIMES,900,50,0,10,10 6 | EAMB,293.15,101300,0 7 | TAMB,293.15,101300,0,50 8 | !! 9 | !!Material Properties 10 | !! 11 | MATL,GYPSUM,0.16,900,790,0.016,0.9,Gypsum Board (5/8 in) 12 | MATL,METHANE,0.07,1090,930,0.0127,0.04,"Methane, a transparent gas (CH4)" 13 | !! 14 | !!Compartment keywords 15 | !! 16 | COMPA,Compartment 1,3.6,2.4,2.4,0,0,0,GYPSUM,OFF,GYPSUM 17 | !! 18 | !!Vent keywords 19 | !! 20 | HVENT,1,2,1,1,2,0,1,0.5,0,2,1 21 | !! 22 | !!Fire keywords 23 | !! 24 | !!bunsen 25 | FIRE,1,1.8,1.2,0,1,1,0,0,0,1,bunsen 26 | CHEMI,1,4,0,0,0,0.33,5E+07,METHANE 27 | TIME,0,60,120,180,240,300,360,420,480,540,1800 28 | HRR,0,100000,150000,200000,150000,125000,100000,90000,80000,75000,75000 29 | SOOT,0,0,0,0,0,0,0,0,0,0,0 30 | CO,0.001047221,0.001047221,0.001047221,0.001047221,0.001047221,0.001047221,0.001047221,0.001047221,0.001047221,0.001047221,0.001047221 31 | TRACE,0,0,0,0,0,0,0,0,0,0,0 32 | AREA,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1 33 | HEIGH,0,0,0,0,0,0,0,0,0,0,0 34 | -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/CFAST_Absolute_Positioning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/CFAST_Absolute_Positioning.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/CFAST_Coordinates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/CFAST_Coordinates.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Compartment_Geometry_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Compartment_Geometry_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Create_t2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Create_t2.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Detector_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Detector_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Environment_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Environment_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Fire_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Fire_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Insert_Thermal_Properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Insert_Thermal_Properties.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Mechanical_Vent_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Mechanical_Vent_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Natural_Flow_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Natural_Flow_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/SMV_Detectors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/SMV_Detectors.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/SMV_Sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/SMV_Sample.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/SMV_Temperature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/SMV_Temperature.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/SMV_Velocity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/SMV_Velocity.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Standard_Output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Standard_Output.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Surface_Connection_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Surface_Connection_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Target_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Target_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Thermal_Properties_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Thermal_Properties_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Vertical_Flow_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Vertical_Flow_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/Visualizations_Tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/Visualizations_Tab.png -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/doc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/doc.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/FIGURES/nistident.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/FIGURES/nistident.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/SCRIPT_FIGURES/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Users_Guide/SCRIPT_FIGURES/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Users_Guide/make_guide.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set paper=CFAST_Users_Guide 3 | 4 | git describe --long --dirty > gitinfo.txt 5 | set /p gitrevision= ..\Bibliography\gitrevision.tex 7 | 8 | pdflatex -interaction nonstopmode %paper% > %paper%.err 9 | bibtex %paper% > %paper%.err 10 | pdflatex -interaction nonstopmode %paper% > %paper%.err 11 | pdflatex -interaction nonstopmode %paper% > %paper%.err 12 | 13 | find "! LaTeX Error:" %paper%.err 14 | find "Fatal error" %paper%.err 15 | find "Error:" %paper%.err 16 | 17 | if exist ..\Bibliography\gitrevision.tex erase ..\Bibliography\gitrevision.tex 18 | echo %paper% build complete 19 | 20 | 21 | -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/Appendix_Graphs.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/Appendix_Graphs.doc -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/ATF_Corridors/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/ATF_Corridors/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/ATF_Corridors/ATF_Corridors_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/ATF_Corridors/ATF_Corridors_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/East_Structure_Dimensioned_Instrumentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/East_Structure_Dimensioned_Instrumentation.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/West_Structure_1st_Floor_Dimensioned_Instrumentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/West_Structure_1st_Floor_Dimensioned_Instrumentation.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/West_Structure_2nd_Floor_Dimensioned_Instrumentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/DelCo_Trainers/West_Structure_2nd_Floor_Dimensioned_Instrumentation.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/FM_NBS/FMSummary.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/FM_NBS/FMSummary.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/FM_SNL/FMSNL_HRR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/FM_SNL/FMSNL_HRR.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/FM_SNL/FM_SNL_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/FM_SNL/FM_SNL_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/FM_SNL/FM_SNL_Overview_CFAST.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/FM_SNL/FM_SNL_Overview_CFAST.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Flashover.JNB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Flashover.JNB -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/LLNL_Enclosure/LLNL_Enclosure_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/LLNL_Enclosure/LLNL_Enclosure_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBSFurniture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBSFurniture.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_100kW_fire.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_100kW_fire.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Furniture_Test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Furniture_Test.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_HRR_100A.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_HRR_100A.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_HRR_100Z.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_HRR_100Z.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Summary.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Summary.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Summary_CFAST.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NBS/NBS_Summary_CFAST.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_Dunes_2000/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_Dunes_2000/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_Dunes_2000/Manufactured_Home_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_Dunes_2000/Manufactured_Home_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NISTNRC_1MW_fire.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NISTNRC_1MW_fire.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NISTNRC_HRR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NISTNRC_HRR.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NISTNRC_Summary.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NISTNRC_Summary.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NIST_NRC_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NIST_NRC_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NIST_NRC_Overview_CFAST.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC/NIST_NRC_Overview_CFAST.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC_Corner_Effects/Cabinet_2x2x7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC_Corner_Effects/Cabinet_2x2x7.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC_Corner_Effects/Cabinet_3x3x7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC_Corner_Effects/Cabinet_3x3x7.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC_Corner_Effects/grill_drawing.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_NRC_Corner_Effects/grill_drawing.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_PLAZA/PlazaSummary.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_PLAZA/PlazaSummary.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_1.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_2.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_Front.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_Front.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_Plan.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/NIST_Vent_Study/Latex_Drawing_Plan.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/SP_AST/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/SP_AST/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/SP_AST/SP_AST_Compartment_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/SP_AST/SP_AST_Compartment_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/ScatterPlots/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/ScatterPlots/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Steckler_Compartment/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Steckler_Compartment/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Steckler_Compartment/Steckler_Room_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Steckler_Compartment/Steckler_Room_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Structure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Structure.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/UL_NIJ_Houses/UL_NIJ_Colonial_layout.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/UL_NIJ_Houses/UL_NIJ_Colonial_layout.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/UL_NIJ_Houses/UL_NIJ_Ranch_layout.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/UL_NIJ_Houses/UL_NIJ_Ranch_layout.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/UL_NIST_Vents/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/UL_NIST_Vents/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/UL_NIST_Vents/UL_NIST_Vents_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/UL_NIST_Vents/UL_NIST_Vents_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_2MW_fire.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_2MW_fire.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Case1_HRR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Case1_HRR.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Case2_HRR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Case2_HRR.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Case3_HRR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Case3_HRR.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Cut_Away.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Cut_Away.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Cut_Away_CFAST.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Cut_Away_CFAST.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/VTT/VTT_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Verification/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Verification/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Verification/VVent_Geom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Verification/VVent_Geom.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Verification/radiation_verification_case3_enclosure_geometry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Verification/radiation_verification_case3_enclosure_geometry.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Verification/surface_opening_fraction_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Verification/surface_opening_fraction_1.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/Vettori_Flat/Vettori_Flat_Ceiling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/Vettori_Flat/Vettori_Flat_Ceiling.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/WTC/WTC_Drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/WTC/WTC_Drawing.png -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/doc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/doc.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/flashover.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/flashover.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/iBMB/iBMB_Cable.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/iBMB/iBMB_Cable.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/iBMB/iBMB_HRR.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/iBMB/iBMB_HRR.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/iBMB/iBMB_Pool.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/iBMB/iBMB_Pool.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/nistident.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/nistident.pdf -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/FIGURES/nistident_flright_300ppi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/FIGURES/nistident_flright_300ppi.jpg -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/ATF_Corridors/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/ATF_Corridors/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/DelCo_Trainers/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/DelCo_Trainers/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/FM_NBS/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/FM_NBS/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/FM_SNL/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/FM_SNL/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Fleury_Heat_Flux/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Fleury_Heat_Flux/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/High_Bay/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/High_Bay/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/LLNL_Enclosure/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/LLNL_Enclosure/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NBS/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NBS/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_Dunes_2000/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_Dunes_2000/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_NRC/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_NRC/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_NRC_Corner_Effects/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_NRC_Corner_Effects/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_Plaza/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_Plaza/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_Vent_Study/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/NIST_Vent_Study/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/PRISME/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/PRISME/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/SP_AST/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/SP_AST/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/ScatterPlots/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/ScatterPlots/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Steckler_Compartment/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Steckler_Compartment/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/UL_NFPRF/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/UL_NFPRF/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/UL_NIJ_Houses/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/UL_NIJ_Houses/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/UL_NIST_Vents/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/UL_NIST_Vents/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/VTT/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/VTT/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Verification/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Verification/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Vettori_Flat/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/Vettori_Flat/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/WTC/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/WTC/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/iBMB/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/SCRIPT_FIGURES/iBMB/.gitignore -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/V&V Guide.cdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/V&V Guide.cdr -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/Validation Guide Misc Plots.JNB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Manuals/CFAST_Validation_Guide/Validation Guide Misc Plots.JNB -------------------------------------------------------------------------------- /Manuals/CFAST_Validation_Guide/make_guide.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set paper=CFAST_Validation_Guide 3 | 4 | git describe --long --dirty > gitinfo.txt 5 | set /p gitrevision= ..\Bibliography\gitrevision.tex 7 | 8 | pdflatex -interaction nonstopmode %paper% > %paper%.err 9 | bibtex %paper% > %paper%.err 10 | pdflatex -interaction nonstopmode %paper% > %paper%.err 11 | pdflatex -interaction nonstopmode %paper% > %paper%.err 12 | 13 | find "! LaTeX Error:" %paper%.err 14 | find "Fatal error" %paper%.err 15 | find "Error:" %paper%.err 16 | 17 | if exist ..\Bibliography\gitrevision.tex erase ..\Bibliography\gitrevision.tex 18 | echo %paper% build complete 19 | 20 | 21 | -------------------------------------------------------------------------------- /Manuals/Code_Documentation/README.md: -------------------------------------------------------------------------------- 1 | ## Code Documentation using Doxygen 2 | 3 | This directory contains a configuration file, `Doxyfile`, for use with the code documentation program [Doxygen](http://www.doxygen.org). Assuming that Doxygen is installed on your system, type: 4 | ``` 5 | doxygen Doxyfile 6 | ``` 7 | and a new directory called `html` will be created containing an HTML version of documentation for the CFAST source code. The main page is `html/index.html`. 8 | 9 | If you want to create your own configuration file, type 10 | ``` 11 | doxygen -g myDoxyfile 12 | ``` 13 | -------------------------------------------------------------------------------- /Manuals/README.md: -------------------------------------------------------------------------------- 1 | # CFAST Manuals 2 | 3 | All of the CFAST manuals are contained within the sub-folders above. Each sub-folder contains a bash script called `make_guide.sh` that will run PDF-LaTeX and BibTeX enough times to completely compile the guide and update the references. Sub-sub-folders contain both `FIGURES` and `SCRIPT_FIGURES`, the latter being figures that are generated by scripts and not committed to the repository. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Consolidated Fire and Smoke Transport (CFAST) 2 | 3 | CFAST is a two-zone fire model that predicts the thermal environment caused by a fire within a compartmented structure. 4 | 5 | Smokeview ([SMV](https://github.com/firemodels/smv)) is a visualization program used to display [FDS](https://github.com/firemodels/fds) and CFAST simulation results. 6 | 7 | 10 | 11 | Contributions of particular interest are given [here](https://github.com/firemodels/cfast/wiki/Potential-Research-Topics). 12 | Guidelines for making these contributions are given [here.](https://github.com/firemodels/cfast/blob/master/CONTRIBUTING.md) 13 | 14 | Here are some other useful links: 15 | 16 | [Discussion forum](https://github.com/firemodels/cfast/discussions) 17 | 18 | [Issue tracker](https://github.com/firemodels/cfast/issues) 19 | 20 | [Full Downloads](https://github.com/firemodels/cfast/releases) 21 | 22 | [Smokeview Downloads](https://github.com/firemodels/smv/releases) . 23 | 24 | Pull requests welcome! 25 | -------------------------------------------------------------------------------- /Source/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/.gitignore -------------------------------------------------------------------------------- /Source/CFAST/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | Fortran Console Application : "CFAST6.0.6.51220" Project Overview 3 | ======================================================================== 4 | 5 | The Intel Fortran Console Application Wizard has created this 6 | "CFAST6.0.6.51220" project for you as a starting point. 7 | 8 | This file contains a summary of what you will find in each of the files 9 | that make up your project. 10 | 11 | CFAST6.0.6.51220.vfproj 12 | This is the main project file for Fortran projects generated using an 13 | Application Wizard. It contains information about the version of 14 | Intel Fortran that generated the file, and information about the 15 | platforms, configurations, and project features selected with the 16 | Application Wizard. 17 | 18 | CFAST6.0.6.51220.f90 19 | This is the main source file for the Fortran Console application. 20 | It contains the program entry point. 21 | 22 | ///////////////////////////////////////////////////////////////////////////// 23 | Other notes: 24 | 25 | ///////////////////////////////////////////////////////////////////////////// 26 | -------------------------------------------------------------------------------- /Source/CFAST/cfast_interfaces.f90: -------------------------------------------------------------------------------- 1 | 2 | ! --------------------------- interfaces ------------------------------------------- 3 | 4 | module interfaces 5 | 6 | interface 7 | subroutine flogo(dirs12,yslab,xmslab,tslab,nslab,tu,tl,zlay,qslab,pslab,nprod,mxfslab,mflows,uflw2) 8 | 9 | use precision_parameters 10 | use cparams, only: ns 11 | 12 | integer, intent(in) :: dirs12(*) 13 | integer, intent(in) :: nprod, nslab, mxfslab 14 | real(eb), intent(in) :: yslab(*), xmslab(*), tslab(*), qslab(*), zlay(*), pslab(mxfslab,*), tu(*), tl(*) 15 | real(eb), intent(out) :: mflows(2,2,2), uflw2(2,ns+2,2) 16 | 17 | end subroutine flogo 18 | end interface 19 | 20 | end module interfaces -------------------------------------------------------------------------------- /Source/CFAST/cfastbot_trigger.txt: -------------------------------------------------------------------------------- 1 | force cfastbot run 2 | -------------------------------------------------------------------------------- /Source/CFAST/keyboard_int.f90: -------------------------------------------------------------------------------- 1 | 2 | ! --------------------------- grabky ------------------------------------------- 3 | 4 | !> \brief interogates keyboard for a key press 5 | 6 | !> \param ich (output): ASCII character number of key pressed 7 | !> \param hit (output): =2 if new key pressed; =1 otherwise 8 | 9 | subroutine grabky (ich, hit) 10 | 11 | implicit none 12 | 13 | integer(2), intent(out) :: ich, hit 14 | 15 | character(len=1) :: ch, getcharqq 16 | logical :: peekcharqq 17 | external peekcharqq, getcharqq 18 | 19 | ich = 0 20 | hit = 0 21 | 22 | if (peekcharqq()) then 23 | ch = getcharqq() 24 | ich = ichar(ch) 25 | if (ich==0) then 26 | ch = getcharqq() 27 | ich = ichar (ch) 28 | hit = 2 29 | else 30 | hit = 1 31 | end if 32 | end if 33 | 34 | return 35 | 36 | end subroutine grabky 37 | 38 | -------------------------------------------------------------------------------- /Source/CFAST/prec.f90: -------------------------------------------------------------------------------- 1 | module precision_parameters 2 | 3 | ! set important parameters having to do with variable precision and array allocations 4 | 5 | implicit none 6 | 7 | ! precision of "four byte" and "eight byte" reals 8 | 9 | integer, parameter :: fb = selected_real_kind(6) 10 | integer, parameter :: eb = selected_real_kind(12) 11 | 12 | ! often used numbers 13 | 14 | real(eb), parameter :: pi = 4.0_eb*atan(1.0_eb) 15 | real(eb), parameter :: fourpi = 4.0_eb*pi 16 | real(eb), parameter :: pio2 = pi/2.0_eb 17 | real(eb), parameter :: pio4 = pi/4.0_eb 18 | 19 | real(eb), parameter :: sigma = 5.67e-8_eb 20 | 21 | real(eb), parameter :: onethird = 1.0_eb/3.0_eb 22 | real(eb), parameter :: twothirds = 2.0_eb/3.0_eb 23 | 24 | real(eb), parameter :: grav_con = 9.80665_eb 25 | real(eb), parameter :: gsqrt = sqrt(grav_con) 26 | 27 | real(eb), parameter :: cos45 = sqrt(2.0_eb)/2.0_eb 28 | real(eb), parameter :: kelvin_c_offset = 273.15_eb 29 | 30 | end module precision_parameters 31 | -------------------------------------------------------------------------------- /Source/CFAST/skipmatlab_trigger.txt: -------------------------------------------------------------------------------- 1 | dummy file change to force cfasbot run 2 | -------------------------------------------------------------------------------- /Source/CFAST/srev.f90: -------------------------------------------------------------------------------- 1 | #ifndef GITHASH_PP 2 | #define GITHASH_PP "unknown" 3 | #endif 4 | #ifndef GITDATE_PP 5 | #define GITDATE_PP "unknown" 6 | #endif 7 | #ifndef BUILDDATE_PP 8 | #define BUILDDATE_PP "unknown" 9 | #endif 10 | subroutine get_info (revision, revision_date, compile_date) 11 | 12 | implicit none 13 | 14 | character(len=256), intent(out) :: revision, revision_date, compile_date 15 | 16 | write (revision,'(A)') TRIM(GITHASH_PP) 17 | write (revision_date,'(A)') TRIM(GITDATE_PP) 18 | write (compile_date,'(A)') TRIM(BUILDDATE_PP) 19 | 20 | return 21 | 22 | end subroutine get_info 23 | -------------------------------------------------------------------------------- /Source/Cdata/Source1.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cdata/Source1.f90 -------------------------------------------------------------------------------- /Source/Cdata/cdata_enoughdone.f90: -------------------------------------------------------------------------------- 1 | module enoughdone_routines 2 | 3 | use precision_parameters 4 | 5 | use setup_data, only: datapath, project, extension 6 | 7 | use pp_params, only: mxgenerators, mxpntsarray, mxseeds, mxfields, rnd_seeds, restart_values 8 | use montecarlo_data, only: generatorinfo, n_generators, fieldinfo, n_fields, mc_write_seeds 9 | use preprocessor_types, only: random_generator_type 10 | use preprocessor_output_routines, only: flush_parameters_buffer, setup_col_parameters_output, & 11 | open_preprocessor_outputfiles, initialize_preprocessor_output_routines, & 12 | add_filename_to_parameters, add_seeds_to_seeds_buffer, flush_seeds_buffer 13 | 14 | implicit none 15 | 16 | private 17 | 18 | public enoughdone 19 | 20 | contains 21 | 22 | !-------------------------enoughdone------------------------------------------------ 23 | 24 | subroutine enoughdone 25 | 26 | end subroutine enoughdone 27 | 28 | end module enoughdone_routines -------------------------------------------------------------------------------- /Source/Cedit/AllFireObjects.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/AllFireObjects.vb -------------------------------------------------------------------------------- /Source/Cedit/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 20 | 21 | 22 | ' Version information for an assembly consists of the following four values: 23 | ' 24 | ' Major Version 25 | ' Minor Version 26 | ' Build Number 27 | ' Revision 28 | ' 29 | ' You can specify all the values or you can default the Build and Revision Numbers 30 | ' by using the '*' as shown below: 31 | 32 | 33 | -------------------------------------------------------------------------------- /Source/Cedit/CEdit.gclicx: -------------------------------------------------------------------------------- 1 | 331cf6cd-b73c-429f-ba79-fa2f85eebd68;-8585249968854775808;Q0VkaXQuZXhl;MzMxY2Y2Y2QtYjczYy00MjlmLWJhNzktZmEyZjg1ZWViZDY4,NDYwNTkwMDZYWFhYWFhYWDA5Nw,Kg,VHJ1ZQ,NzQ0MA,VHJ1ZQ,LTMw,LTMw,VHJpYWw,,;FOh5mQqnDeQRF5vyT/FbVqgtHaqARg2xoIG6CtHFzVC6tc/7/ApSMCWZKiCd8vJMYBTTZ+Xbr/KzcD55MFob2rfjKSR0UWap2oexQP9njn6xf1zg5ytl1CJm/8Wxd2d0p5KxUgJbAVQcSx9F3qk1Ao9NI+3KVneEVkhn1SEdCUk 2 | da3d5d14-691f-4908-aa3c-fd3239734232;-8585249968854775808;Q0VkaXQuZXhlLmV4ZQ==;ZGEzZDVkMTQtNjkxZi00OTA4LWFhM2MtZmQzMjM5NzM0MjMy,MTE3MzU1MzZYWFhYWFhYWDA5NQ,UklDSEFSRF9XSU5ET1dT,RmFsc2U,ODQ0MA,RmFsc2U,MA,MA,djIwMjIuMw,,;oioEDalvHyepiGAoTnnmPixfaPGvm0YjDubpZyDch9Vm2GlbGqbDs2C1LmcsxAJtC4nJpTFXncyPfPoCvmLEN3+47EfMdq3jPVIkWLohGmuSzNzB8wQBrTBkBh+5+M+1u5Q6jrULJu4m6x4NR8JpH2j5xv6VURXL5Tz/QoAihd8 3 | da3d5d14-691f-4908-aa3c-fd3239734232;-8584886260854775808;Q0VkaXQuZXhl;ZGEzZDVkMTQtNjkxZi00OTA4LWFhM2MtZmQzMjM5NzM0MjMy,MTE3MzU1MzZYWFhYWFhYWDA5NQ,UklDSEFSRF9XSU5ET1dT,RmFsc2U,ODQ0MA,RmFsc2U,MA,MA,djIwMjIuMw,,;oioEDalvHyepiGAoTnnmPixfaPGvm0YjDubpZyDch9Vm2GlbGqbDs2C1LmcsxAJtC4nJpTFXncyPfPoCvmLEN3+47EfMdq3jPVIkWLohGmuSzNzB8wQBrTBkBh+5+M+1u5Q6jrULJu4m6x4NR8JpH2j5xv6VURXL5Tz/QoAihd8 4 | -------------------------------------------------------------------------------- /Source/Cedit/CEdit.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/CEdit.vb -------------------------------------------------------------------------------- /Source/Cedit/CFASTSMV.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/CFASTSMV.gif -------------------------------------------------------------------------------- /Source/Cedit/Environment.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/Environment.vb -------------------------------------------------------------------------------- /Source/Cedit/Fire.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/Fire.bmp -------------------------------------------------------------------------------- /Source/Cedit/Fire.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/Fire.vb -------------------------------------------------------------------------------- /Source/Cedit/Target.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/Target.vb -------------------------------------------------------------------------------- /Source/Cedit/UpdateDataFiles.vb: -------------------------------------------------------------------------------- 1 | Public Class UpdateInputFiles 2 | 3 | Private Sub OK_Click(sender As Object, e As EventArgs) Handles OK.Click 4 | Close() 5 | End Sub 6 | End Class -------------------------------------------------------------------------------- /Source/Cedit/User Units.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/User Units.vb -------------------------------------------------------------------------------- /Source/Cedit/Vent.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/Vent.vb -------------------------------------------------------------------------------- /Source/Cedit/ViewFile.vb: -------------------------------------------------------------------------------- 1 | Public Class ViewFile 2 | Private _fileName As String 3 | Public Property FileName() As String 4 | Get 5 | Return _fileName 6 | End Get 7 | Set(ByVal value As String) 8 | Dim io As Integer = 1 9 | Dim ln As String 10 | If System.IO.File.Exists(value) Then 11 | _fileName = value 12 | Text = _fileName 13 | PreviewDocument.Body.Children.Clear() 14 | PreviewDocument.PageLayouts.Default.Document.PageLayout.PageSettings.Landscape = True 15 | FileOpen(io, _fileName, OpenMode.Input, OpenAccess.Read, OpenShare.Shared) 16 | Do Until EOF(io) 17 | ln = LineInput(io) 18 | If ln = "" Then 19 | PreviewDocument.Body.Children.Add(New C1.C1Preview.RenderText(vbCr)) 20 | Else 21 | PreviewDocument.Body.Children.Add(New C1.C1Preview.RenderText(ln, New Font("Courier New", 8, FontStyle.Regular, GraphicsUnit.Point))) 22 | End If 23 | Loop 24 | FileClose(io) 25 | PreviewDocument.Generate() 26 | End If 27 | End Set 28 | End Property 29 | End Class -------------------------------------------------------------------------------- /Source/Cedit/app.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Source/Cedit/bunk.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/bunk.gif -------------------------------------------------------------------------------- /Source/Cedit/ellogob.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Cedit/ellogob.ico -------------------------------------------------------------------------------- /Source/Cedit/licenses.licx: -------------------------------------------------------------------------------- 1 | C1.C1Preview.C1MultiDocument, C1.C1Report.4.8 2 | C1.C1Preview.C1PrintDocument, C1.C1Report.4.8 3 | C1.C1Rdl.Rdl2008.C1RdlReport, C1.C1Report.4.8 4 | C1.C1Report.C1Report, C1.C1Report.4.8 5 | C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.4.8 6 | C1.Win.C1Preview.C1PreviewPane, C1.Win.C1Report.4.8 7 | C1.Win.C1Preview.C1PrintPreviewControl, C1.Win.C1Report.4.8 8 | C1.Win.C1ReportDesigner.C1ReportDesigner, C1.Win.C1ReportDesigner.4.8 9 | C1.Win.C1Sizer.C1Sizer, C1.Win.C1Sizer.4.8 10 | C1.Win.C1Sizer.C1SizerLight, C1.Win.C1Sizer.4.8 -------------------------------------------------------------------------------- /Source/Egress/Docs/WordDocuments/EgressEstimator.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/Docs/WordDocuments/EgressEstimator.docx -------------------------------------------------------------------------------- /Source/Egress/EgressEstimator.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/EgressEstimator.chm -------------------------------------------------------------------------------- /Source/Egress/EgressVisualisator.xlsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/EgressVisualisator.xlsm -------------------------------------------------------------------------------- /Source/Egress/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | frmEstimator 5 | false 6 | 0 7 | true 8 | 0 9 | true 10 | -------------------------------------------------------------------------------- /Source/Egress/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /Source/Egress/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Source/Egress/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Source/Egress/bin/Debug/EgressEstimator.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/bin/Debug/EgressEstimator.chm -------------------------------------------------------------------------------- /Source/Egress/bin/Debug/Matricies.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/bin/Debug/Matricies.dll -------------------------------------------------------------------------------- /Source/Egress/bin/Debug/buildingfile.csv: -------------------------------------------------------------------------------- 1 | 100,0.3 2 | 100,0.3 3 | 100,0.3 4 | 100,0.3 5 | 100,0.3 6 | 100,0.3 7 | 100,0.3 8 | 100,0.3 9 | 100,0.3 10 | 100,0.3 11 | 50,0.2 12 | 50,0.2 13 | 50,0.2 14 | 50,0.2 15 | 50,0.2 16 | 50,0.2 17 | 50,0.2 18 | 50,0.2 19 | 50,0.2 20 | 50,0.2 21 | 20,0.1 22 | 20,0.1 23 | 20,0.1 24 | 20,0.1 25 | 20,0.1 26 | 20,0.1 27 | 20,0.1 28 | 20,0.1 29 | 20,0.1 30 | 20,0.1 -------------------------------------------------------------------------------- /Source/Egress/bin/Debug/testbuilding.csv: -------------------------------------------------------------------------------- 1 | Start floor (inclusive),end floor (inclusive),Population on floor,Fraction using elevator,Start of stair evacuation,start of elevator evacuation 2 | 2,2,100,0,0,0 3 | 10,15,30,1,0,0 4 | -------------------------------------------------------------------------------- /Source/Egress/bin/Release/Batchlist.csv: -------------------------------------------------------------------------------- 1 | Number of Floors,15,15,15,15,15 2 | Number of Occupants,24,24,24,24,24 3 | Freaction of Occupants that Use Elevators,0.5,0.5,0.5,0.5,0.5 4 | Use building data file [True/False],FALSE,FALSE,FALSE,FALSE,FALSE 5 | Hall length [m],41.1,41.1,41.1,41.1,41.1 6 | Hall width [m],2.3,2.3,2.3,2.3,2.3 7 | Max rate occupants can enter hallway [p/s],1,1,1,1,1 8 | Number of stairwells,2,3,4,5,6 9 | Occupants on First floor use stairways,FALSE,FALSE,FALSE,FALSE,FALSE 10 | Stair width [m],1.27,1.27,1.27,1.27,1.27 11 | Flights per floor,2,2,2,2,2 12 | Stairs per flight,9,9,9,9,9 13 | Riser Height [mm],178,178,178,178,178 14 | Tread depth [mm],279,279,279,279,279 15 | Maximum Rate Occupants can enter Stairwell [p/s],1,1,1,1,1 16 | Maximum Rate Occupants can leave Stairwell [p/s],1.46965,1.46965,1.46965,1.46965,1.46965 17 | Distance to Exit Discharge [m],2,2,2,2,2 18 | Exit Width [m],2,2,2,2,2 19 | Maximum Rate Occupants can leave Exit Discharge [p/s],1.25,1.25,1.25,1.25,1.25 20 | Num of elevators,2,2,2,2,2 21 | Max elevator Car capacity [persons],12,12,12,12,12 22 | Elevator door type [index 1 to 12],7,7,7,7,7 23 | Elevator velocity [m/s],3,3,3,3,3 24 | Elevator acceleration [m/s2],3,3,3,3,3 25 | Elevator startup time [s],42.5,42.5,42.5,42.5,42.5 -------------------------------------------------------------------------------- /Source/Egress/bin/Release/EgressEstimator.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/bin/Release/EgressEstimator.chm -------------------------------------------------------------------------------- /Source/Egress/bin/Release/Matricies.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/bin/Release/Matricies.dll -------------------------------------------------------------------------------- /Source/Egress/bin/Release/buildingfile.csv: -------------------------------------------------------------------------------- 1 | 2,2,100,0,0,0 2 | 10,15,30,1,0,0 3 | -------------------------------------------------------------------------------- /Source/Egress/ellogob.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/ellogob.ico -------------------------------------------------------------------------------- /Source/Egress/frmEstimator.Designer.vb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Source/Egress/frmEstimator.Designer.vb -------------------------------------------------------------------------------- /Source/README.md: -------------------------------------------------------------------------------- 1 | # CFAST Source Code 2 | 3 | The complete CFAST Fortran source code and CEdit Visual Basic code are included in the folders above. The CFAST code is Fortran 2008 compliant. The main controlling program is `cfast.f90` for CFAST and `CEdit.vb` for CEdit. The `makefile` for compilation is in the `Build` folder. 4 | -------------------------------------------------------------------------------- /Source/zfm/source/convecflow.f90: -------------------------------------------------------------------------------- 1 | 2 | ! --------------- convecflow 3 | 4 | subroutine convecflow 5 | use precision 6 | use zonedata 7 | implicit none 8 | type(room_data), pointer :: r 9 | integer :: iroom 10 | real(kind=eb) :: tg, tw 11 | real(kind=eb) :: qceil, quwall, qlwall, qfloor 12 | 13 | do iroom = 1, nrooms 14 | r => rooms(iroom) 15 | 16 | tg = r%layer(upper)%temperature 17 | if(r%wall(1)%wallmatindex.ne.p_nowall)then 18 | tw = r%wall(1)%temp 19 | call convec(1,tg,tw,qceil) 20 | else 21 | qceil = 0.0_eb 22 | endif 23 | 24 | if(r%wall(3)%wallmatindex.ne.p_nowall)then 25 | tw = r%wall(3)%temp 26 | call convec(3,tg,tw,quwall) 27 | else 28 | quwall = 0.0_eb 29 | endif 30 | 31 | tg = r%layer(lower)%temperature 32 | if(r%wall(4)%wallmatindex.ne.p_nowall)then 33 | tw = r%wall(2)%temp 34 | call convec(2,tg,tw,qlwall) 35 | else 36 | qlwall = 0.0_eb 37 | endif 38 | 39 | if(r%wall(2)%wallmatindex.ne.p_nowall)then 40 | tw = r%wall(4)%temp 41 | call convec(4,tg,tw,qfloor) 42 | else 43 | qfloor = 0.0_eb 44 | endif 45 | 46 | cflow(iroom,upper)%qdot = - qceil*r%wall(1)%area - quwall*r%wall(3)%area 47 | cflow(iroom,upper)%zero = .false. 48 | 49 | cflow(iroom,lower)%zero = .false. 50 | cflow(iroom,lower)%qdot = -qfloor*r%wall(2)%area - qlwall*r%wall(4)%area 51 | end do 52 | end subroutine convecflow 53 | -------------------------------------------------------------------------------- /Source/zfm/source/getdp.f90: -------------------------------------------------------------------------------- 1 | 2 | ! --------------- getdp ---------------------- 3 | 4 | real(kind=eb) function getdp(y,ivent) 5 | use precision 6 | use zonedata 7 | implicit none 8 | 9 | type(vent_data), pointer :: v 10 | type(room_data), pointer :: r1,r2 11 | integer :: ivent 12 | real(kind=eb) :: p1, p2, y, zz, epscut, dpold, epsp 13 | real(kind=eb) :: absold, expold 14 | 15 | v => vents(ivent) 16 | r1 => rooms(v%from) 17 | r2 => rooms(v%to) 18 | 19 | p1 = r1%rel_pressure - g*min(r1%rel_layer_height,y-r1%z0)*r1%layer(lower)%density 20 | p1 = p1 - g*max(y-r1%abs_layer_height,zero)*r1%layer(upper)%density 21 | 22 | p2 = r2%rel_pressure - g*min(r2%rel_layer_height,y-r2%z0)*r2%layer(lower)%density 23 | p2 = p2 - g*max(y-r2%abs_layer_height,zero)*r2%layer(upper)%density 24 | 25 | epsp = rptol 26 | epscut = 10.0_eb*epsp*max(1.0_eb,abs(p1),abs(p2)) 27 | dpold = p1 - p2 28 | absold = abs(p1-p2)/epscut 29 | if(absold.le.37.0_eb)then ! absold < 16*ln(10) < 37 30 | ! write(6,*)"fudge active!!",p1,p2,dpold 31 | expold = exp(-absold) 32 | zz = 1.0_eb - expold 33 | getdp = dpold*zz 34 | else 35 | getdp = dpold 36 | endif 37 | 38 | end function getdp 39 | -------------------------------------------------------------------------------- /Source/zfm/source/getvals.f90: -------------------------------------------------------------------------------- 1 | subroutine getvals(rm_pres,layer_ht,llayer_temp,ulayer_temp) 2 | use precision 3 | use zonedata 4 | implicit none 5 | 6 | real(kind=eb),dimension(*) :: rm_pres,layer_ht,llayer_temp,ulayer_temp 7 | 8 | type(room_data), pointer :: r 9 | integer :: iroom 10 | 11 | do iroom = 1, nrooms 12 | r => rooms(iroom) 13 | rm_pres(iroom) = r%rel_pressure 14 | layer_ht(iroom) = r%rel_layer_height 15 | llayer_temp(iroom) = r%layer(lower)%temperature 16 | ulayer_temp(iroom) = r%layer(upper)%temperature 17 | end do 18 | end subroutine getvals 19 | 20 | -------------------------------------------------------------------------------- /Source/zfm/source/interp.f90: -------------------------------------------------------------------------------- 1 | subroutine interp(tsec,t,q,n,qt) 2 | use precision 3 | implicit none 4 | integer, intent(in) :: n 5 | real(kind=eb), dimension(n) :: t, q 6 | real(kind=eb), intent(out) :: qt 7 | real(kind=eb), intent(in) :: tsec 8 | real(kind=eb) :: qlow, qhigh, tlow, thigh 9 | real(kind=eb) :: f1, f2 10 | integer :: istart, iend, imid 11 | 12 | 13 | istart=0 14 | iend=n+1 15 | if(tsec.le.t(1))then 16 | qt = q(1) 17 | return 18 | endif 19 | if(tsec.ge.t(n))then 20 | qt = q(n) 21 | return 22 | endif 23 | do 24 | if(iend-istart.le.1)exit 25 | imid = (istart+iend)/2 26 | if(tsec.ge.t(imid))then 27 | istart = imid 28 | else 29 | iend = imid 30 | endif 31 | end do 32 | if(tsec.lt.t(istart).or.tsec.gt.t(istart+1))then 33 | write(6,*)t(istart),tsec,t(istart+1) 34 | stop 35 | endif 36 | qlow = q(istart) 37 | qhigh = q(istart+1) 38 | tlow = t(istart) 39 | thigh = t(istart+1) 40 | f1 = (thigh-tsec)/(thigh-tlow) 41 | f2 = 1.0_eb - f1 42 | qt = qlow*f1 + qhigh*f2 43 | return 44 | end subroutine interp 45 | 46 | -------------------------------------------------------------------------------- /Source/zfm/source/interpmain.f90: -------------------------------------------------------------------------------- 1 | program main 2 | use precision 3 | ! subroutine interp(tsec,t,q,n,qt) 4 | 5 | real(kind=real_kind) :: tsec, qt 6 | real(kind=real_kind), dimension(100) :: t, q 7 | integer :: n 8 | 9 | n = 100 10 | 11 | do i = 1, n 12 | t(i) = i 13 | q(i) = i**2 14 | end do 15 | tsec = 47.2 16 | 17 | call interp(tsec,t,q,n,qt) 18 | 19 | end program main -------------------------------------------------------------------------------- /Source/zfm/source/main.f90: -------------------------------------------------------------------------------- 1 | program main 2 | implicit none 3 | integer :: error 4 | ! call zonefire("test1.dat",error) 5 | ! call zonefire("test1.dat",error) 6 | ! call zonefire("test1.dat",error) 7 | ! call zonefire("init3.dat",error) 8 | call zonefire("basezfmtest.dat",error) 9 | ! call zonefire("init2.dat",error) 10 | ! call result 11 | write(6,*)"finished" 12 | stop 13 | end program main 14 | 15 | -------------------------------------------------------------------------------- /Source/zfm/source/precision.f90: -------------------------------------------------------------------------------- 1 | module precision 2 | implicit none 3 | save 4 | 5 | ! 15 digits of precision used 6 | 7 | integer, parameter :: eb = selected_real_kind(15) 8 | 9 | end module precision 10 | 11 | -------------------------------------------------------------------------------- /Source/zfm/source/zonefire.f90: -------------------------------------------------------------------------------- 1 | subroutine zonefire(filein,error) 2 | integer :: error 3 | character(len=*) :: filein 4 | logical :: firstcall 5 | data firstcall/.true./ 6 | save firstcall 7 | 8 | if(firstcall)then 9 | call init0 10 | firstcall = .false. 11 | endif 12 | call initmm 13 | call readini 14 | call loadcase(filein,error) 15 | if(error.ne.0)return 16 | call initamb 17 | ! call writedata 18 | call initsolve 19 | call solve 20 | return 21 | end subroutine zonefire 22 | -------------------------------------------------------------------------------- /Utilities/Matlab/CFAST_validation_scatterplot_output_baseline.csv: -------------------------------------------------------------------------------- 1 | "Quantity","Number of Datasets","Number of Points","Sigma_Experiment","Sigma_Model","Bias" 2 | "HGL Temperature",17,373,"0.07","0.30","1.07" 3 | "HGL Temperature: Forced Ventilation",7,132,"0.07","0.21","1.14" 4 | "HGL Temperature: Natural Ventilation",13,216,"0.07","0.36","1.05" 5 | "HGL Temperature: No Ventilation",3,24,"0.07","0.16","0.98" 6 | "HGL Depth",15,262,"0.05","0.26","1.01" 7 | "HGL Depth: Open Compartments",14,228,"0.05","0.19","0.95" 8 | "HGL Depth: Closed Compartments",4,34,"0.05","0.25","1.45" 9 | "Ceiling Jet Temperature",13,503,"0.07","0.42","1.05" 10 | "Plume Temperature",6,75,"0.07","0.22","1.08" 11 | "Oxygen Concentration",5,60,"0.08","0.26","1.03" 12 | "Carbon Dioxide Concentration",5,54,"0.08","0.26","0.88" 13 | "Carbon Monoxide Concentration",2,29,"0.19","0.63","1.02" 14 | "Smoke Concentration",1,15,"0.19","0.66","3.37" 15 | "Compartment Over-Pressure",4,66,"0.23","0.52","1.51" 16 | "Target Temperature",4,423,"0.07","0.49","1.26" 17 | "Surface Temperature",6,403,"0.07","0.20","0.99" 18 | "Target Heat Flux",3,244,"0.11","0.60","0.98" 19 | "Surface Heat Flux",7,241,"0.11","0.23","0.91" 20 | "Smoke Alarm Activation Time (Temperature Surrogate)",1,142,"0.34","0.43","1.23" 21 | "Smoke Alarm Activation Time (Smoke Obscuration)",1,142,"0.34","0.52","0.56" 22 | "Sprinkler Activation Time",4,101,"0.06","0.20","1.01" 23 | -------------------------------------------------------------------------------- /Utilities/Matlab/CFAST_verification_scatterplot_inputs.csv: -------------------------------------------------------------------------------- 1 | Scatter_Plot_Title,Ind_Title,Dep_Title,Plot_Min,Plot_Max,Title_Position,Key_Position,Paper_Width_Factor,Sigma_2_E,Weight_Data,Plot_Type,Plot_Filename 2 | Relative Error,Expected Value,Predicted Value,0,30000,0.03 0.95,SouthEast,1,-1,no,linear,ScatterPlots/Relative_Error 3 | Absolute XXXXX,Expected Value,Predicted Value,0,30000,0.03 0.95,SouthEast,1,-1,no,linear,ScatterPlots/Absolute_XXXXX 4 | -------------------------------------------------------------------------------- /Utilities/Matlab/run_matlab_validation.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set matlab="C:\Program Files\MATLAB\R2013b\bin\matlab" 4 | 5 | Rem %matlab% -r CFAST_validation_script 6 | matlab -automation -wait -noFigureWindows -r "try; run('%CD%\CFAST_validation_script'); catch; end; quit 7 | -------------------------------------------------------------------------------- /Utilities/Matlab/run_matlab_verification.bat: -------------------------------------------------------------------------------- 1 | rem @echo off 2 | 3 | set matlab="C:\Program Files\MATLAB\R2013b\bin\matlab" 4 | 5 | rem %matlab% -r CFAST_verification_script 6 | rem %matlab% -r CFAST_plotting_script 7 | matlab -automation -wait -noFigureWindows -r "try; run('%CD%\CFAST_verification_script.m'); catch; end; quit 8 | matlab -automation -wait -noFigureWindows -r "try; run('%CD%\CFAST_plotting_script.m'); catch; end; quit -------------------------------------------------------------------------------- /Utilities/Matlab/scripts/csvreaderALL.m: -------------------------------------------------------------------------------- 1 | function [Time,mCO2,mH2O] = csvreaderALL(filename,Comp) 2 | [H D] = dvcread(filename,1,5); 3 | 4 | colTime = find(strncmpi(H,'Time',4)); 5 | colO2u = find(strncmpi(H,strcat('ULMO2',Comp),7)); 6 | colCO2u = find(strncmpi(H,strcat('ULMCO2',Comp),8)); 7 | colH2Ou = find(strncmpi(H,strcat('ULMH2O',Comp),8)); 8 | colO2l = find(strncmpi(H,strcat('LLMO2',Comp),7)); 9 | colCO2l = find(strncmpi(H,strcat('LLMCO2',Comp),8)); 10 | colH2Ol = find(strncmpi(H,strcat('LLMH2O',Comp),8)); 11 | 12 | Time = D(:,colTime)/60; 13 | CO2u = D(:,colCO2u); 14 | H2Ou = D(:,colH2Ou); 15 | CO2l = D(:,colCO2l); 16 | H2Ol = D(:,colH2Ol); 17 | 18 | mCO2 = CO2u; 19 | mH2O = H2Ou; 20 | if size(CO2u) == size(CO2l) % if it's a one zone case, there is no lower layer 21 | mCO2 = CO2u + CO2l; 22 | mH2O = H2Ou + H2Ol; 23 | end 24 | 25 | end 26 | -------------------------------------------------------------------------------- /Utilities/Matlab/scripts/parse.m: -------------------------------------------------------------------------------- 1 | % McDermott 2 | % 6-08-2009 3 | % parse.m 4 | % 5 | % [S] = parse(character_string) 6 | % 7 | % Uses textscan to parse a character string that is delimited with a "|". 8 | 9 | function [S] = parse(character_string) 10 | 11 | cell_array = textscan(character_string,'%s','delimiter','|'); 12 | S = cell_array{:}'; -------------------------------------------------------------------------------- /Utilities/Matlab/scripts/parsepipe.m: -------------------------------------------------------------------------------- 1 | % McDermott 2 | % 6-08-2009 3 | % parsepipe.m 4 | % 5 | % [S] = parsepipe(character_string) 6 | % 7 | % Uses textscan to parse a character string that is delimited with a "|". 8 | 9 | function [S] = parsepipe(character_string) 10 | 11 | cell_array = textscan(character_string,'%s','delimiter','|'); 12 | S = cell_array{:}'; -------------------------------------------------------------------------------- /Utilities/Matlab/scripts/parseplus.m: -------------------------------------------------------------------------------- 1 | % McDermott 2 | % 12-30-2015 3 | % parseplus.m 4 | % 5 | % [S] = parseplus(character_string) 6 | % 7 | % Uses textscan to parse a character string that is delimited with a "+". 8 | 9 | function [S] = parseplus(character_string) 10 | 11 | cell_array = textscan(char(character_string),'%s','delimiter','+'); 12 | S = cell_array{:}'; -------------------------------------------------------------------------------- /Utilities/Matlab/scripts/spiegel_test.m: -------------------------------------------------------------------------------- 1 | function pval = spiegel_test(x) 2 | % compute pvalue under null of x normally distributed; 3 | % x should be a vector; 4 | xm = mean(x); 5 | xs = std(x); 6 | xz = (x - xm) ./ xs; 7 | xz2 = xz.^2; 8 | N = sum(xz2 .* log(xz2)); 9 | n = numel(x); 10 | ts = (N - 0.73 * n) / (0.8969 * sqrt(n)); %under the null, ts ~ N(0,1) 11 | pval = 1 - abs(erf(ts / sqrt(2))); %2-sided test. 12 | -------------------------------------------------------------------------------- /Utilities/Matlab/scripts/stripcell.m: -------------------------------------------------------------------------------- 1 | % McDermott 2 | % 6-11-2009 3 | % stripcell.m 4 | % 5 | % Stip cell array of empty cells 6 | 7 | function [C] = stripcell(CELL_ARRAY) 8 | 9 | i = 1; 10 | for j=1:length(CELL_ARRAY) 11 | if iscellstr(CELL_ARRAY(j)) 12 | C(i) = CELL_ARRAY(j); 13 | i = i+1; 14 | end 15 | end -------------------------------------------------------------------------------- /Utilities/Matlab/scripts/target_2.m: -------------------------------------------------------------------------------- 1 | function [] = target_2(data_dir) 2 | %This function will do a transpose of a matrix for the results obtained 3 | %from CFAST verification cases: target_2.in 4 | % 5 | %Fire heat flux as a function of location is desired. Yet in CFAST, 6 | %the calculated results for each target (for different locations)for a 7 | %specific time step are presented in a single row. With the fact that the 8 | %current Matlab script to handle verification and validation take a single 9 | %column of values. Thus, a transpose of matrix is needed. 10 | 11 | %% Case 1: target_2.in 12 | filename = [data_dir 'target_2_devices.csv']; 13 | X1 = [8, 6, 5, 4.5, 4.4, 4.3, 4.2, 4.1]'; 14 | Z = importdata(filename,',',5); 15 | W = strsplit(Z.textdata{1,1},','); 16 | 17 | %find the locations for all of the variable columns 18 | col = find(strncmpi(W,'TRGFLXF',7))'; 19 | cfast_targ_flux_first = Z.data(:,col); 20 | cfast_targ_flux_fire = cfast_targ_flux_first(1:8)'; 21 | 22 | header1 = ['Z, FIRE_HEAT_FLUX']; 23 | data1 = [X1, cfast_targ_flux_fire]; 24 | 25 | outid = fopen([data_dir 'target_2_w2.csv'] , 'w+'); 26 | fprintf(outid,'%s',header1); 27 | fclose(outid); 28 | dlmwrite ([data_dir 'target_2_w2.csv'],data1,'roffset',1,'-append'); 29 | end -------------------------------------------------------------------------------- /Utilities/README.md: -------------------------------------------------------------------------------- 1 | # CFAST Utilities 2 | 3 | The folders above contain various processing scripts related to maintaining, releasing, or processing CFAST. -------------------------------------------------------------------------------- /Utilities/Visual_Studio/Backup_vs_config.bat: -------------------------------------------------------------------------------- 1 | copy ..\..\CFAST.sln CFAST.sln /Y 2 | copy ..\..\Source\CFAST\CFAST.vfproj CFAST.vfproj /Y 3 | copy ..\..\Source\CEdit\CEdit.vbproj CEdit.vbproj /Y 4 | copy ..\..\Source\CData\CData.vfproj CData.vfproj /Y 5 | copy ..\..\Source\Create_scripts\Create_scripts.vfproj Create_scripts.vfproj /Y 6 | copy ..\..\Source\VandV_Calcs\VandV_Calcs.vfproj VandV_Calcs.vfproj /Y 7 | -------------------------------------------------------------------------------- /Utilities/Visual_Studio/Restore_vs_config.bat: -------------------------------------------------------------------------------- 1 | copy CFAST.sln ..\..\CFAST.sln /Y 2 | copy CFAST.vfproj ..\..\Source\CFAST\CFAST.vfproj /Y 3 | copy CEdit.vbproj ..\..\Source\CEdit\CEdit.vbproj /Y 4 | copy CData.vfproj ..\..\Source\CData\CData.vfproj /Y 5 | copy Create_scripts.vfproj ..\..\Source\Create_scripts\Create_scripts.vfproj /Y 6 | copy VandV_Calcs.vfproj ..\..\Source\VandV_Calcs\VandV_Calcs.vfproj /Y 7 | -------------------------------------------------------------------------------- /Utilities/background/intel_win_64/make_background.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | 4 | :: setup compiler environment 5 | if x%arg1% == xbot goto skip1 6 | call ..\..\..\Source\CFAST\scripts\setup_intel_compilers.bat intel64 7 | :skip1 8 | 9 | Title Building background for 64 bit Windows 10 | 11 | erase *.obj *.mod 12 | make SHELL="%ComSpec%" -f ..\Makefile intel_win_64 13 | if x%arg1% == xbot goto skip2 14 | pause 15 | :skip2 16 | -------------------------------------------------------------------------------- /Utilities/for_bundle/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Utilities/for_bundle/.gitignore -------------------------------------------------------------------------------- /Utilities/for_bundle/Bin/CFAST6.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Utilities/for_bundle/Bin/CFAST6.chm -------------------------------------------------------------------------------- /Utilities/for_bundle/Bin/project1/testinstall1.in: -------------------------------------------------------------------------------- 1 | VERSN,7,"Test installation - no fire 2 | ! This should run very quickly 3 | TIMES,1800,900,0,0,0, 4 | TAMB,300,101300,0,5 5 | EAMB,300,101300,0, 6 | COMPA,C1,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 7 | HVENT,1,2,1,2.4,1.00,0.,0.,0.,0.,1,0.9 8 | LIMO2,10 9 | -------------------------------------------------------------------------------- /Utilities/for_bundle/Bin/project1/testinstall2.in: -------------------------------------------------------------------------------- 1 | VERSN,7,"Test installation, check for most key words" 2 | ! Every output interval is the same, and we create an output file 3 | TIMES,360,-120,0,120,120, 4 | TAMB,300,101300,0,5, 5 | EAMB,300,101300,0, 6 | ! Four compartments 7 | COMPA,burn_room,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 8 | COMPA,second_compartment,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 9 | COMPA,hallway,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 10 | COMPA,anteroom,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 11 | ! HVENT (normal) output 4 vents 12 | HVENT,1,2,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 13 | HVENT,2,3,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 14 | HVENT,3,4,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 15 | HVENT,4,5,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 16 | ! VVENT (vertical flow) output 17 | VVENT,5,1,0.5,1,1 18 | ! A main fire 19 | MAINF,1,1.,1.7,0.,1 20 | ! And one object 21 | OBJECT,Upholstered_Chair,2,4.,2.7,0.,1,1,60.0,0,0,1 22 | HALL,2,-1,-1,-1, 23 | TARGET,1,2.20,1.88,2.34,0.00,0.00,1.00,CONCRETE,IMPLICIT,PDE 24 | DETECT,2,1,344.2,1.5,1.5,2.29,98,1,7.00E-05 25 | 26 | -------------------------------------------------------------------------------- /Utilities/for_bundle/Bin/project1/testinstall3.in: -------------------------------------------------------------------------------- 1 | VERSN,7,"Test installation - a long calculation to check cedit" 2 | TIMES,3600,-120,0,120,120, 3 | TAMB,300,101300,0,5, 4 | EAMB,300,101300,0, 5 | ! Four compartments 6 | COMPA,burn_room,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 7 | COMPA,second_compartment,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 8 | COMPA,hallway,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 9 | COMPA,anteroom,9.1,5.0,4.6,0.,0.,0.,CONCRETE,CONCRETE,CONCRETE 10 | ! HVENT (normal) output 4 vents 11 | HVENT,1,2,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 12 | HVENT,2,3,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 13 | HVENT,3,4,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 14 | HVENT,4,5,1,1.1,2.20,0.25,0.,2.,2.,1,0.9 15 | ! VVENT (vertical flow) output 16 | VVENT,5,1,0.5,1,1 17 | ! And one object 18 | OBJECT,Upholstered_Chair,2,4.,2.7,0.,1,1,60.0,0,0,1 19 | HALL,2,-1,-1,-1, 20 | TARGET,1,2.20,1.88,2.34,0.00,0.00,1.00,CONCRETE,IMPLICIT,PDE 21 | DETECT,2,1,344.2,1.5,1.5,2.29,98,1,7.00E-05 22 | 23 | -------------------------------------------------------------------------------- /Utilities/for_bundle/Bin/project2/threeroomtest.in: -------------------------------------------------------------------------------- 1 | VERSN,7,CFAST Simulation 2 | !! 3 | !!Environmental Keywords 4 | !! 5 | TIMES,1800,-60,0,60,60 6 | EAMB,300,101300,0 7 | TAMB,300,101300,0,50 8 | LIMO2,10 9 | !! 10 | !!Compartment keywords 11 | !! 12 | COMPA,Bedroom,3.6,2.4,2.4,0,0,0,GYPSUM,OFF,GYPSUM 13 | COMPA,Hallway,3.6,6.4,2.4,0,0,0,GYPSUM,OFF,GYPSUM 14 | COMPA,Upstairs Bedroom,3.6,2.4,2.4,0,0,2.4,GYPSUM,OFF,GYPSUM 15 | MAINF,1,1.8,1.2,0,1 16 | !! 17 | !!end of input file 18 | !! 19 | -------------------------------------------------------------------------------- /Utilities/for_bundle/SMV6/.gitignore: -------------------------------------------------------------------------------- 1 | #Smokeview installed files for testing version to ignore 2 | *.jpg 3 | *.png 4 | *.dll 5 | *.svo 6 | *.ssf 7 | *.ini 8 | *.po 9 | release_notes.html 10 | wrapup_smv_install.bat -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/BUNDLEDIR/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Utilities/for_bundle/scripts/BUNDLEDIR/.gitignore -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/bundleinfo/about.txt: -------------------------------------------------------------------------------- 1 | The Consolidated Fire and Smoke Transport model (cfast), is a zone 2 | fire model of fire-driven fluid flow. 3 | -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/bundleinfo/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Utilities/for_bundle/scripts/bundleinfo/icon.ico -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/bundleinfo/main.txt: -------------------------------------------------------------------------------- 1 | Press Setup to begin installation. 2 | -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/bundleinfo/uninstall.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | echo. 4 | echo *** Uninstalling CFAST and Smokeview 5 | echo. 6 | echo Press any key to proceed or CTRL C to abort 7 | pause>NUL 8 | -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/bundleinfo/uninstall_cfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | NET SESSION >nul 2>&1 4 | IF %ERRORLEVEL% NEQ 0 ( 5 | echo *** Error: This script is running as %username%. It must run as Administrator. 6 | echo Run again, after right clicking on this script and selecting "Run as Adminstrator" 7 | echo CFAST uninstaller aborted. 8 | pause 9 | exit 10 | ) 11 | 12 | echo. 13 | echo *** Removing the association between .in and Cedcit 14 | assoc .in= 15 | ftype ceditDoc= 16 | 17 | call :is_fds_installed 18 | if %fdsinstalled% == 1 goto skip1 19 | echo. 20 | echo *** Removing the association between .smv and Smokeview 21 | assoc .smv= 22 | ftype smvDoc= 23 | :skip1 24 | 25 | echo. 26 | echo *** Removing cfast from the Start menu. 27 | rmdir /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\CFAST7" 28 | 29 | -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/bundleinfo/uninstall_cfast2.bat: -------------------------------------------------------------------------------- 1 | goto eof 2 | 3 | :is_fds_installed 4 | echo | call fds 1> %temp%\file_exist.txt 2>&1 5 | type %temp%\file_exist.txt | find /i /c "not recognized" > %temp%\file_exist_count.txt 6 | set /p nothave=<%temp%\file_exist_count.txt 7 | set fdsinstalled=1 8 | if %nothave% == 1 ( 9 | set fdsinstalled=0 10 | ) 11 | exit /b 0 12 | 13 | :eof 14 | -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/copyCFASTcases.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | call %cfastrepo%\Utilities\scripts\getopts.bat %* 4 | 5 | set in=%infile%.in 6 | 7 | if not exist %outdir%\%dir% mkdir %outdir%\%dir% 8 | 9 | copy %dir%\%in% %outdir%\%dir%\%in% > Nul 10 | if EXIST %outdir%\%dir%\%in% echo %dir%\%in% copied 11 | if NOT exist %outdir%\%dir%\%in% echo ***error: %dir%\%in% failed to copy 12 | if exist %dir%\%infile%.ini copy %dir%\%infile%.ini %outdir%\%dir%\%infile%.ini > Nul 13 | if exist %dir%\%infile%.ssf copy %dir%\%infile%.ssf %outdir%\%dir%\%infile%.ssf > Nul 14 | -------------------------------------------------------------------------------- /Utilities/for_bundle/scripts/setup_intel_compilers.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | IF "%SETUP_IFORT_COMPILER_64%"=="1" GOTO envexist 4 | 5 | set SETUP_IFORT_COMPILER_64=1 6 | 7 | IF DEFINED IFORT_COMPILER14 set IFORT_COMPILER=%IFORT_COMPILER14% 8 | IF DEFINED IFORT_COMPILER15 set IFORT_COMPILER=%IFORT_COMPILER15% 9 | IF DEFINED IFORT_COMPILER16 set IFORT_COMPILER=%IFORT_COMPILER16% 10 | 11 | IF NOT DEFINED IFORT_COMPILER ( 12 | echo "*** Error: Intel compiler environment variable not defined." 13 | ) 14 | IF DEFINED IFORT_COMPILER ( 15 | echo Setting up compiler environment 16 | call "%IFORT_COMPILER%\bin\compilervars" intel64 17 | ) 18 | :envexist 19 | -------------------------------------------------------------------------------- /Utilities/get_time/intel_win_64/make_gettime.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: setup compiler environment 3 | call ..\..\..\Source\CFAST\scripts\setup_intel_compilers.bat intel64 4 | 5 | Title Building make_time for 64 bit Windows 6 | 7 | erase *.obj *.mod 8 | make -f ..\Makefile intel_win_64 9 | pause 10 | 11 | -------------------------------------------------------------------------------- /Utilities/get_time/source/get_time.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main () 5 | { 6 | time_t rawtime; 7 | 8 | time ( &rawtime ); 9 | printf ( "%i", rawtime); 10 | 11 | return 0; 12 | } -------------------------------------------------------------------------------- /Utilities/keyword/contract_file.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: contract keywords Revision, RevisionDate and CompileDate in file 4 | 5 | if "%1" == "" ( 6 | echo usage: contract_file file 7 | echo contract all occurrences of the keywords Revision, 8 | echo RevisionDate and CompileDate in file 9 | goto eof 10 | ) 11 | 12 | set bindir=%~p0 13 | set file=%1 14 | 15 | if NOT exist %file% ( 16 | exit /b 1 17 | ) 18 | 19 | call "%bindir%\contract_keyword" Revision %file% 20 | call "%bindir%\contract_keyword" RevisionDate %file% 21 | call "%bindir%\contract_keyword" CompileDate %file% 22 | 23 | :eof 24 | -------------------------------------------------------------------------------- /Utilities/keyword/contract_file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # contract keywords Revision, RevisionDate and CompileDate in file 4 | 5 | if [ $# -lt 1 ]; then 6 | echo usage: contract_file bindir file 7 | echo contract all occurrences of the keywords Revision, 8 | echo RevisionDate and CompileDate in file 9 | exit 10 | fi 11 | 12 | bindir=$1 13 | file=$2 14 | 15 | if ! [ -e $file ] ; then 16 | exit 17 | fi 18 | 19 | "$bindir/contract_keyword.sh" Revision $file 20 | "$bindir/contract_keyword.sh" RevisionDate $file 21 | "$bindir/contract_keyword.sh" CompileDate $file 22 | -------------------------------------------------------------------------------- /Utilities/keyword/contract_keyword.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: contract keyword located in file 4 | 5 | if "%1" == "" ( 6 | echo usage: contract_keyword keyword file 7 | echo change all occurences of $keyword: .... $ to 8 | echo $keyword: unknown $ in file 9 | goto eof 10 | ) 11 | 12 | set keyword=%1 13 | set file=%2 14 | 15 | if NOT exist %file% ( 16 | exit 1 /b 17 | ) 18 | 19 | sed -e "s/$%keyword%:.*\$/$%keyword%: unknown $/g" %file% | sed "s/$/\r/" > %temp%\temp2.txt 20 | copy %temp%\temp2.txt %file% 1> Nul 2>&1 21 | 22 | :eof -------------------------------------------------------------------------------- /Utilities/keyword/contract_keyword.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # contract keyword located in file 4 | 5 | if [ $# -lt 1 ] ; then 6 | echo usage: contract_keyword keyword file 7 | echo " change all occurences of \$keyword: .... \$ to" 8 | echo " \$keyword: unknown \$ in file" 9 | exit 10 | fi 11 | 12 | keyword=$1 13 | file=$2 14 | 15 | if ! [ -e $file ]; then 16 | exit 17 | fi 18 | 19 | sed -e "s/\\\$$keyword:.*\\\$/\\\$$keyword: unknown \\\$/g" $file > temp_$$.txt 20 | cp temp_$$.txt $file 21 | rm temp_$$.txt 22 | -------------------------------------------------------------------------------- /Utilities/keyword/expand_file.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: expand keywords Revision, RevisionDate and CompileDate in file 4 | 5 | if "%1" == "" ( 6 | echo usage: expand_file dir file 7 | echo expand all occurrences of the keywords Revision, 8 | echo RevisionDate and CompileDate in file using properties 9 | echo of the directory dir 10 | goto eof 11 | ) 12 | 13 | set bindir=%~p0 14 | set dir=%1 15 | set file=%2 16 | 17 | if NOT exist %file% ( 18 | exit /b 1 19 | ) 20 | call "%bindir%\get_repo_properties" %dir% 21 | 22 | call "%bindir%\expand_keyword" Revision %revision% %file% 23 | call "%bindir%\expand_keyword" RevisionDate "%revision_date% %revision_time%" %file% 24 | call "%bindir%\expand_keyword" CompileDate "%build_date% %build_time%" %file% 25 | 26 | :eof 27 | -------------------------------------------------------------------------------- /Utilities/keyword/expand_file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # expand keywords Revision, RevisionDate and CompileDate in file 4 | 5 | if [ $# -lt 1 ] ; then 6 | echo usage: expand_file bindir dir file 7 | echo expand all occurrences of the keywords Revision, 8 | echo RevisionDate and CompileDate in file using properties 9 | echo of the directory dir 10 | exit 11 | fi 12 | 13 | bindir=$1 14 | dir=$2 15 | file=$3 16 | 17 | if ! [ -e $file ] ; then 18 | exit 19 | fi 20 | 21 | source "$bindir/get_repo_properties.sh" $dir 22 | 23 | "$bindir/expand_keyword.sh" Revision $revision $file 24 | "$bindir/expand_keyword.sh" RevisionDate "$revision_date" $file 25 | "$bindir/expand_keyword.sh" CompileDate "$build_date" $file 26 | -------------------------------------------------------------------------------- /Utilities/keyword/expand_keyword.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: expand keyword found in file using newvalue 4 | :: (note that the ~ in %~2 removes surrounding quotes (allowing imbedded blanks in newvalue) 5 | 6 | if "%1" == "" ( 7 | echo usage: expand_keyword keyword newvalue file 8 | echo in file, convert all occurrences of $keyword: .... $ to 9 | echo $keyword: newvalue $ 10 | goto eof 11 | ) 12 | 13 | set keyword=%1 14 | set newvalue=%~2 15 | set file=%3 16 | 17 | if NOT exist %file% ( 18 | exit 1 /b 19 | ) 20 | sed -e "s/$%keyword%:.*\$/$%keyword%: %newvalue% $/g" %file% | sed "s/$/\r/" > %temp%\temp.txt 21 | copy %temp%\temp.txt %file% 1> Nul 2>&1 22 | 23 | :eof -------------------------------------------------------------------------------- /Utilities/keyword/expand_keyword.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # expand keyword found in file using newvalue 4 | # (note that the ~ in %~2 removes surrounding quotes (allowing imbedded blanks in newvalue) 5 | 6 | if [ $# -lt 1 ] ; then 7 | echo "usage: expand_keyword keyword newvalue file" 8 | echo " in file, convert all occurrences of \$keyword: .... $ to" 9 | echo " \$keyword: newvalue \$" 10 | exit 11 | fi 12 | 13 | keyword=$1 14 | newvalue=$2 15 | file=$3 16 | if ! [ -e $file ]; then 17 | exit 18 | fi 19 | sed -e "s/\\\$$keyword:.*\\\$/\\\$$keyword: $newvalue \\\$/g" $file > temp_$$.txt 20 | cp temp_$$.txt $file 21 | rm temp_$$.txt 22 | -------------------------------------------------------------------------------- /Utilities/make_docs.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | echo Make Technical Reference Guide 3 | cd ..\Manuals\Tech_Ref 4 | call make_guide.bat 5 | 6 | echo Make Users Guide 7 | cd ..\Users_Guide 8 | call make_guide.bat 9 | 10 | echo Make Validation Guide 11 | cd ..\Validation_Guide 12 | call make_guide.bat 13 | 14 | echo Make Configuration Guide 15 | cd ..\Configuration_Guide 16 | call make_guide.bat 17 | 18 | cd ..\..\Utilities 19 | 20 | -------------------------------------------------------------------------------- /Utilities/run_everything.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | echo.| time 3 | echo Running validation cases 4 | Title Running Validation Cases 5 | cd ..\Validation 6 | call runall.bat ALL 7 | call runvv.bat 8 | echo Running verification cases 9 | Title Running Verification Cases 10 | cd ..\Verification 11 | call runall.bat ALL 12 | echo Running matlab plotting analysis 13 | cd ..\Utilities\matlab 14 | Title Running Matlab Plotting Analysis 15 | Validation_Script 16 | Verification_Script 17 | echo Creating Documentation 18 | Title Creating Documentation 19 | cd ..\ 20 | call make_docs.bat 21 | echo.| time 22 | 23 | -------------------------------------------------------------------------------- /Utilities/run_validation.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | echo.| time 3 | echo Compiling CFAST 4 | cd ..\Source\CFAST\intel_win_64 5 | del *.obj *.mod *.exe /q 6 | call ..\scripts\setup_intel_compilers.bat intel64 7 | make VPATH="../Source:../Include" INCLUDE="../Include" -f ..\makefile intel_win_64 8 | copy /Y cfast7_win_64.exe ..\..\..\bin\cfast.exe 9 | cd ..\..\..\Utilities 10 | echo Running validation cases 11 | Title Running Validation Cases 12 | cd ..\Validation 13 | call runall.bat ALL 14 | call runadjustments.bat 15 | echo Running matlab plotting analysis 16 | cd ..\Utilities\matlab 17 | Title Running Matlab Plotting Analysis 18 | Validation_Script 19 | cd ..\ 20 | echo.| time 21 | 22 | -------------------------------------------------------------------------------- /Utilities/runbatch/intel_win_64/make_batch.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: setup compiler environment 3 | call ..\..\..\Source\CFAST\scripts\setup_intel_compilers.bat intel64 4 | 5 | set SMV_TESTFLAG= 6 | set SMV_TESTSTRING= 7 | 8 | if "%1" NEQ "-t" goto endif 9 | set SMV_TESTFLAG=-D pp_BETA 10 | set SMV_TESTSTRING=test_ 11 | :endif 12 | 13 | erase *.obj 14 | icl -o runbatch_win_64.exe ..\main.c 15 | 16 | 17 | -------------------------------------------------------------------------------- /Utilities/scripts/email.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set to=%1 3 | set subject=%2 4 | set file=%3 5 | 6 | :: SMTP_xxx variables are predefined environment variables 7 | 8 | set SSL= 9 | if %SMTP_PORT% == 465 ( 10 | set SSL=-ssl 11 | ) 12 | 13 | mailsend -to %to% -from %SMTP_USER_NAME% -smtp %SMTP_SERVER% %SSL% -port %SMTP_PORT% -sub %subject% -attach %file%,text/plain,i -q -auth-plain -user %SMTP_USER_NAME_BASE% 14 | -------------------------------------------------------------------------------- /Utilities/scripts/gethashes.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: get a sha1 hash for every .exe file in the same directory containing arg 4 | 5 | set argdir=%1 6 | 7 | if not exist %argdir% ( 8 | echo "***error: the directory %argdir% does not exist" 9 | exit /b 10 | ) 11 | 12 | set CURDIR=%CD% 13 | 14 | 15 | 16 | cd %argdir% 17 | 18 | for /r %%v in (*.exe) do if exist "%%~nv%%~xv" hashfile "%%~nv%%~xv" 19 | 20 | cd %CURDIR% 21 | -------------------------------------------------------------------------------- /Utilities/scripts/getopts.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: for now only support -d and one non-option parameter (filename) 3 | 4 | :GETOPTS 5 | if /I "%1" EQU "-d" ( 6 | set dir=%2 7 | shift 8 | ) 9 | if /I "%1" EQU "-p" ( 10 | set nprocs=%2 11 | shift 12 | ) 13 | set infile=%1 14 | shift 15 | if not (%1)==() goto GETOPTS 16 | 17 | :: strip extension 18 | for %%f in (%infile%) do ( 19 | set infile=%%~nf 20 | ) 21 | -------------------------------------------------------------------------------- /Utilities/scripts/make_cdata_scripts.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | BASE=$1 3 | BEG=$2 4 | END=$3 5 | OUTFILE=$4 6 | EXT=.in 7 | 8 | export STOPFDSMAXITER=100000 9 | cat << EOF > $OUTFILE 10 | #!/bin/bash 11 | CFAST=$FIREMODELS/cfast/Build/CFAST/intel_linux_64/cfast7_linux_64 12 | 13 | EOF 14 | 15 | rm -f error 16 | for i in `seq $BEG $END`; do 17 | INPUT=$BASE$i$EXT 18 | if [ ! -e $INPUT ]; then 19 | echo "***error: the input file $INPUT does not exist" 20 | error=1 21 | fi 22 | echo \$CFAST $INPUT -V >> $OUTFILE 23 | done 24 | if [ "$error" != "" ]; then 25 | touch error 26 | fi 27 | -------------------------------------------------------------------------------- /Utilities/scripts/md5hash.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set filein=%1 3 | set fileout=%filein%.md5 4 | 5 | call :is_file_installed certutil || exit /b 1 6 | if exist %filein% ( 7 | certutil -hashfile %filein% md5 > %fileout% 8 | ) 9 | goto eof 10 | 11 | :: ------------------------------------------------------------- 12 | :is_file_installed 13 | :: ------------------------------------------------------------- 14 | 15 | set program=%1 16 | %program% --help 1>> file_exist.txt 2>&1 17 | type file_exist.txt | find /i /c "not recognized" > file_exist_count.txt 18 | set /p nothave=&1 | tail -1 | grep "not found" | wc -l` 10 | if [ "$notfound" == "1" ]; then 11 | exit 12 | fi 13 | if [ -e $filein ]; then 14 | $MD5 $filein > $fileout 15 | fi 16 | -------------------------------------------------------------------------------- /Utilities/sh2bat/make_sh2bat.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set arg1=%1 3 | 4 | :: setup compiler environment 5 | if x%arg1% == xbot goto skip1 6 | call ..\..\Build\scripts\setup_intel_compilers.bat intel64 7 | :skip1 8 | 9 | 10 | icl -o sh2bat sh2bat.c 11 | 12 | if x%arg1% == xnopause goto skip2 13 | pause 14 | :skip2 15 | -------------------------------------------------------------------------------- /Utilities/uploads/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Utilities/uploads/.gitignore -------------------------------------------------------------------------------- /Validation/CleanCFAST.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | del *_compartments.csv /s/q >nul 2>&1 3 | del *_devices.csv /s/q >nul 2>&1 4 | del *_masses.csv /s/q >nul 2>&1 5 | del *_vents.csv /s/q >nul 2>&1 6 | del *_walls.csv /s/q >nul 2>&1 7 | del *_calculations.csv /s/q >nul 2>&1 8 | del *_n.csv /s/q >nul 2>&1 9 | del *_s.csv /s/q >nul 2>&1 10 | del *_f.csv /s/q >nul 2>&1 11 | del *_w.csv /s/q >nul 2>&1 12 | del *_m.csv /s/q >nul 2>&1 13 | del *_c.csv /s/q >nul 2>&1 14 | del *_d.csv /s/q >nul 2>&1 15 | del *_git.txt /s/q >nul 2>&1 16 | del *_zone.csv /s/q >nul 2>&1 17 | del *_resid.csv /s/q >nul 2>&1 18 | del *_slab.csv /s/q >nul 2>&1 19 | del *.out /s/q >nul 2>&1 20 | del *.smv /s/q >nul 2>&1 21 | del *.plt /s/q >nul 2>&1 22 | del *.status /s/q >nul 2>&1 23 | del *.log /s/q >nul 2>&1 24 | del *.sf /s/q >nul 2>&1 25 | del *_slice.info /s/q >nul 2>&1 26 | del *.iso /s/q >nul 2>&1 27 | del *.sinfo /s/q >nul 2>&1 28 | del *.err /s/q >nul 2>&1 29 | -------------------------------------------------------------------------------- /Validation/CleanCFAST.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm *_compartments.csv /s/q >nul 2>&1 4 | rm *_devices.csv /s/q >nul 2>&1 5 | rm *_masses.csv /s/q >nul 2>&1 6 | rm *_vents.csv /s/q >nul 2>&1 7 | rm *_walls.csv /s/q >nul 2>&1 8 | rm *_calculations.csv /s/q >nul 2>&1 9 | rm *_n.csv /s/q >nul 2>&1 10 | rm *_s.csv /s/q >nul 2>&1 11 | rm *_f.csv /s/q >nul 2>&1 12 | rm *_w.csv /s/q >nul 2>&1 13 | rm *_m.csv /s/q >nul 2>&1 14 | rm *_c.csv /s/q >nul 2>&1 15 | rm *_d.csv /s/q >nul 2>&1 16 | rm *_git.txt /s/q >nul 2>&1 17 | rm *_zone.csv /s/q >nul 2>&1 18 | rm *_resid.csv /s/q >nul 2>&1 19 | rm *_slab.csv /s/q >nul 2>&1 20 | rm *.out /s/q >nul 2>&1 21 | rm *.smv /s/q >nul 2>&1 22 | rm *.plt /s/q >nul 2>&1 23 | rm *.status /s/q >nul 2>&1 24 | rm *.log /s/q >nul 2>&1 25 | rm *.sf /s/q >nul 2>&1 26 | rm *_slice.info /s/q >nul 2>&1 27 | rm *.iso /s/q >nul 2>&1 28 | rm *.sinfo /s/q >nul 2>&1 29 | rm *.err /s/q >nul 2>&1 30 | -------------------------------------------------------------------------------- /Validation/Cleanall.bat: -------------------------------------------------------------------------------- 1 | echo off 2 | echo Removing old graphics files. Messages can be ignored here. 3 | del ..\Manualss\Validation_Guide\SCRIPT_FIGURES\*.pdf /q /s >nul 2>&1 4 | echo Done removing old and temporary files. -------------------------------------------------------------------------------- /Validation/NIST_Vent_Study/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Validation/NIST_Vent_Study/.gitignore -------------------------------------------------------------------------------- /Validation/README.md: -------------------------------------------------------------------------------- 1 | # CFAST Validation 2 | 3 | The folders above contain the CFAST input files for the CFAST validation suite. These cases are run and processed with each minor release of CFAST. The experimental data is found in another repository [firemodels/exp](https://github.com/firemodels/exp). Publically available test reports may be found [here](https://drive.google.com/drive/folders/0B-EZ4HlrI6VDT2R5SjNFOGtIdTg). 4 | 5 | Detailed instructions for running and processing the validation cases is found in the wiki called [CFASTbot](https://github.com/firemodels/cfast/wiki/CFASTbot). More information on the validation process can be found in the FDS wiki pages (CFAST uses the same process as FDS) [FDS Validation Process](https://github.com/firemodels/fds/wiki/FDS-Validation-Process). -------------------------------------------------------------------------------- /Validation/SP_AST/SP_AST_Test_1.ssf: -------------------------------------------------------------------------------- 1 | RENDERDIR 2 | ..\..\Manuals\Validation_Guide\SCRIPT_FIGURES 3 | XSCENECLIP 4 | 0 -0.003600 0 -0.003600 5 | YSCENECLIP 6 | 0 -0.002400 0 2.402400 7 | ZSCENECLIP 8 | 0 -0.002400 0 2.402400 9 | SCENECLIP 10 | 0 11 | LOADFILE 12 | SP_AST_Test_1_zone.csv 13 | SETTIMEVAL 14 | 600.000000 15 | RENDERONCE 16 | SP_AST_Test_1_600 17 | -------------------------------------------------------------------------------- /Validation/runadjustments.bat: -------------------------------------------------------------------------------- 1 | cd ..\Build\VandV_Calcs\intel_win_64 2 | del *.obj *.mod *.exe /q >nul 3 | call make_vv.bat bot 4 | copy VandV_Calcs_win_64.exe ..\..\..\Validation\VandV_Calcs.exe 5 | cd ..\..\..\Validation 6 | 7 | VandV_Calcs.exe CFAST_Pressure_Correction_Inputs.csv 8 | del LLNL_Enclosure\LLNL_pressures.csv /Q 9 | copy pressures.csv LLNL_Enclosure\LLNL_pressures.csv /Y 10 | 11 | VandV_Calcs.exe CFAST_Temperature_Profile_inputs.csv 12 | del Steckler_Compartment\profiles.csv /Q 13 | copy profiles.csv Steckler_Compartment\profiles.csv /Y 14 | 15 | VandV_Calcs.exe CFAST_Heat_Flux_Profile_inputs.csv 16 | del Fleury_Heat_Flux\flux_profiles.csv /Q 17 | copy flux_profiles.csv Fleury_Heat_Flux\flux_profiles.csv /Y 18 | 19 | del VandV_Calcs.exe /q 20 | 21 | -------------------------------------------------------------------------------- /Validation/runvv.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | VandV_Calcs.exe CFAST_Pressure_Correction_Inputs.csv 4 | del LLNL_Enclosure\LLNL_pressures.csv /Q 5 | copy pressures.csv LLNL_Enclosure\LLNL_pressures.csv /Y 6 | 7 | VandV_Calcs.exe CFAST_Temperature_Profile_inputs.csv 8 | del Steckler_Compartment\profiles.csv /Q 9 | copy profiles.csv Steckler_Compartment\profiles.csv /Y 10 | 11 | VandV_Calcs.exe CFAST_Heat_Flux_Profile_inputs.csv 12 | del Fleury_Heat_Flux\flux_profiles.csv /Q 13 | copy flux_profiles.csv Fleury_Heat_Flux\flux_profiles.csv /Y 14 | -------------------------------------------------------------------------------- /Validation/scripts/.valscriptdir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Validation/scripts/.valscriptdir -------------------------------------------------------------------------------- /Validation/scripts/CFAST_Pictures.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $RUNSMV -d SP_AST SP_AST_Test_1.in 4 | -------------------------------------------------------------------------------- /Validation/scripts/checkcfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | call %SVNROOT%\Validation\Scripts\getopts.bat %* 4 | 5 | set fulldir=%BASEDIR%\%dir% 6 | 7 | 8 | set out=%infile%.out 9 | 10 | cd %fulldir% 11 | if exist %out% goto end_of_script 12 | echo ***Error: file %out% not found in %fulldir% 13 | 14 | :end_of_script 15 | -------------------------------------------------------------------------------- /Validation/scripts/erase_stop.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | call %SCRIPT_DIR%\getopts.bat %* 4 | 5 | if exist %dir%\%infile%.stop erase %dir%\%infile%.stop -------------------------------------------------------------------------------- /Validation/scripts/finderrors.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | echo. 4 | echo dassl errors 5 | findstr /D:".." /S "dassl" *.log 6 | echo. 7 | echo snsq errors 8 | findstr /D:".." /S "snsq" *.log 9 | 10 | Rem findstr /D:".." /S "execution" *.log 11 | cd scripts -------------------------------------------------------------------------------- /Validation/scripts/getopts.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | :: for now only support -d and one non-option parameter (filename) 3 | 4 | :GETOPTS 5 | if /I "%1" EQU "-d" ( 6 | set dir=%2 7 | shift 8 | ) 9 | set infile=%1 10 | shift 11 | if not (%1)==() goto GETOPTS 12 | 13 | :: strip extension 14 | for %%f in (%infile%) do ( 15 | set infile_full=%%f 16 | set infile=%%~nf 17 | ) 18 | -------------------------------------------------------------------------------- /Validation/scripts/gettime.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | dir=. 4 | while getopts 'd:' OPTION 5 | do 6 | case $OPTION in 7 | d) 8 | dir="$OPTARG" 9 | ;; 10 | esac 11 | done 12 | shift $(($OPTIND-1)) 13 | 14 | infile=$1 15 | basefile=${infile%.*} 16 | logfile=$basefile.log 17 | 18 | 19 | 20 | fulldir=$BASEDIR/$dir 21 | 22 | if ! [ -d $fulldir ]; then 23 | echo "The directory $fulldir does not exist. Run aborted." 24 | exit 25 | fi 26 | if ! [ -e $fulldir/$logfile ]; then 27 | echo "The log file, $fulldir/$logfile, does not exit. Run aborted." 28 | exit 29 | fi 30 | 31 | time=`grep 'execution time' $fulldir/$logfile | awk '{print $5}'` 32 | steps=`grep 'time steps' $fulldir/$logfile | awk '{print $5}'` 33 | echo "$infile,$time,$steps" 34 | 35 | cd $fulldir 36 | -------------------------------------------------------------------------------- /Validation/scripts/make_stop.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | call %SCRIPT_DIR%\getopts.bat %* 3 | 4 | echo 2 > %dir%\%infile%.stop 5 | -------------------------------------------------------------------------------- /Validation/scripts/runcfast.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | call %SVNROOT%\Validation\Scripts\getopts.bat %* 4 | 5 | set fulldir=%BASEDIR%\%dir% 6 | 7 | 8 | set in=%infile_full% 9 | set out=%infile%.err 10 | set stopfile=%infile%.stop 11 | 12 | cd %fulldir% 13 | echo %in% started 14 | %CFAST% %in% 1> %out% 2>&1 -v 15 | -------------------------------------------------------------------------------- /Validation/scripts/runcfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=$1 3 | infile=$2 4 | 5 | fulldir=$BASEDIR/$dir 6 | stopfile=$fulldir/$infile.stop 7 | 8 | if ! [ -e $CFAST ]; then 9 | echo "The file $CFAST does not exit. Run aborted" 10 | exit 11 | fi 12 | if ! [ -d $fulldir ]; then 13 | echo "The directory $fulldir does not exit. Run aborted." 14 | exit 15 | fi 16 | if ! [ -e $fulldir/$infile.in ]; then 17 | echo "The input file, $fulldir/$infile.in, does not exit. Run aborted." 18 | exit 19 | fi 20 | if [ $STOPFDS ]; then 21 | echo "stopping case: $infile" 22 | touch $fulldir/$stopfile 23 | exit 24 | fi 25 | 26 | cd $fulldir 27 | echo ----------------------------- 28 | echo running $infile in $fulldir 29 | $CFAST $infile -V 30 | echo ----------------------------- 31 | -------------------------------------------------------------------------------- /Validation/scripts/runcfast2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dir=$1 3 | dir2=$2 4 | infile=$3 5 | 6 | fulldir=$BASEDIR/$dir/$dir2 7 | 8 | if ! [ -e $CFAST ]; then 9 | echo "The file $CFAST does not exit. Run aborted" 10 | exit 11 | fi 12 | if ! [ -d $fulldir ]; then 13 | echo "The directory $fulldir does not exit. Run aborted." 14 | exit 15 | fi 16 | if ! [ -e $fulldir/$infile.in ]; then 17 | echo "The input file, $fulldir/$infile.in, does not exit. Run aborted." 18 | exit 19 | fi 20 | cd $fulldir 21 | echo ----------------------------- 22 | echo running $infile in $fulldir 23 | $CFAST $infile -V 24 | echo ----------------------------- 25 | -------------------------------------------------------------------------------- /Validation/scripts/runcfast2q.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | queue=batch 4 | while getopts 'q:' OPTION 5 | do 6 | case $OPTION in 7 | q) 8 | queue="$OPTARG" 9 | ;; 10 | esac 11 | #shift 12 | done 13 | shift $(($OPTIND-1)) 14 | 15 | dir=$1 16 | dir2=$2 17 | infile=$3 18 | 19 | fulldir=$BASEDIR/$dir/$dir2 20 | 21 | echo -------------------------------------------------- 22 | echo running $infile in $fulldir using the $queue queue 23 | $QEXE -q $queue $dir/$dir2 $CFAST $infile /V 24 | echo -------------------------------------------------- 25 | -------------------------------------------------------------------------------- /Validation/scripts/runsmv.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | call %SVNROOT%\Validation\Scripts\getopts.bat %* 4 | 5 | set fulldir=%BASEDIR%\%dir% 6 | 7 | cd %fulldir% 8 | echo fulldir=%fulldir% 9 | echo infile=%infile% 10 | echo smokeview=%SMOKEVIEW% 11 | %SMOKEVIEW% -runscript %infile% 12 | -------------------------------------------------------------------------------- /Verification/Cleanall.bat: -------------------------------------------------------------------------------- 1 | echo off 2 | echo Removing old and temporary files. Messages can be ignored here. 3 | del ..\Manuals\Validation_Guide\SCRIPT_FIGURES\Verification\*.pdf /q >nul 4 | echo Done removing old and temporary files. -------------------------------------------------------------------------------- /Verification/Energy_Balance/sealed_test.csv: -------------------------------------------------------------------------------- 1 | Time,ULT,PRS 2 | 0,20,0 3 | 60,75.26897155,19200 4 | 120,130.449315,38400 5 | 180,185.5412434,57600 6 | 240,240.544969,76800 7 | 300,295.4607036,96000 8 | 360,350.288658,115200 9 | 420,405.0290426,134400 10 | 480,459.682067,153600 11 | 540,514.2479402,172800 12 | 600,568.7268704,192000 13 | 660,623.1190654,211200 14 | 720,677.424732,230400 15 | 780,731.6440766,249600 16 | 840,785.7773048,268800 17 | 900,839.8246216,288000 18 | -------------------------------------------------------------------------------- /Verification/Energy_Balance/sealed_test.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 900 PRINT = 50 SMOKEVIEW = 10 SPREADSHEET = 10 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. / 7 | 8 | !! Compartments 9 | &COMP ID = 'Compartment 1' 10 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 SHAFT = .TRUE. 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 13 | 14 | !! Fires 15 | &FIRE ID = '100 kW' COMP_ID = 'Compartment 1', FIRE_ID = '100 kW_Fire' LOCATION = 2.5, 2.5 / 16 | &CHEM ID = '100 kW_Fire' CARBON = 1 CHLORINE = 0 HYDROGEN = 4 NITROGEN = 0 OXYGEN = 0 HEAT_OF_COMBUSTION = 50000 RADIATIVE_FRACTION = 0.35 / 17 | &TABL ID = '100 kW_Fire' LABELS = 'TIME', 'HRR' , 'HEIGHT' , 'AREA' , 'CO_YIELD' , 'SOOT_YIELD' , 'HCN_YIELD' , 'HCL_YIELD' , 'TRACE_YIELD' / 18 | &TABL ID = '100 kW_Fire', DATA = 0, 100, 0, 0.3, 0, 0, 0, 0, 0 / 19 | &TABL ID = '100 kW_Fire', DATA = 1800, 100, 0, 0.3, 0, 0, 0, 0, 0 / 20 | 21 | &TAIL / 22 | -------------------------------------------------------------------------------- /Verification/Energy_Balance/sealed_test_2_layers.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 900 PRINT = 50 SMOKEVIEW = 10 SPREADSHEET = 10 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. / 7 | 8 | !! Compartments 9 | &COMP ID = 'Compartment 1' 10 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 13 | 14 | !! Fires 15 | &FIRE ID = '100 kW' COMP_ID = 'Compartment 1', FIRE_ID = '100 kW_Fire' LOCATION = 2.5, 2.5 / 16 | &CHEM ID = '100 kW_Fire' CARBON = 1 CHLORINE = 0 HYDROGEN = 4 NITROGEN = 0 OXYGEN = 0 HEAT_OF_COMBUSTION = 50000 RADIATIVE_FRACTION = 0.35 / 17 | &TABL ID = '100 kW_Fire' LABELS = 'TIME', 'HRR' , 'HEIGHT' , 'AREA' , 'CO_YIELD' , 'SOOT_YIELD' , 'HCN_YIELD' , 'HCL_YIELD' , 'TRACE_YIELD' / 18 | &TABL ID = '100 kW_Fire', DATA = 0, 100, 0, 0.3, 0, 0, 0, 0, 0 / 19 | &TABL ID = '100 kW_Fire', DATA = 1800, 100, 0, 0.3, 0, 0, 0, 0, 0 / 20 | 21 | &TAIL / 22 | -------------------------------------------------------------------------------- /Verification/Mass_Balance/species_mass_1.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'Default example fire for user guide' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 2000 PRINT = 120 SMOKEVIEW = 10 SPREADSHEET = 30 / 5 | &INIT PRESSURE = 101300 RELATIVE_HUMIDITY = 0 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | 7 | !! Compartments 8 | &COMP ID = 'Comp 1' 9 | DEPTH = 5 HEIGHT = 6 WIDTH = 3 10 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 11 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 12 | 13 | !! Fires 14 | &FIRE ID = 'simple burner' COMP_ID = 'Comp 1', FIRE_ID = 'simple burner_Fire' LOCATION = 1.5, 2.5 / 15 | &CHEM ID = 'simple burner_Fire' CARBON = 1 CHLORINE = 0 HYDROGEN = 4 NITROGEN = 0 OXYGEN = 0 HEAT_OF_COMBUSTION = 50000 RADIATIVE_FRACTION = 0 / 16 | &TABL ID = 'simple burner_Fire' LABELS = 'TIME', 'HRR' , 'HEIGHT' , 'AREA' , 'CO_YIELD' , 'SOOT_YIELD' , 'HCN_YIELD' , 'HCL_YIELD' , 'TRACE_YIELD' / 17 | &TABL ID = 'simple burner_Fire', DATA = 0, 0, 0, 0.07069, 0, 0, 0, 0, 0 / 18 | &TABL ID = 'simple burner_Fire', DATA = 30, 1, 0, 0.07069, 0, 0, 0, 0, 0 / 19 | &TABL ID = 'simple burner_Fire', DATA = 330, 1, 0, 0.07069, 0, 0, 0, 0, 0 / 20 | &TABL ID = 'simple burner_Fire', DATA = 360, 0, 0, 0.07069, 0, 0, 0, 0, 0 / 21 | 22 | &TAIL / 23 | -------------------------------------------------------------------------------- /Verification/NRC_Users_Guide/NUREG_1934_Results.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firemodels/cfast/d45935855fafb24b5f0d91ebd1844646187ec300/Verification/NRC_Users_Guide/NUREG_1934_Results.xlsx -------------------------------------------------------------------------------- /Verification/NRC_Users_Guide/run_NRC.bat: -------------------------------------------------------------------------------- 1 | becho off 2 | ..\..\..\Validation\cleanCFAST.bat 3 | echo NRC_Users_Guide_Test_Cases 4 | cd "1_Cabinet_Fire_in_MCR" 5 | echo 1_Cabinet_Fire_in_MCR 6 | "..\..\..\Utilities\for_bundle\Bin\CFAST.exe" "Cabinet_fire_in_MCR" -V 7 | echo 1_Cabinet_Fire_in_MCR_No_Ventilation 8 | "..\..\..\Utilities\for_bundle\Bin\CFAST.exe" "Cabinet_fire_in_MCR_No_Ventilation" -V 9 | cd ..\ 10 | cd "2_Cabinet_Fire_in_Switchgear" 11 | echo 2_Cabinet_Fire_in_Switchgear 12 | "..\..\..\Utilities\for_bundle\Bin\CFAST.exe" "Initial_Fire_Only" -V 13 | "..\..\..\Utilities\for_bundle\Bin\CFAST.exe" "Cabinet_fire_in_Switchgear" -V 14 | cd ..\ 15 | cd "4_MCC_Fire_in_Switchgear" 16 | echo 4_MCC_Fire_in_Switchgear 17 | "..\..\..\Utilities\for_bundle\Bin\CFAST.exe" "MCC_in_Switchgear" -V 18 | cd ..\ 19 | cd "5_Trash_Fire_in_Cable_Spreading_Room" 20 | echo 5_Trash_Fire_in_Cable_Spreading_Room 21 | "..\..\..\Utilities\for_bundle\Bin\CFAST.exe" "Trash_Fire_in_Cable_Spreading_Room" -V 22 | cd ..\ -------------------------------------------------------------------------------- /Verification/README.md: -------------------------------------------------------------------------------- 1 | # CFAST Verification 2 | 3 | The folders above contain the CFAST verification input files that are run daily by the CFASTbot script contained in the repository [firemodels/bot](https://github.com/firemodels/bot). Detailed instructions for running and processing the verification cases are found in the wiki [CFASTBot](https://github.com/firemodels/cfast/wiki/CFASTbot). -------------------------------------------------------------------------------- /Verification/Radiation/radiation_1.csv: -------------------------------------------------------------------------------- 1 | Time,Temp 2 | 0,20 3 | 200,21.57221224 4 | 400,22.59203466 5 | 600,23.23650427 6 | 800,23.62471303 7 | 1000,23.87114903 8 | 1200,24.02064193 9 | 1400,24.11132257 10 | 1600,24.17075928 11 | 1800,24.2046054 12 | 2000,24.22403534 13 | 2200,24.2398757 14 | 2400,24.24990826 15 | 2600,24.25440789 16 | 2800,24.25705806 17 | 3000,24.26131471 18 | 3200,24.26477996 19 | 3400,24.2667553 20 | 3600,24.26758383 21 | 3800,24.26863328 22 | 4000,24.27072416 23 | 4200,24.27263359 24 | 4400,24.27419239 25 | 4600,24.27548177 26 | 4800,24.27682436 27 | 5000,24.27841321 28 | 5200,24.27996064 29 | 5400,24.28142793 30 | 5600,24.28283418 31 | 5800,24.28425422 32 | 6000,24.28573218 33 | 6200,24.28720195 34 | 6400,24.28865573 35 | 6600,24.29009781 36 | 6800,24.29154411 37 | 7000,24.29300342 38 | 7200,24.29446225 39 | 7400,24.29592 40 | 7600,24.29737747 41 | 7800,24.29883674 42 | 8000,24.3002984 43 | 8200,24.30176125 44 | 8400,24.30322622 45 | 8600,24.30469331 46 | 8800,24.30616153 47 | 9000,24.30762972 48 | 9200,24.30909931 49 | 9400,24.31057151 50 | 9600,24.31204615 51 | 9800,24.31352172 52 | 10000,24.31499742 53 | -------------------------------------------------------------------------------- /Verification/Radiation/radiation_2.csv: -------------------------------------------------------------------------------- 1 | Time,rod temp,plate temp,thin plate temp 2 | 0,2.00E+01,2.00E+01,2.00E+01 3 | 60.1,7.96E+01,5.13E+01,3.84E+02 4 | 120,1.35E+02,8.01E+01,4.84E+02 5 | 180,1.86E+02,1.08E+02,4.98E+02 6 | 300,2.76E+02,1.61E+02,5.00E+02 7 | 420,3.47E+02,2.10E+02,5.00E+02 8 | 540,4.00E+02,2.55E+02,5.00E+02 9 | 660,4.36E+02,2.96E+02,5.00E+02 10 | 840,4.69E+02,3.47E+02,5.00E+02 11 | 1020,4.85E+02,3.88E+02,5.00E+02 12 | 1200,4.93E+02,4.20E+02,5.00E+02 13 | 1500,4.98E+02,4.55E+02,5.00E+02 14 | 1800,4.99E+02,4.76E+02,5.00E+02 15 | 2100,5.00E+02,4.87E+02,5.00E+02 16 | 2400,5.00E+02,4.93E+02,5.00E+02 17 | 3000,5.00E+02,4.98E+02,5.00E+02 18 | 3300,5.00E+02,4.99E+02,5.00E+02 19 | 3600,5.00E+02,4.99E+02,5.00E+02 20 | -------------------------------------------------------------------------------- /Verification/Radiation/radiation_3.csv: -------------------------------------------------------------------------------- 1 | X,INCIDENT HEAT FLUX (GAS),INCIDENT HEAT FLUX (WALL),Z,INCIDENT HEAT FLUX (GAS SIDE),INCIDENT HEAT FLUX (WALL SIDE),EMISSIVITY (TOP),HEMISPHERICAL ABSORPTIVITY (TOP),EMISSIVITY (SIDE),HEMISPHERICAL ABSORPTIVITY (SIDE) 2 | 0.09,24.033,24.033,0.125,24.629,24.629,0.424,0.424,0.434,0.434 3 | 0.27,28.322,28.322,0.375,28.972,28.972,0.500,0.500,0.511,0.511 4 | 0.46,29.986,29.986,0.625,30.445,30.445,0.529,0.529,0.537,0.537 5 | 0.64,30.846,30.846,0.875,31.147,31.147,0.544,0.544,0.549,0.549 6 | 0.82,31.226,31.226,1.125,31.470,31.470,0.551,0.551,0.555,0.555 7 | 1,31.351,31.351,1.375,31.666,31.666,0.553,0.553,0.558,0.558 8 | 1.18,31.226,31.226,1.625,31.756,31.756,0.551,0.551,0.560,0.560 9 | 1.36,30.846,30.846,1.875,31.795,31.795,0.544,0.544,0.561,0.561 10 | 1.55,29.986,29.986,2.125,31.795,31.795,0.529,0.529,0.561,0.561 11 | 1.73,28.322,28.322,2.375,31.756,31.756,0.500,0.500,0.560,0.560 12 | 1.91,24.033,24.033,2.625,31.666,31.666,0.424,0.424,0.558,0.558 13 | ,,,2.875,31.470,31.470,,,0.555,0.555 14 | ,,,3.125,31.147,31.147,,,0.549,0.549 15 | ,,,3.375,30.445,30.445,,,0.537,0.537 16 | ,,,3.625,28.972,28.972,,,0.511,0.511 17 | ,,,3.875,24.629,24.629,,,0.434,0.434 18 | -------------------------------------------------------------------------------- /Verification/Radiation/radiation_4.csv: -------------------------------------------------------------------------------- 1 | X,INCIDENT HEAT FLUX (GAS),INCIDENT HEAT FLUX (WALL),Z,INCIDENT HEAT FLUX (GAS SIDE),INCIDENT HEAT FLUX (WALL SIDE),EMISSIVITY (TOP),HEMISPHERICAL ABSORPTIVITY (TOP),EMISSIVITY (SIDE),HEMISPHERICAL ABSORPTIVITY (SIDE) 2 | 0.09,24.03343,2.1019758,0.125,24.628844,2.1580691,0.424,0.593,0.434,0.609 3 | 0.27,28.32207,2.4496966,0.375,28.972349,2.503424,0.500,0.691,0.511,0.706 4 | 0.46,29.98621,2.5733142,0.625,30.444515,2.61092,0.529,0.726,0.537,0.737 5 | 0.64,30.84594,2.6369445,0.875,31.146846,2.6624551,0.544,0.744,0.549,0.751 6 | 0.82,31.22556,2.6640303,1.125,31.470429,2.6851441,0.551,0.752,0.555,0.758 7 | 1,31.35147,2.6735489,1.375,31.66612,2.6988794,0.553,0.754,0.558,0.762 8 | 1.18,31.22556,2.6640303,1.625,31.756183,2.7052982,0.551,0.752,0.560,0.763 9 | 1.36,30.84594,2.6369445,1.875,31.79512,2.7081932,0.544,0.744,0.561,0.764 10 | 1.55,29.98621,2.5733142,2.125,31.79512,2.7081932,0.529,0.726,0.561,0.764 11 | 1.73,28.32207,2.4496966,2.375,31.756183,2.7052982,0.500,0.691,0.560,0.763 12 | 1.91,24.03343,2.1019758,2.625,31.66612,2.6988794,0.424,0.593,0.558,0.762 13 | ,,,2.875,31.470429,2.6851441,,,0.555,0.758 14 | ,,,3.125,31.146846,2.6624551,,,0.549,0.751 15 | ,,,3.375,30.444515,2.61092,,,0.537,0.737 16 | ,,,3.625,28.972349,2.503424,,,0.511,0.706 17 | ,,,3.875,24.628844,2.1580691,,,0.434,0.609 18 | ,,,,,,,,, 19 | ,,,,,,,,, 20 | -------------------------------------------------------------------------------- /Verification/Radiation/radiation_5.csv: -------------------------------------------------------------------------------- 1 | X,INCIDENT HEAT FLUX (GAS),INCIDENT HEAT FLUX (WALL),Z,INCIDENT HEAT FLUX (GAS SIDE),INCIDENT HEAT FLUX (WALL SIDE),EMISSIVITY (TOP),HEMISPHERICAL ABSORPTIVITY (TOP),EMISSIVITY (SIDE),HEMISPHERICAL ABSORPTIVITY (SIDE) 2 | 0.09,24.03343,95.310227,0.125,24.62884,97.358315,0.424,0.332,0.434,0.339 3 | 0.27,28.32207,112.89325,0.375,28.97235,115.58498,0.500,0.393,0.511,0.403 4 | 0.46,29.98621,119.87744,0.625,30.44452,121.87835,0.529,0.418,0.537,0.425 5 | 0.64,30.84594,123.45403,0.875,31.14685,125.01582,0.544,0.430,0.549,0.436 6 | 0.82,31.22556,124.79395,1.125,31.47043,126.78243,0.551,0.435,0.555,0.442 7 | 1,31.35147,125.16314,1.375,31.66612,127.98907,0.553,0.436,0.558,0.446 8 | 1.18,31.22556,124.79395,1.625,31.75618,128.59384,0.551,0.435,0.560,0.448 9 | 1.36,30.84594,123.45403,1.875,31.79512,128.85125,0.544,0.430,0.561,0.449 10 | 1.55,29.98621,119.87744,2.125,31.79512,128.85125,0.529,0.418,0.561,0.449 11 | 1.73,28.32207,112.89325,2.375,31.75618,128.59384,0.500,0.393,0.560,0.448 12 | 1.91,24.03343,95.310227,2.625,31.66612,127.98907,0.424,0.332,0.558,0.446 13 | ,,,2.875,31.47043,126.78243,,,0.555,0.442 14 | ,,,3.125,31.14685,125.01582,,,0.549,0.436 15 | ,,,3.375,30.44452,121.87835,,,0.537,0.425 16 | ,,,3.625,28.97235,115.58498,,,0.511,0.403 17 | ,,,3.875,24.62884,97.358315,,,0.434,0.339 18 | ,,,,,,,,, 19 | ,,,,,,,,, 20 | -------------------------------------------------------------------------------- /Verification/Species/Trace_Species_1.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 200 PRINT = 200 SMOKEVIEW = 0 SPREADSHEET = 1 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 0 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. MAX_TIME_STEP = 0.001 / 7 | 8 | !! Compartments 9 | &COMP ID = 'Room_1' 10 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 SHAFT = .TRUE. 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 13 | 14 | !! Fires 15 | &FIRE ID = 'Methane_Fire' COMP_ID = 'Room_1', FIRE_ID = 'Methane_Fire' LOCATION = 0.5, 0.5 / 16 | &CHEM ID = 'Methane_Fire' CARBON = 1 CHLORINE = 0 HYDROGEN = 4 NITROGEN = 0 OXYGEN = 0 HEAT_OF_COMBUSTION = 50000 RADIATIVE_FRACTION = 0.35 / 17 | &TABL ID = 'Methane_Fire' LABELS = 'TIME', 'HRR' , 'HEIGHT' , 'AREA' , 'CO_YIELD' , 'SOOT_YIELD' , 'HCN_YIELD' , 'HCL_YIELD' , 'TRACE_YIELD' / 18 | &TABL ID = 'Methane_Fire', DATA = 0, 0, 0, 0.09, 0.1, 0, 0, 0, 0.001 / 19 | &TABL ID = 'Methane_Fire', DATA = 1, 5, 0, 0.09, 0.1, 0, 0, 0, 0.001 / 20 | &TABL ID = 'Methane_Fire', DATA = 100, 5, 0, 0.09, 0.1, 0, 0, 0, 0.001 / 21 | &TABL ID = 'Methane_Fire', DATA = 101, 0, 0, 0.09, 0.1, 0, 0, 0, 0.001 / 22 | 23 | &TAIL / 24 | -------------------------------------------------------------------------------- /Verification/Species/heat_tenability.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'Heat Tenability Verification Test' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 900 PRINT = 1 SMOKEVIEW = 15 SPREADSHEET = 1 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 0 INTERIOR_TEMPERATURE = 100 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. MAX_TIME_STEP = 1.9 / 7 | 8 | !! Material Properties 9 | &MATL ID = 'Steel' MATERIAL = 'Steel', 10 | CONDUCTIVITY = 54 DENSITY = 7850 SPECIFIC_HEAT = 0.465, THICKNESS = 0.0015 EMISSIVITY = 0.9 / 11 | 12 | !! Compartments 13 | &COMP ID = 'Comp 1' 14 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 SHAFT = .TRUE. 15 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 16 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 17 | 18 | !! Devices 19 | &DEVC ID = 'Targ 1' COMP_ID = 'Comp 1' LOCATION = 2.5, 2.5, 2.5 TYPE = 'PLATE' MATL_ID = 'Steel' SURFACE_ORIENTATION = 'FLOOR' 20 | TEMPERATURE_DEPTH = 0.00075 DEPTH_UNITS = 'M' / 21 | 22 | &TAIL / 23 | -------------------------------------------------------------------------------- /Verification/Species/methane_flame_simple.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 200 PRINT = 200 SMOKEVIEW = 0 SPREADSHEET = 1 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 0 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. MAX_TIME_STEP = 0.001 / 7 | 8 | !! Compartments 9 | &COMP ID = 'Room_1' 10 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 SHAFT = .TRUE. 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 13 | 14 | !! Fires 15 | &FIRE ID = 'Methane_Fire' COMP_ID = 'Room_1', FIRE_ID = 'Methane_Fire' LOCATION = 0.5, 0.5 / 16 | &CHEM ID = 'Methane_Fire' CARBON = 1 CHLORINE = 0 HYDROGEN = 4 NITROGEN = 0 OXYGEN = 0 HEAT_OF_COMBUSTION = 50000 RADIATIVE_FRACTION = 0.35 / 17 | &TABL ID = 'Methane_Fire' LABELS = 'TIME', 'HRR' , 'HEIGHT' , 'AREA' , 'CO_YIELD' , 'SOOT_YIELD' , 'HCN_YIELD' , 'HCL_YIELD' , 'TRACE_YIELD' / 18 | &TABL ID = 'Methane_Fire', DATA = 0, 0, 0, 0.09, 0, 0, 0, 0, 0 / 19 | &TABL ID = 'Methane_Fire', DATA = 1, 5, 0, 0.09, 0, 0, 0, 0, 0 / 20 | &TABL ID = 'Methane_Fire', DATA = 100, 5, 0, 0.09, 0, 0, 0, 0, 0 / 21 | &TABL ID = 'Methane_Fire', DATA = 101, 0, 0, 0.09, 0, 0, 0, 0, 0 / 22 | 23 | &TAIL / 24 | -------------------------------------------------------------------------------- /Verification/Species/methane_flame_simple_calculated.csv: -------------------------------------------------------------------------------- 1 | Time,mo21,mco21,mco1,mh2o1 2 | 0,0,0,0,0 3 | 15,0.005984291,0.004115135,0,0.003369156 4 | 30,0.011968582,0.008230271,0,0.006738312 5 | 60,0.023937165,0.016460541,0,0.013476624 6 | 75,0.029921456,0.020575676,0,0.01684578 7 | 90,0.035905747,0.024690812,0,0.020214936 8 | 100,0.039894876,0.027433961,0,0.022460815 9 | 100.001,0.039895275,0.027434235,0,0.02246104 10 | 200,0.039895275,0.027434235,0,0.02246104 11 | -------------------------------------------------------------------------------- /Verification/Species/species_test.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'Species Verification Test' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 200 PRINT = 200 SMOKEVIEW = 0 SPREADSHEET = 1 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 0 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. MAX_TIME_STEP = 0.001 / 7 | 8 | !! Compartments 9 | &COMP ID = 'Room_1' 10 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 SHAFT = .TRUE. 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 13 | 14 | !! Fires 15 | &FIRE ID = 'Methane_Fire' COMP_ID = 'Room_1', FIRE_ID = 'Species_Fire' LOCATION = 0.5, 0.5 / 16 | &CHEM ID = 'Species_Fire' CARBON = 12 CHLORINE = 1 HYDROGEN = 9 NITROGEN = 2 OXYGEN = 3 HEAT_OF_COMBUSTION = 10000 RADIATIVE_FRACTION = 0.35 / 17 | &TABL ID = 'Species_Fire' LABELS = 'TIME', 'HRR' , 'HEIGHT' , 'AREA' , 'CO_YIELD' , 'SOOT_YIELD' , 'HCN_YIELD' , 'HCL_YIELD' , 'TRACE_YIELD' / 18 | &TABL ID = 'Species_Fire', DATA = 0, 5, 0, 0.09, 0.063, 0.186, 0.05, 0, 0 / 19 | &TABL ID = 'Species_Fire', DATA = 1, 5, 0, 0.09, 0.063, 0.186, 0.05, 0, 0 / 20 | &TABL ID = 'Species_Fire', DATA = 99.999, 5, 0, 0.09, 0.063, 0.186, 0.05, 0, 0 / 21 | &TABL ID = 'Species_Fire', DATA = 100.001, 0, 0, 0.09, 0.063, 0.186, 0.05, 0, 0 / 22 | &TABL ID = 'Species_Fire', DATA = 200, 0, 0, 0.09, 0.063, 0.186, 0.05, 0, 0 / 23 | 24 | &TAIL / 25 | -------------------------------------------------------------------------------- /Verification/Species/species_test_calculated.csv: -------------------------------------------------------------------------------- 1 | Time,mn2,mo2,mco2,mco,mh2o,mhcl,mhcn,msoot 2 | 0,0,0,0,0,0,0,0,0 3 | 15,0.000599436,0.006793426,0.008500958,0.0004725,0.00191717,0.001033148,0.000375,0.001395 4 | 30,0.001198872,0.013586853,0.017001916,0.000945,0.003834341,0.002066296,0.00075,0.00279 5 | 60,0.002397743,0.027173705,0.034003832,0.00189,0.007668682,0.004132592,0.0015,0.00558 6 | 75,0.002997179,0.033967131,0.04250479,0.0023625,0.009585852,0.00516574,0.001875,0.006975 7 | 90,0.003596615,0.040760558,0.051005748,0.002835,0.011503022,0.006198888,0.00225,0.00837 8 | 99.999,0.003996199,0.045289055,0.056672487,0.003149969,0.012781008,0.006887584,0.002499975,0.009299907 9 | 100.001,0.003996239,0.045289508,0.056673054,0.00315,0.012781136,0.006887653,0.0025,0.0093 10 | 200,0.003996239,0.045289508,0.056673054,0.00315,0.012781136,0.006887653,0.0025,0.0093 11 | -------------------------------------------------------------------------------- /Verification/Species/tenability.csv: -------------------------------------------------------------------------------- 1 | Time,Gas_FED,Heat_FED 2 | 200,6.56E-06,0.000674629 3 | 300,6.56E-06,0.000674629 4 | 400,6.56E-06,0.000674629 5 | 500,6.56E-06,0.000674629 6 | 600,6.56E-06,0.000674629 7 | 700,6.56E-06,0.000674629 8 | 800,6.56E-06,0.000674629 9 | -------------------------------------------------------------------------------- /Verification/Species/trace_calculated.csv: -------------------------------------------------------------------------------- 1 | Time1,Trace1,Time2,Trace2,Time3,Trace3 2 | 0,0.00E+00,101,1.00E-05,101,1.00E-05 3 | 101,1.00E-05,60000,5.00E-06,84000,0.00E+00 4 | 200,1.00E-05,80000,5.00E-06,84000,0.00E+00 5 | -------------------------------------------------------------------------------- /Verification/Sprinkler/sprinkler_1.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 5000 PRINT = 50 SMOKEVIEW = 10 SPREADSHEET = 1 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 0 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. / 7 | 8 | !! Compartments 9 | &COMP ID = 'Comp 1' 10 | DEPTH = 4 HEIGHT = 4 WIDTH = 4 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 13 | 14 | !! Fires 15 | &FIRE ID = 'New Fire' COMP_ID = 'Comp 1', FIRE_ID = 'New Fire_Fire' LOCATION = 2, 2 / 16 | &CHEM ID = 'New Fire_Fire' CARBON = 1 CHLORINE = 0 HYDROGEN = 4 NITROGEN = 0 OXYGEN = 0 HEAT_OF_COMBUSTION = 50000 RADIATIVE_FRACTION = 0.5 / 17 | &TABL ID = 'New Fire_Fire' LABELS = 'TIME', 'HRR' , 'HEIGHT' , 'AREA' , 'CO_YIELD' , 'SOOT_YIELD' , 'HCN_YIELD' , 'HCL_YIELD' , 'TRACE_YIELD' / 18 | &TABL ID = 'New Fire_Fire', DATA = 0, 10, 0, 0.09, 0, 0, 0, 0, 0 / 19 | &TABL ID = 'New Fire_Fire', DATA = 5000, 10, 0, 0.09, 0, 0, 0, 0, 0 / 20 | 21 | !! Devices 22 | &DEVC ID = 'Sprinkler_1' COMP_ID = 'Comp 1' LOCATION = 2, 2, 3.96 TYPE = 'SPRINKLER' SETPOINT = 40, RTI = 100 SPRAY_DENSITY = 7E-05 / 23 | 24 | &TAIL / 25 | -------------------------------------------------------------------------------- /Verification/Target/target_1.csv: -------------------------------------------------------------------------------- 1 | Time,AST 2 | 0,20 3 | 1,74.4734 4 | 2,74.4734 5 | 3,74.4734 6 | 4,74.4734 7 | 5,74.4734 8 | 6,74.4734 9 | 7,74.4734 10 | 8,74.4734 11 | 9,74.4734 12 | 10,74.4734 13 | 11,74.4734 14 | 12,74.4734 15 | 13,74.4734 16 | 14,74.4734 17 | 15,74.4734 18 | 16,74.4734 19 | 17,74.4734 20 | 18,74.4734 21 | 19,74.4734 22 | 20,74.4734 23 | -------------------------------------------------------------------------------- /Verification/Target/target_1.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'ADIABATIC_TARGET_SURFACE_TEMPERATURE_VERIFICIATION_CASE' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 20 PRINT = 1 SMOKEVIEW = 1 SPREADSHEET = 1 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &DIAG ADIABATIC_TARGET_VERIFICATION = 'ON' RADIATIVE_INCIDENT_FLUX = 1/ 7 | 8 | !! Material Properties 9 | &MATL ID = 'ConcreteBE2' MATERIAL = 'Concrete ICFMP BE2', 10 | CONDUCTIVITY = 2 DENSITY = 2300 SPECIFIC_HEAT = 0.9, THICKNESS = 0.15 EMISSIVITY = 0.95 / 11 | &MATL ID = 'TC' MATERIAL = 'Thermocouple (small steel target for plume temp)', 12 | CONDUCTIVITY = 54 DENSITY = 7850 SPECIFIC_HEAT = 0.425, THICKNESS = 0.001 EMISSIVITY = 0.95 / 13 | 14 | !! Compartments 15 | &COMP ID = 'Compartment 1' 16 | DEPTH = 10 HEIGHT = 10 WIDTH = 10 17 | CEILING_MATL_ID = 'ConcreteBE2' CEILING_THICKNESS = 0.15 WALL_MATL_ID = 'ConcreteBE2' WALL_THICKNESS = 0.15 FLOOR_MATL_ID = 'ConcreteBE2' FLOOR_THICKNESS = 0.15 18 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 19 | 20 | !! Devices 21 | &DEVC ID = 'Targ 1' COMP_ID = 'Compartment 1' LOCATION = 5, 5, 5 TYPE = 'PLATE' MATL_ID = 'TC' SURFACE_ORIENTATION = 'FLOOR' 22 | TEMPERATURE_DEPTH = 0.0005 DEPTH_UNITS = 'M' ADIABATIC_TARGET = .TRUE. CONVECTION_COEFFICIENTS = 0.003, 0.005 / 23 | 24 | &TAIL / 25 | -------------------------------------------------------------------------------- /Verification/Target/target_2.csv: -------------------------------------------------------------------------------- 1 | Z,FIRE HEAT FLUX (TARGET) 2 | 4.1,25 3 | 4.2,25 4 | 4.3,25 5 | 4.4,24.86798086 6 | 4.5,15.91550775 7 | 5,3.978876938 8 | 6,0.994719235 9 | 8,0.248679809 10 | -------------------------------------------------------------------------------- /Verification/Thermal_Equilibrium/basic_tempequilib.csv: -------------------------------------------------------------------------------- 1 | Time,ULT,LLT,PRS 2 | 14400,25,25,1728.21 3 | 18000,25,25,1728.21 4 | -------------------------------------------------------------------------------- /Verification/Thermal_Equilibrium/basic_tempequilib.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 80000 PRINT = 10000 SMOKEVIEW = 1000 SPREADSHEET = 1000 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 25 / 6 | 7 | !! Material Properties 8 | &MATL ID = 'GYPSUM' MATERIAL = 'Gypsum Board (5/8 in)', 9 | CONDUCTIVITY = 0.16 DENSITY = 790 SPECIFIC_HEAT = 0.9, THICKNESS = 0.016 EMISSIVITY = 0.9 / 10 | 11 | !! Compartments 12 | &COMP ID = 'Compartment 1' 13 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 14 | CEILING_MATL_ID = 'GYPSUM' CEILING_THICKNESS = 0.016 WALL_MATL_ID = 'GYPSUM' WALL_THICKNESS = 0.016 FLOOR_MATL_ID = 'OFF' 15 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 16 | 17 | &TAIL / 18 | -------------------------------------------------------------------------------- /Verification/Thermal_Equilibrium/basic_tempequilib_window.csv: -------------------------------------------------------------------------------- 1 | Time,ULT,LLT,PRS 2 | 14400,25,25,0 3 | 18000,25,25,0 4 | -------------------------------------------------------------------------------- /Verification/Thermal_Equilibrium/basic_tempequilib_window.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 18000 PRINT = 50 SMOKEVIEW = 10 SPREADSHEET = 10 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 25 / 6 | 7 | !! Material Properties 8 | &MATL ID = 'GYPSUM' MATERIAL = 'Gypsum Board (5/8 in)', 9 | CONDUCTIVITY = 0.16 DENSITY = 790 SPECIFIC_HEAT = 0.9, THICKNESS = 0.016 EMISSIVITY = 0.9 / 10 | 11 | !! Compartments 12 | &COMP ID = 'Compartment 1' 13 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 14 | CEILING_MATL_ID = 'GYPSUM' CEILING_THICKNESS = 0.016 WALL_MATL_ID = 'GYPSUM' WALL_THICKNESS = 0.016 FLOOR_MATL_ID = 'OFF' 15 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 16 | 17 | !! Wall Vents 18 | &VENT TYPE = 'WALL' ID = 'WallVent_1' COMP_IDS = 'Compartment 1' 'OUTSIDE' , BOTTOM = 1.5 HEIGHT = 2, WIDTH = 1 19 | FACE = 'FRONT' OFFSET = 2 / 20 | 21 | &TAIL / 22 | -------------------------------------------------------------------------------- /Verification/Thermal_Equilibrium/basic_tempequilib_window_elevation.csv: -------------------------------------------------------------------------------- 1 | Time,ULT,LLT,PRS 2 | 14400,25,25,0 3 | 18000,25,25,0 4 | -------------------------------------------------------------------------------- /Verification/Thermal_Equilibrium/basic_tempequilib_window_elevation.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 18000 PRINT = 50 SMOKEVIEW = 10 SPREADSHEET = 10 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 25 / 6 | 7 | !! Material Properties 8 | &MATL ID = 'GYPSUM' MATERIAL = 'Gypsum Board (5/8 in)', 9 | CONDUCTIVITY = 0.16 DENSITY = 790 SPECIFIC_HEAT = 0.9, THICKNESS = 0.016 EMISSIVITY = 0.9 / 10 | 11 | !! Compartments 12 | &COMP ID = 'Compartment 1' 13 | DEPTH = 5 HEIGHT = 5 WIDTH = 5 14 | CEILING_MATL_ID = 'GYPSUM' CEILING_THICKNESS = 0.016 WALL_MATL_ID = 'GYPSUM' WALL_THICKNESS = 0.016 FLOOR_MATL_ID = 'OFF' 15 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 16 | 17 | !! Wall Vents 18 | &VENT TYPE = 'WALL' ID = 'WallVent_1' COMP_IDS = 'Compartment 1' 'OUTSIDE' , BOTTOM = 2 HEIGHT = 1, WIDTH = 1 19 | FACE = 'FRONT' OFFSET = 2 / 20 | 21 | &TAIL / 22 | -------------------------------------------------------------------------------- /Verification/Ventilation/Leakage_1.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 3600 PRINT = 60 SMOKEVIEW = 15 SPREADSHEET = 15 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. / 7 | 8 | !! Compartments 9 | &COMP ID = 'Comp 1' 10 | DEPTH = 1 HEIGHT = 1 WIDTH = 1 SHAFT = .TRUE. 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 LEAK_AREA_RATIO = 0.01, 0 / 13 | 14 | !! Mechanical Vents 15 | &VENT TYPE = 'MECHANICAL' ID = 'MechanicalVent_1' COMP_IDS = 'OUTSIDE', 'Comp 1' 16 | AREAS = 0.1, 0.1 HEIGHTS = 0.5, 0.5 FLOW = 0.01 OFFSETS = 0, 0.5 17 | CRITERION = 'TIME' T = 0, 1 F = 0, 1 FILTER_TIME = 0 FILTER_EFFICIENCY = 0 / 18 | 19 | &TAIL / 20 | -------------------------------------------------------------------------------- /Verification/Ventilation/Leakage_2.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 3600 PRINT = 60 SMOKEVIEW = 15 SPREADSHEET = 15 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | &MISC ADIABATIC = .TRUE. / 7 | 8 | !! Compartments 9 | &COMP ID = 'Comp 1' 10 | DEPTH = 1 HEIGHT = 1 WIDTH = 1 SHAFT = .TRUE. 11 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 12 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 LEAK_AREA_RATIO = 0, 0.01 / 13 | 14 | !! Mechanical Vents 15 | &VENT TYPE = 'MECHANICAL' ID = 'MechanicalVent_1' COMP_IDS = 'OUTSIDE', 'Comp 1' 16 | AREAS = 0.1, 0.1 HEIGHTS = 0.5, 0.5 FLOW = 0.01 OFFSETS = 0, 0.5 17 | CRITERION = 'TIME' T = 0, 1 F = 0, 1 FILTER_TIME = 0 FILTER_EFFICIENCY = 0 / 18 | 19 | &TAIL / 20 | -------------------------------------------------------------------------------- /Verification/Ventilation/Leakage_Flow.csv: -------------------------------------------------------------------------------- 1 | Time,MFLOW,P_FLOOR 2 | s,kg/s,Pa 3 | 150,0.012,1.224489796 4 | 300,0.012,1.224489796 5 | 450,0.012,1.224489796 6 | 600,0.012,1.224489796 7 | 750,0.012,1.224489796 8 | 890,0.012,1.224489796 9 | -------------------------------------------------------------------------------- /Verification/Ventilation/VVent_Flow.csv: -------------------------------------------------------------------------------- 1 | Time,MFLOW 2 | s,kg/s 3 | 10,0.119540274 4 | 150,0.119540274 5 | 300,0.119540274 6 | 450,0.119540274 7 | 600,0.119540274 8 | 750,0.119540274 9 | 890,0.119540274 10 | -------------------------------------------------------------------------------- /Verification/Ventilation/surface_opened_fraction_1.csv: -------------------------------------------------------------------------------- 1 | Time,COF_1,UFOF_1,UROF_1,UBOF_1,ULOF_1,LFOF_1,LROF_1,LBOF_1,LLOF_1,FOF_1,COF_2,UFOF_2,UROF_2,UBOF_2,ULOF_2,LFOF_2,LROF_2,LBOF_2,LLOF_2,FOF_2,COF_3,UFOF_3,UROF_3,UBOF_3,ULOF_3,LFOF_3,LROF_3,LBOF_3,LLOF_3,FOF_3 2 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 3 | 0.5,0.05,0.05,0.078125,0.05,0.125,0.025,0.09375,0.025,0.09375,0.025,0,0,0.046875,0,0.125,0,0.1015625,0,0.109375,0.05,0.025,0,0,0,0.09375,0,0,0,0.096875,0 4 | 1,0.1,0.1,0.15625,0.1,0.25,0.05,0.1875,0.05,0.1875,0.05,0,0,0.09375,0,0.25,0,0.203125,0,0.21875,0.1,0.05,0,0,0,0.1875,0,0,0,0.19375,0 5 | -------------------------------------------------------------------------------- /Verification/Ventilation/ventilation_1.csv: -------------------------------------------------------------------------------- 1 | Time,Prs,Pressure 2 | 36000,1.1028,11028 3 | 54000,1.1023,11023 4 | 72000,1.1023,11023 5 | 90000,1.1022,11022 6 | 108000,1.1022,11022 7 | -------------------------------------------------------------------------------- /Verification/Ventilation/ventilation_1.in: -------------------------------------------------------------------------------- 1 | &HEAD VERSION = 7600, TITLE = 'CFAST Simulation' / 2 | 3 | !! Scenario Configuration 4 | &TIME SIMULATION = 108000 PRINT = 100 SMOKEVIEW = 100 SPREADSHEET = 100 / 5 | &INIT PRESSURE = 101325 RELATIVE_HUMIDITY = 50 INTERIOR_TEMPERATURE = 20 EXTERIOR_TEMPERATURE = 20 / 6 | 7 | !! Compartments 8 | &COMP ID = 'Comp 1' 9 | DEPTH = 5 HEIGHT = 3 WIDTH = 5 10 | CEILING_MATL_ID = 'OFF' WALL_MATL_ID = 'OFF' FLOOR_MATL_ID = 'OFF' 11 | ORIGIN = 0, 0, 0 GRID = 50, 50, 50 / 12 | 13 | !! Wall Vents 14 | &VENT TYPE = 'WALL' ID = 'WallVent_1' COMP_IDS = 'Comp 1' 'OUTSIDE' , BOTTOM = 1.495 HEIGHT = 0.00999999999999979, WIDTH = 0.01 15 | FACE = 'RIGHT' OFFSET = 2.5 / 16 | 17 | !! Mechanical Vents 18 | &VENT TYPE = 'MECHANICAL' ID = 'MechanicalVent_1' COMP_IDS = 'OUTSIDE', 'Comp 1' 19 | AREAS = 1, 1 HEIGHTS = 1.5, 1.5 FLOW = 0.01 CUTOFFS = 1000000, 1100000 OFFSETS = 0, 2.5 FILTER_TIME = 0 FILTER_EFFICIENCY = 0 / 20 | 21 | !! Visualizations 22 | &SLCF DOMAIN = '2-D' POSITION = 0, PLANE = 'X' / 23 | 24 | &TAIL / 25 | -------------------------------------------------------------------------------- /Verification/Ventilation/ventilation_2.csv: -------------------------------------------------------------------------------- 1 | Time,ULT_1,LLT_1,ULT_2,LLT_2,ULT_3,LLT_3,ULT_4,LLT_4,PRS_1,PRS_2,PRS_3,PRS_4 2 | 0,20,20,20,20,20,20,20,20,0,0,0,0 3 | 10000,20,20,20,20,20,20,20,20,0,0,0,0 4 | -------------------------------------------------------------------------------- /Verification/scripts/CFAST_Cases.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | $RUNCFAST -d Miscellaneous cfast_test 4 | $RUNCFAST -d Mass_Energy_Balance Base 5 | $RUNCFAST -d Mass_Energy_Balance Added_Mass 6 | -------------------------------------------------------------------------------- /Verification/scripts/Run_CFAST_Cases.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash -f 2 | 3 | # This script runs the FDS Verification Cases on a linux machine with 4 | # a batch queuing system 5 | 6 | CURDIR=`pwd` 7 | cd .. 8 | export SVNROOT=`pwd`/.. 9 | 10 | #export CFASTEXE=$SVNROOT/CFAST/intel_osx_32/cfast6_osx_32 11 | export CFASTEXE=$SVNROOT/CFAST/intel_linux_32/cfast6_linux_32 12 | export CFAST=$CFASTEXE 13 | export RUNCFAST=$SVNROOT/Verification/scripts/runcfast.sh 14 | 15 | export BASEDIR=`pwd` 16 | 17 | echo CFAST cases submitted 18 | scripts/CFAST_Cases.sh 19 | -------------------------------------------------------------------------------- /Verification/scripts/Run_CFAST_cases.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set svn_drive=c: 3 | 4 | set SCRIPT_DIR=%CD% 5 | set BASEDIR=%CD%\.. 6 | set SVNROOT=%BASEDIR%\..\ 7 | set TIME_FILE=%SCRIPT_DIR%\smv_case_times.txt 8 | 9 | set CFASTEXE=%SVNROOT%\CFAST\intel_win_32\cfast6_win_32 10 | set CFAST=%CFASTEXE% 11 | set RUNCFAST=call %SVNROOT%\Verification\scripts\runcfast_win32.bat 12 | 13 | echo You are about to run the CFAST Verification Test Suite. 14 | echo Press any key to proceed, CTRL c to abort 15 | pause > Nul 16 | 17 | echo creating CFAST case list from CFAST_Cases.sh 18 | %userprofile%\FIRE-LOCAL\repo_exes\sh2bat CFAST_Cases.sh CFAST_Cases.bat 19 | 20 | cd %BASEDIR% 21 | 22 | echo "CFAST test cases begin" > %TIME_FILE% 23 | date /t >> %TIME_FILE% 24 | time /t >> %TIME_FILE% 25 | 26 | call %SCRIPT_DIR%\CFAST_Cases.bat 27 | 28 | cd %BASEDIR% 29 | echo "CFAST test cases end" >> %TIME_FILE% 30 | date /t >> %TIME_FILE% 31 | time /t >> %TIME_FILE% 32 | 33 | erase %SCRIPT_DIR%\CFAST_Cases.bat 34 | cd %SCRIPT_DIR% 35 | echo "CFAST cases completed" 36 | 37 | pause 38 | -------------------------------------------------------------------------------- /Verification/scripts/runcfast.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -f 2 | dir=$1 3 | infile=$2 4 | 5 | fulldir=$BASEDIR/$dir 6 | 7 | if ! [ -e $CFAST ]; then 8 | echo "The file $CFAST does not exit. Run aborted" 9 | exit 10 | fi 11 | if ! [ -d $fulldir ]; then 12 | echo "The directory $fulldir does not exit. Run aborted." 13 | exit 14 | fi 15 | if ! [ -e $fulldir/$infile.in ]; then 16 | echo "The input file, $fulldir/$infile.in, does not exit. Run aborted." 17 | exit 18 | fi 19 | cd $fulldir 20 | $CFAST $infile /V 21 | -------------------------------------------------------------------------------- /Verification/scripts/runcfast2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -f 2 | dir=$1 3 | dir2=$2 4 | infile=$3 5 | 6 | fulldir=$BASEDIR/$dir/$dir2 7 | 8 | if ! [ -e $CFAST ]; then 9 | echo "The file $CFAST does not exit. Run aborted" 10 | exit 11 | fi 12 | if ! [ -d $fulldir ]; then 13 | echo "The directory $fulldir does not exit. Run aborted." 14 | exit 15 | fi 16 | if ! [ -e $fulldir/$infile.in ]; then 17 | echo "The input file, $fulldir/$infile.in, does not exit. Run aborted." 18 | exit 19 | fi 20 | cd $fulldir 21 | echo ----------------------------- 22 | echo running $infile in $fulldir 23 | $CFAST $infile /V 24 | echo ----------------------------- 25 | -------------------------------------------------------------------------------- /Verification/scripts/runcfast_win32.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set dir=%1 3 | set infile=%2 4 | 5 | set fulldir=%BASEDIR%/%dir% 6 | 7 | set in=%infile% 8 | set out=%infile%.err 9 | set stopfile=%infile%.stop 10 | 11 | Rem test existence of %CFAST% 12 | 13 | Rem test existence of %fulldir% 14 | 15 | Rem test existence of CFAST input file %fulldir%/%in% 16 | 17 | Rem erase %fulldir%\%stopfile% 18 | 19 | cd %fulldir% 20 | echo ********************** 21 | echo %in% started 22 | echo ********************** 23 | %CFAST% %in% > %out% 24 | echo ********************** 25 | echo %in% completed 26 | echo ********************** 27 | --------------------------------------------------------------------------------