Determining the radial dependence of silicates in protoplanetary disks as a part of LEAPS 2022
NumpyMatplotlibPandasMolmassPyvalemAstropy
-
Defaultcontains the input file and output plots for the default configuration of GGchem. -
Jorge_2022contains some scripts to calculate Star1 abundances from the solar abundances as given in Jorge et al. (2022). For example:-
jorge_star_abunds.pycalculates the initial chemical abundances of the elements for the GGchem input file corresponding to Star 1 in Jorge et al. (2022).
-
-
Suncontains the input file, output plots such as the Q-curves, flux maps, spectra and the correlated fluxes, and other files corresponding to the solar GGchem simulation. -
Jorge_2022/Star1contains the input file, output plots and other files corresponding to the Star 1 GGchem simulation (Jorge et al. (2022)). Currently, the output files here are not correct. -
HotStar*contains the input files, star and disk property files, GGchem output file and output plots such as Q-curves, flux maps, spectra and correlated fluxes for a Herbig Ae type star with varying q, p and Qr values to determine the optimal parameters to obtain a well-resolved disk. The default values were taken as$q=-0.75$ ,$p=-1.5$ and$Q_r=-1$ . -
Amorphous_*contains the output plots for a HotStar where for disk temperatures lesser than *K, the opacity values are taken from the amorphous Olivine and Pyroxene opacities. -
Amorphous_Temps_Comparisoncontains the overall flux maps, spectra, spectra with varying radii limits and correlated flux plots for various$T_{am}$ i.e. temperature below which the solids are assumed to be amorphous. These plots are obtained by assuming a single grain size of 0.1$\mu m$ (therefore using the opacity files fromQcurve_inputs) for the disk HD144432. -
Gas_scale_height*contains the output plots assuming the gas scale height formula used to calculate the surface density. This results in very high optical depths of the order$10^8$ . Therefore, some plots are created by multiplying the optical depths with$10^{-6}$ and$10^{-8}$ just to experience what it's like to have the right plots. But of course, all the plots in these folders are wrong. The other folders assume a gas scale height of 1cm. -
Qcurve_inputscontains the opacity files for several crystalline condensates as well as amorphous olivine and pyroxene, assuming a grain size of 0.1$\mu m$ and$f_{max}$ equal to 0.7 or 1.0. The files contain wavelength values$\lambda$ and absorption efficiencies Q. -
Qcurve_inputs_mult_gscontains the opacity files for several crystalline condensates assuming different grain size distributions such as$0.1-1.5 \mu m$ ,$0.1-10 \mu m$ ,$0.1-20 \mu m$ and$0.1-100 \mu m$ . These opacity files are obtained usingoptool, the opacity tool software (Dominik, C. et al (2021)). Currently, the files are only for crystalline condensates. -
Qcurve_Comparisoncontains the Q-curves for the condensates fromQcurve_inputs_mult_gscomparing how the opacities vary with the grain size distribution. -
HD144432contains the star and disk property files, GGchem input and output files and the abundance plot, spectra and correlated fluxes for the disk HD144432, considering multiple grain size distributions (using files fromQcurve_inputs_mult_GS). Currently, it only considers crystalline grains.
The scripts are as follows:
-
all_solids.pyis a small script to obtain all the condensates formed in a GGchem simulation automatically, without the need to input the mineral list. Note that all the condensates obtained may not be plot in the abundance curve since some of them are less than the minimum required abundance. -
compare_Qcurve.pyis used to compare how the opacity curves vary with changing grain size distributions. The outputs of this script are stored inQcurves_Comparison. -
compare_amorf_temps.pyis used to compare how the flux maps, spectra and the correlated fluxes vary with changing the temperature below which the gains are assumed to be amorphous,$T_{am}$ . The outputs of this script are stored inAmorphous_Temps_Comparison. -
T_plot.pyplots the abundance curves for all the indicated condensates with (relatively) clean formatting as a function of temperature. -
diskprop.pycalculates parameters such as temperature, pressure, density, number density for a planet forming disk model as indicated in Jorge et al. (2022) and plots the radial distribution of these parameters. Change the star parameters in this file to obtain the input properties for the GGchem simulation. -
fancy_name.pyis a small script to create LaTeX friendly names of the condensate formulae. -
main.pyis where it all comes together: the output file is loaded, quantities initialized, properties calculated and overall plots created. -
no_thoughts_just_plots.pycontains plotting functions for individual Qcurves, spectral densities, optical depth maps, flux maps and spectra. -
optool_check.pychecks whether the forsterite Qcurve obtained using optool (Dominik, C. et al (2021)) matches the forsterite Qcurve from Suto (2006) with a grain size of$0.1 \mu m$ and$f_{max} = 1.0$ . At the moment, it doesn't really match. -
radial_plot.pyplots the chemical abundances as a function of radius as well as the temperature (on the top axis). -
recreate_spectra.pyis used to plot the spectra and the correlated fluxes for multiple grain size distributions for a disk from van Boekel et al. (2005). Essentially, it is used to corroborate whether my model fits the observations. -
spectra.pycalculates the opacities, flux maps, correlated fluxes, spectra and other dependent quantities. -
top5_minerals.pyfinds the top 5 most abundant condensates at the various radius points. -
surf_dens_involved.pycalculates the dust scale height (and all the relevant properties therein) to see if the flux values improve by considering the dust scale height in the surface density calculations inspectra.pyinstead of the gas scale height. Regrettably, it does not help. Not even a little. -
temp.pyis simply a temporary 'playground' script I use to quickly check something.
This repository is distributed by the GNU General Public Licences v3.0. You can read more about it here.