forked from tardis-sn/tardis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added csvy_model property to base schema.
- Loading branch information
1 parent
153736a
commit 8d90018
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Example YAML configuration for TARDIS | ||
tardis_config_version: v1.0 | ||
|
||
supernova: | ||
luminosity_requested: 8.770 log_lsun | ||
time_explosion: 16 day | ||
distance: 8.32 Mpc | ||
|
||
# standard atomic data base; get it from the tardis-refdata repository | ||
atom_data: /home/mew488/Research/TARDIS/tardis-refdata/atom_data/kurucz_cd23_chianti_H_He.h5 | ||
|
||
csvy_model: csvy_full.csvy | ||
|
||
model: | ||
structure: | ||
#v_inner_boundary: 9500 km/s | ||
type: file | ||
filename: test_density.txt | ||
filetype: simple_ascii | ||
# showing different configuration options separated by comments | ||
# simple uniform | ||
#--------------- | ||
#type: uniform | ||
#value: 1e-40 g/cm^3 | ||
#--------------- | ||
# branch85_w7 - fit of seven order polynomial to W7 (like Branch 85) | ||
#--------------- | ||
#type: branch85_w7 | ||
# default, no need to change | ||
#w7_time_0: 19.9999584 s | ||
# default, no need to change | ||
#w7_rho_0: 3e29 g/cm^3 | ||
#--------------- | ||
|
||
abundances: | ||
type: file | ||
filename: test_abund.dat | ||
filetype: custom_composition | ||
|
||
plasma: | ||
#initial_t_inner: 10000 K | ||
#initial_t_rad: 10000 K | ||
disable_electron_scattering: no | ||
ionization: lte | ||
excitation: lte | ||
# radiative_rates_type - currently supported are dilute-blackbody, detailed and blackbody | ||
radiative_rates_type: dilute-blackbody | ||
# line_interaction_type - currently supported are scatter, downbranch and macroatom | ||
line_interaction_type: macroatom | ||
|
||
montecarlo: | ||
seed: 23111963 | ||
no_of_packets: 4.0e+4 | ||
iterations: 20 | ||
# Number of threads used in OMP mode; uncomment if you want to control the | ||
# OMP behaviour via the config; otherwise the maximum available number of | ||
# threads is used or the number specified in the OMP_NUM_THREADS environment | ||
# variable | ||
# -------- | ||
#nthreads: 1 | ||
|
||
last_no_of_packets: 1.e+5 | ||
no_of_virtual_packets: 10 | ||
|
||
convergence_strategy: | ||
type: damped | ||
damping_constant: 1.0 | ||
threshold: 0.05 | ||
fraction: 0.8 | ||
hold_iterations: 3 | ||
t_inner: | ||
damping_constant: 1.0 | ||
|
||
spectrum: | ||
start: 500 angstrom | ||
stop: 20000 angstrom | ||
num: 10000 |