-
Notifications
You must be signed in to change notification settings - Fork 631
FDS Verification Process
This is a summary of how to run the FDS Verification cases. These cases are designed to test the functionality and accuracy of various FDS routines. These cases are run and processed with each maintenance release of FDS.
You must run the entire FDS Verification Suite to compile either the FDS Verification or User's Guide. These Guides contain plots and Smokeview pictures that are not committed to the Repository and must be generated after running the cases.
All of the case input files are located in the Verification folder of the FDS Repository. The routines used to automate this process are either shell scripts that are appropriate for a unix or linux operating system or ".bat" files for a Windows/DOS machine. You may need to modify these scripts to conform to your specific environment.
- Git client and an account on GitHub
- Fortran 2008 compliant compiler (You need this only if you are going to run cases)
- Matlab
- LaTeX, preferably PDF-LaTeX.
The process has a number of prerequisite steps:
- Check out the FDS and SMV repositories, or update your current repositories. The instructions can be found at Git User Workflow.
- Compile FDS by running the
make_fds
script in the appropriate folder underBuild
. You may have to modify the automated scripts if the path to your executable is different. - Compile the release version of Smokeview by running the
make_smv
script in the appropriate folder underSMV/Build
. If you cannot compile Smokeview because you lack a C compiler, install the latest version of Smokeview onto your machine. - (Linux/Unix) Make sure that the file in the Verification folder of the Repository called
Run_FDS_Cases.sh
is an exectuable. Otherwise, just type:chmod +x *sh
- (Linux/Unix) Make sure you have the
MPIDIST
environment variable pointing to the folder of the MPI software. An example of necessary .bashrc line could be 'export MPIDIST=/share/apps/openmpi-1.3.2'
- cd to the Verification/scripts/ folder of the Repository.
- (Linux/Unix) Open the text file called
Run_FDS_Cases.sh
and make sure that the various folders and scripts exist. - (Linux/Unix) At the command prompt, type:
./Run_FDS_Cases.sh
. On a Linux or Mac system without queuing software, type:./Run_FDS_Cases.sh -q none
. The utilitybackground
is required when using thenone
queue. To make this utility available, make sure that FDS and Smokeview are installed. - (Windows) Edit
Run_FDS_Cases.bat
and make sure that the various folders and scripts exist. Then typeRun_FDS_Cases
or double-click on the file. - Depending on your system, the cases should run overnight.
Note that there are two steps in processing the output of the Verification Suite: a series of scripted Smokeview sessions to generate the pictures, and a Matlab script to generate the plots included in both the FDS User and Verification Guides.
- cd to the Verification/scripts/ folder of the Repository.
- Type
./Make_FDS_Pictures.sh
(Linux/Unix) or executeMake_FDS_Pictures.bat
(Windows). This should automatically generate the Smokeview pictures. - Start up Matlab and cd to the
Utilities/Matlab
folder of the Repository. - Type:
FDS_verification_script
at the Matlab command prompt.
- cd to
Manuals/FDS_Verification_Guide
and at the command prompt type:./make_guide.sh
- Inspect the various plots and graphs in the Guide for accuracy.
- Repeat the above process for the FDS User Guide.