Last active
November 5, 2020 12:48
-
-
Save smaret/4c1c64f5eb3f449bd0ab to your computer and use it in GitHub Desktop.
Compute the number of ice monolayers
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"from math import pi\n", | |
"\n", | |
"nh = 4.06e9 # Hydrogen number density\n", | |
"xd = 1.3e-12 # Grain abundance\n", | |
"Ns = 3e15 # Number of sites per cm^-2\n", | |
"rd = 0.1 # Grain radius in microns\n", | |
"\n", | |
"rd *= 1e-4 # microns -> cm" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Let us compute the abundance that corresponds to one ice monolayer. The surface of one monolayer is given by:" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ | |
"monolayer_surface = 4 * pi * rd**2 # cm^2" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"The number of molecules per monolayer is then:" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"mol_per_monolayer = monolayer_surface * Ns" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"In order to get the number of molecules per unit volume (i.e the abundance), we multiply this number by the grain abundance:" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"1.2252211349e-06\n" | |
] | |
} | |
], | |
"source": [ | |
"x_monolayer = mol_per_monolayer * xd\n", | |
"print x_monolayer" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"So one monolayer corresponds to an abundance of 1.2 x 10<sup>-6</sup>. Note that this number does not depend on the hydrogen number density, but only on the grain radius and the grain abundance. Since we measure CO abundances of about 10<sup>-5</sup>, this means that we have about **10 monolayers of CO ices**." | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 2", | |
"language": "python", | |
"name": "python2" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 2 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython2", | |
"version": "2.7.10" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment