Accretion Module
Used in the flavours of pebble and gas accretion. Calculates the accretion rates.
Important Functions
calc_m_dot()
is called by the planet at each timestep to update the recalculate the accretion rates. This method is overloaded by the child classes (pebbles, gas).
_init_params()
is called by init_accretion() which is called at the final step during the planets initialisation. This function is especially useful to communicate parameter between the modules (see e.g. PebbleAccretion).
remove_mass_from_flux()
is called at the final stage of the timestep. The removal of mass from the disk should be handled in this method.
Important Attributes
attribute |
format |
meaning |
|---|---|---|
|
float |
total sum of the accretion rate |
|
float |
accretion rate onto the atmosphere |
|
float |
accretion rate onto the core |
|
2xM |
accretion rate onto the atmosphere disaggregated into the chemical compositon |
|
2xM |
accretion rate onto the core disaggregated into the chemical compositon |
where M is the number ob molecules in Chemistry.