1+ <comment>
2+ problem = cluster
3+
4+ <job>
5+ problem_id = cluster # problem ID: basename of output filenames
6+
7+ <parthenon/output1>
8+ file_type = hst # History data dump
9+ dt = 1e-3 # Time increment between outputs (2.00e+00 Myr)
10+
11+ <parthenon/output2>
12+ file_type = hdf5 # restart data dump
13+ variables = prim, cons # Variables to be output
14+ dt = 0.005 #0.01 # Time increment between outputs (10 Myr)
15+ id = vars
16+
17+
18+
19+ <parthenon/output3>
20+ file_type = rst # Binary data dump
21+ dt = 2 # time increment between outputs
22+ id = restart
23+
24+
25+ <parthenon/time>
26+ cfl = 0.3 # The Courant, Friedrichs, & Lewy (CFL) Number
27+ tlim = 0.06 # time limit (unit Myr)
28+ integrator = rk2 # time integration algorithm
29+ ncycle_out_mesh = -100000
30+
31+
32+ <parthenon/mesh>
33+ refinement = adaptive
34+ numlevel = 13
35+ nghost = 2 #2
36+
37+
38+ nx1 = 64 # Number of zones in X1-direction
39+ x1min =-0.025 # minimum value of X1
40+ x1max = 0.025 # maximum value of X1
41+ ix1_bc = periodic # inner-X1 boundary flag
42+ ox1_bc = periodic # outer-X1 boundary flag
43+
44+ nx2 = 64 # Number of zones in X2-direction
45+ x2min =-0.025 # minimum value of X2
46+ x2max = 0.025 # maximum value of X2
47+ ix2_bc = periodic # inner-X2 boundary flag
48+ ox2_bc = periodic # outer-X2 boundary flag
49+
50+ nx3 = 64 # Number of zones in X3-direction
51+ x3min =-0.025 # minimum value of X3
52+ x3max = 0.025 # maximum value of X3
53+ ix3_bc = periodic # inner-X3 boundary flag
54+ ox3_bc = periodic # outer-X3 boundary flag
55+
56+ <parthenon/meshblock>
57+ nx1 = 8 # Number of zones in X1-direction
58+ nx2 = 8 # Number of zones in X2-direction
59+ nx3 = 8 # Number of zones in X3-direction
60+
61+
62+ <sink>
63+ apply_sink = false
64+
65+ <refinement>
66+ type = cubic
67+ active = false
68+ refinement_width = 0.00000024414 #13
69+
70+
71+ <hydro>
72+ gamma = 1.6666666666666667 # gamma = C_p/C_v
73+ eos = adiabatic
74+ riemann = hllc #hlld
75+ reconstruction = plm
76+ Tfloor = 1.0 #
77+ Tceil = inf # inf K
78+ vceil = inf # inf c
79+ nscalars = 1
80+ dfloor = 1.0e-10
81+ pfloor = 1.0e-18
82+
83+ first_order_flux_correct = True
84+
85+ He_mass_fraction = 0.25
86+
87+ <units>
88+ code_length_cgs = 3.085677580962325e+24 # 1.00e+03 kpc
89+ code_mass_cgs = 1.98841586e+47 # 1.00e+14 Msun
90+ code_time_cgs = 3.15576e+16 # 1.00e+03 Myr
91+
92+ <problem/cluster>
93+ hubble_parameter = 0.0715898515654728 # 7.00e+01 km/(Mpc*s)
94+
95+ <problem/cluster/gravity>
96+ gravity_srcterm = false
97+
98+
99+ include_nfw_g = false
100+ which_bcg_g = HERNQUIST
101+ include_smbh_g = True
102+
103+ c_nfw = 9.5
104+ m_nfw_200 = 0.15 # 1.5e+13 Msun
105+
106+ m_bcg_s = 0.001400000000000000 # 1.40e+11 Msun
107+ r_bcg_s = 0.01 # 10 kpc
108+
109+ m_smbh = 2.8000000000000001e-06 # 2.8e+08 Msun see Randall et al. 2010
110+
111+ g_smoothing_radius = 1e-07 # 1.00e-03 kpc
112+
113+ <problem/cluster/entropy_profile>
114+ k_0 = 0.30e-121 density
115+ k_100 = 6.3e-120
116+ r_k = 0.5
117+ alpha_k = 0.5
118+
119+
120+ <problem/cluster/hydrostatic_equilibrium>
121+ r_fix = 1.8 # 1.80e+03 kpc
122+ rho_fix = 0.00013992470370469507 ###0.00013992470370469507 # 9.47e-29 g/cm**3
123+
124+ r_sampling = 4.0
125+ max_dr = 0.001
126+
127+
128+ <problem/cluster/init_perturb>
129+ sigma_v = 0.0
130+ accel_rms = 5 #10000
131+ k_peak_v = 4
132+ num_modes_v = 64
133+ sol_weight_v = 1.0
134+ t_corr = 30e-3
135+ drive_turbulence = false
136+
137+
138+ <problem/cluster/uniform_b_field>
139+ init_uniform_b_field = false
140+ bx = 0
141+ by = 0
142+ bz = 0
143+
144+ <cooling>
145+ enable_cooling=tabular
146+ table_filename= /leonardo/home/userexternal/fjenning/BlackHoleWeather/athenapk/inputs/cooling_tables/schure.cooling_1.0Z
147+ lambda_units_cgs=1.0 # 1.00e+00 cm**3*erg/s
148+ integrator=rk45
149+ cfl=0.0
150+
151+
152+
153+
154+ <problem/cluster/agn_triggering>
155+ triggering_mode = NONE #COLD_GAS
156+ accretion_radius = 0.004 # 1.00e+00 kpc
157+ cold_temp_thresh= 50000.0 # 5.00e+04 K
158+ cold_t_acc= 0.01 # 1.00e+01 Myr
159+ write_to_file = true
160+ triggering_filename = accretion_rate.log
161+
162+
163+
164+ <problem/cluster/precessing_jet>
165+ jet_theta= 0
166+ jet_phi_dot= 0.0 # 0.00e+00 1/Myr
167+ jet_phi0= 0
168+
169+ <problem/cluster/agn_feedback>
170+ enable_tracer = true
171+ fixed_power = 0.0 # 0.00e+00 erg/s
172+ efficiency = 0.0
173+ magnetic_fraction = 0.0
174+ thermal_fraction = 0.0
175+ kinetic_fraction = 0.0
176+ enable_magnetic_tower_mass_injection = False
177+ Tceil = inf # inf K
178+ vceil = inf # inf c
179+
180+ thermal_radius = 0.0 # 4.00e+00 kpc
181+ kinetic_jet_radius = 0.0 # 2.00e+00 kpc
182+ kinetic_jet_thickness = 0.0 # 7.81e-01 kpc
183+ kinetic_jet_offset = 0.000 # 0.00e+00 kpc
184+ kinetic_jet_temperature = 0.0 # 1.00e+08 K
185+
186+
187+
188+ <problem/cluster/snia_feedback>
189+ power_per_bcg_mass = 0.0015780504379367209 # 9.51e+29 erg/(Msun*s)
190+ mass_rate_per_bcg_mass = 0.00315576 # 1e-19 1/s
191+ disabled = True
192+
193+
194+ <problem/cluster/stellar_feedback>
195+ efficiency = 0.0
196+ stellar_radius = 0.0 # 2.50e+01 kpc
197+ number_density_threshold = 0.0 # 5.00e+01 cm**(-3)
198+ temperature_threshold= 0.0 # 2.00e+04 K
199+
200+ <problem/cluster/clips>
201+ clip_r = 0.02 # 2.00e+01 kpc
202+ dfloor = -1.4775575892787231e+26 # -1.00e+00 g/cm**3
203+ vceil = 15.330069691905884 # 5.00e-02 c
204+ vAceil = 15.330069691905884 # 5.00e-02 c
205+ Tceil = 5000000000.0 # 5.00e+09 K
206+
207+ <problem/cluster/reductions>
208+ cold_temp_thresh= 20000.0 # 2.00e+04 K
209+
210+
211+
212+ <tracers>
213+ enabled = false
214+ initial_seed_method = user #random_per_block #user
215+ seed_cold_gas = false
216+
217+ <tracers/seed_cold_gas>
218+ T_thresh_upper=1e5
219+ T_thresh_lower=1e5
220+
221+ <problem/cluster/tracers>
222+ initial_num_tracers_per_shell= 1000
223+ shell_radii =0.01,0.05,0.1,0.25,0.5
224+
225+ <problem/cluster/metallicity>
226+ vary_metallicity=true
227+ metal_rcore_metallicity=0.3
228+ metal_rcore_radius=10
229+ metal_gradient=0.5
230+ metal_model=peaked_const_gradient
231+ metal_ceil=0.8
232+ solar_table=Asplund_09
233+
234+ <problem/cluster/uniform_gas>
235+ init_uniform_gas = true
236+ rho = 1e-1
237+ ux = 0.
238+ uy = 0.
239+ uz = 0.
240+ pres = 1.456e-2
241+ uniform_gas_dust_to_gas = 1e-2 # 1e-5
242+ min_dt = 0.001
243+
244+
245+ <dust>
246+ active = true
247+ subcycle = false
248+ dust_cool_table_N_Tbins=50
249+ time_integrator = heun
250+ max_dM_in_bin = 1
251+ piecewise_method = loglinear
252+ cooling = Dwek_Werner1981_INTEGRATED
253+ disable_all_gas_cooling_for_testing = true
254+ num_grainsize_bins = 12
255+ grainsize_bins_low_edge = 5e-2
256+ grainsize_bins_high_edge = 0.5
257+ carbonaceous_grains = true
258+ silicate_grains = true
259+ carbonaceous_grain_mass_fraction = 1 ##
260+ silicate_grain_mass_fraction = 1 ##
261+ carbonaceous_grain_density = 2.2 # in g/cm3
262+ silicate_grain_density = 3.3 # in g/cm3
263+ init_profile = const_dtg
264+ init_dtg_mass_ratio = 1e-2 ##5e-6
265+
266+ flat_graindist_in_range_amin_microM = 2e-2
267+ flat_graindist_in_range_amax_microM = 6e-2
268+
269+ init_grainsize_distribution = MRN
270+ flat_single_bin_gs_i_index = 6
271+ metal_accretion = true
272+ thermal_sputtering = true
273+ AGB_winds = false
274+
275+
276+ <dust/AGB_Winds>
277+ gamma_star = -2.5
278+ sigma_AGB = 0.47
279+ Mstar_cent_in_Msun = 1e11
280+ R_upper_in_kpc = 30
281+ AGB_max_radius_in_kpc = 30 ### Only inject dust via AGB within this radius
282+
283+ <dust/AGB_data_table>
284+ silicate_column_indexes_to_sum = 2,3
285+ carbonaceous_column_index = 7
286+ AGB_table_filename = /leonardo/home/userexternal/fjenning/DustBlackHoleWeather/athenapk/src/dust/DellAgli_SolarZ_AGB.txt
287+
288+ <problem/cluster/dust_history>
289+ write_to_file = true
290+ min_radius = 0.001
291+ max_radius = 0.1
292+ num_radial_bins = 5
293+ min_T_kelvin = 1000
294+ max_T_kelvin = 1e9
295+ num_temperature_bins = 5
296+
297+ <problem/cluster/cold_gas_history>
298+ write_to_file = true
299+ min_radius = 0.001
300+ max_radius = 1
301+ num_radial_bins = 20
302+ min_T_kelvin = 1000
303+ max_T_kelvin = 1e11
304+ num_temperature_bins = 20
305+
306+
307+
308+
309+ <problem/cluster/smbh_spin>
310+ smbh_spin_x = 0.0
311+ smbh_spin_y = 0.0
312+ smbh_spin_z = 0.2
313+ spin_update_method = Hybrid #Hybrid, Bardeen1970 or DirectAngularMomentum
314+ enable_bz_power = false
315+
316+ <problem/cluster/micro_feedback>
317+ micro_enable_tracer = true
318+ efficiency = 0.0285
319+ fixed_power = 0.0 # 0.00e+00 erg/s
320+ accretion_rate = 1e-6 # units are in 1e5 Msun/yr
321+ get_accretion_rate = true # if True, using M_dot onto sink
322+ magnetic_fraction = 0.0
323+ thermal_fraction = 0.0
324+ kinetic_fraction = 1.0
325+ enable_magnetic_tower_mass_injection = false
326+ Tceil = inf # inf K
327+ vceil = inf # inf c
328+ disabled = true
329+
330+ thermal_radius = 6 # units cell lenght
331+ kinetic_jet_radius = 3 # units cell lenght
332+ kinetic_jet_thickness = 2 # units cell lenght
333+ kinetic_jet_offset = 5 # units cell lenght
334+ kinetic_jet_temperature = 1.0e8 # units 1 K
335+ mass_loading_factor = 0.9
0 commit comments