adding fire_update_fuel_frac 1=normal, 2=burner
[wrffire.git] / standalone / README.txt
blob51509f44a294e695ff5d11630b7eaf8faf220b65
1 This directory contains SFIRE (the fire component of wrf-fire) test driver.
2 It links the fire model from the files wrfv2_fire/phys/module_fr_sfire_*.F with the 
3 files in this directory:
5 model_test_main.F       the main program that calls the model
6 wrf_fakes.F             stubs that perform various wrf functions
8 To build the standalone driver, create your own make.inc, or link an existing one, and type make. 
9 This will create file model_test_main.exe, then just execute this file.
11 For more information see http://www.openwfm.org/wiki/How_to_run_the_standalone_fire_model_in_WRF-Fire
13 Keeping the standalone up to date (for programmers)
15 If you get errors about missing configure_flags%something it means that the registry 
16 has changed and the include files need to be updated as follows:
18  - build wrf in the wrf2_fire directory
19  - in this directory: make sync_inc
20  - commit the resulting include files
22 If you still get errors, it means that the standalone fell behind (again) and some hand updating is
23 needed. Let me know.
25 Spread rate calculation interface:
27 The spread rate is computed in module_fr_sfire_phys.F (maybe it should be renamed to 
28 module_fr_sfire_spread.F?). This module defines derived type fire_params which contains only
29 pointers.  The driver declares an object type fire_params and assigns the pointers to 
30 parameter arrays. This object is passed down the call chain to the spread rate calculation.
31 This way, when the parameters passed to the spread rate calculation change, no changes
32 are required in the code between the driver and the spread rate calculation.
34 Jan Mandel
35 June 18, 2010
36 Updated December 22, 2012