Difference between revisions of "Radiative Generic Condensable Specie"
LTeinturier (talk | contribs) (Created page with "== Radiative Generic Condensable Specie == The model can take into account the radiative effects of Generic condensable specie in the radiative transfer. This is only tested f...") |
LTeinturier (talk | contribs) (→Radiative Generic Condensable Specie) |
||
Line 1: | Line 1: | ||
+ | |||
== Radiative Generic Condensable Specie == | == Radiative Generic Condensable Specie == | ||
The model can take into account the radiative effects of Generic condensable specie in the radiative transfer. This is only tested for Hot Jupiter simulations for now. | The model can take into account the radiative effects of Generic condensable specie in the radiative transfer. This is only tested for Hot Jupiter simulations for now. | ||
Line 26: | Line 27: | ||
Needed to switch the order of initialization so we can use the RGCS scheme without the assumption that ice and vap tracer of the same specie are following each other in the traceur.def file | Needed to switch the order of initialization so we can use the RGCS scheme without the assumption that ice and vap tracer of the same specie are following each other in the traceur.def file | ||
All my commits regarding the radiative effects of generic tracers. A lot of changes have been made. I've rebased the branch on the latest revision of master + squashed a lot of commits together to avoid the "avalanche de commits". By default, the scheme is NOT activated. Read above on how to activate it | All my commits regarding the radiative effects of generic tracers. A lot of changes have been made. I've rebased the branch on the latest revision of master + squashed a lot of commits together to avoid the "avalanche de commits". By default, the scheme is NOT activated. Read above on how to activate it | ||
+ | |||
+ | |||
+ | ==Adding stuff on how to really add a specie (because I'm once again stuck even though I coded that) == | ||
+ | |||
+ | go to suaer_corrk. There, need to add the reading of the optical properties file. | ||
+ | |||
+ | Check that in your datadir, the table_tracers_condensable containe the species you wan. You need to have delta_vapH Tref, Pref, mass and metallicity_coeff. | ||
+ | In you have all that, you need your traceur.def with the mmol (actually we do't since it's in the table ? check that because weird), the radius and is_condensable=1, is_Rgcs=1 |
Revision as of 10:50, 2 March 2023
Radiative Generic Condensable Specie
The model can take into account the radiative effects of Generic condensable specie in the radiative transfer. This is only tested for Hot Jupiter simulations for now. Here is just a copy of the merge request to include the code into the master branch. This will need further editing:
We can activate the scheme by putting aerogeneric = # of aerosols in callphys.def. This is the only needed thing for activating the radiative effects. They must be tracer in modern tracer.def
Commented out the abort if we use more than 4 aerosols
Added reading of optprop files for Radiative Generic Condensable Aerosols
We use the same file for IR and VI channel. For now, only MnS, Cr,Fe and Mg2SiO4 can be read. If you want to add another specie, check the code, it is explained how to quickly do that (right above the Initializations)
Added radii calculation for Radiative Generic Condensable aerosols
Changed the hardcoded size of the totalemit array
The hardcoded size is now 1900 instead of 100 so we don't exceed the array size when working at high spectral resolution (very rare case)
Added opacity computation for Radiative Generic Condensable aerosols
We do this computation in the same fashion as what's performed on water and dust.
switch iniaerosol and initracer order, to prepare for the RGCS scheme
Needed to switch the order of initialization so we can use the RGCS scheme without the assumption that ice and vap tracer of the same specie are following each other in the traceur.def file All my commits regarding the radiative effects of generic tracers. A lot of changes have been made. I've rebased the branch on the latest revision of master + squashed a lot of commits together to avoid the "avalanche de commits". By default, the scheme is NOT activated. Read above on how to activate it
Adding stuff on how to really add a specie (because I'm once again stuck even though I coded that)
go to suaer_corrk. There, need to add the reading of the optical properties file.
Check that in your datadir, the table_tracers_condensable containe the species you wan. You need to have delta_vapH Tref, Pref, mass and metallicity_coeff. In you have all that, you need your traceur.def with the mmol (actually we do't since it's in the table ? check that because weird), the radius and is_condensable=1, is_Rgcs=1