-
Notifications
You must be signed in to change notification settings - Fork 1
/
param_lc_lte_kurucz_Model2.lua
54 lines (45 loc) · 1.65 KB
/
param_lc_lte_kurucz_Model2.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
-- param file for running the light curve of a 1D Type Ia-like supernova
-- using LTE and line expansion opacity
-- atomic line data taken from kurucz list ("fuzz")
-- model type and file
grid_type = "grid_1D_sphere"
model_file = "sedona_violent_merger_model2.mod"
hydro_module = "homologous"
-- home directory and atomic data files
sedona_home = os.getenv('SEDONA_HOME')
defaults_file = sedona_home.."/defaults/sedona_defaults.lua"
data_atomic_file = sedona_home.."/data/ASD_atomdata.hdf5"
data_fuzzline_file = sedona_home.."/data/kurucz_cd23_fuzz.hdf5"
-- helper variable
days = 3600.0*24
-- total number of particles used initially
particles_n_initialize = 5e5
-- number of particles emitted per time step from radioactivity
particles_n_emit_radioactive = 5e5
particles_last_iter_pump = 10
-- time start/stop and stepping
tstep_time_start = 2*days
tstep_time_stop = 70*days
tstep_max_dt = 1.0*days
tstep_max_delta = 0.1
-- frequency grid to calculate and store opacities
nu1 = 1e14
nu2 = 2e16
transport_nu_grid = {nu1,nu2,0.0003,1}
-- frequency grid to calculate output spectrum
nu1_spec = nu1*1.1
spectrum_nu_grid = {nu1_spec,nu2,0.002,1}
spectrum_time_grid = {0*days,70*days,1.0*days}
output_time_write = 1*days
output_write_radiation = 1
-- opacity settings
opacity_grey_opacity = 0.0
opacity_epsilon = 1.0
opacity_electron_scattering = 1
opacity_free_free = 1
opacity_bound_bound = 1
opacity_line_expansion = 1
opacity_fuzz_expansion = 1
-- transport settings
transport_steady_iterate = 0
transport_radiative_equilibrium = 1