PALM 22.10 version with the temperature fix module for fire experiments.
To control the temperature overshoot and undershoot in PALM, in PALM namelist add:
&temp_fix_parameters
! time start of fire is hard-coded in user_module and temp_fix module
switch_off_module=.FALSE.,
t_min= 291.0, ! minimum temperature allowed in the simulation
t_max= 993.0, ! highest prescribed fire temperature
t_tran = 346.89, ! lowest prescribed fire temperature
/
To prescribe fire heat forcing in PALM:
Save an ASCII file of fire temperature with the same grid configuration as the desired simulation domain (similar to _topo input in PALM) and name it {jobname}_fire_loc
(see example here.
Modify the USER_CODE
provided in user_module.f90.
fire_start_time = 7200.0_wp ! time in seconds when the fire starts
fire_start_z = 1 ! the number of vertical level where the fire profile starts
fire_end_z = 6 ! the number of vertical level where the fire profile ends
fire_start_x = 190 ! the number of grid point along x-axis where the fire profile starts
fire_end_x = 255 ! the number of grid point along x-axis where the fire profile ends
fire_start_y = 220 ! the number of grid point along y-xis where the fire profile starts
fire_end_y = 255 ! the number of grid point along y-xis where the fire profile ends
fire_tt = 993.0_wp ! highest prescribed temperature in K
For PALM to identify the fire input file, modify .palm.iofiles
(see example here):
FIRE_DATA inopt:tr d3#:d3r $base_data/$run_identifier/INPUT _fire_loc*
Use compile.sh
script to compile. You may need to modify the configuration names. Then run PALM as usual.