-
Notifications
You must be signed in to change notification settings - Fork 10
Develop surface reaction #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/rxns/rxn_surface.F90
Outdated
end do | ||
end do | ||
|
||
allocate(this%condensed_data_int(NUM_INT_PROP_ + 2 + 3 * products%size() + & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you leave a comment here and for the following allocate statement on what the constants are (+2 + 3 *)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/rxns/rxn_surface.c
Outdated
|
||
/** \brief Update reaction data for new environmental conditions | ||
* | ||
* For surface reactions this only involves recalculating the rate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't appear to be true for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the comment
src/rxns/rxn_surface.c
Outdated
double *float_data = rxn_float_data; | ||
double *env_data = model_data->grid_cell_env; | ||
|
||
// save the mean free path [m] for calculating condensation rates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is mean speed and not mean free path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the comment
src/util.h
Outdated
@@ -150,4 +161,58 @@ static inline double d_gas_aerosol_rxn_rate_constant_d_radius( | |||
mean_free_path__m, radius__m, alpha)); | |||
} | |||
|
|||
/** Calculate the gas-aerosol reaction rate for the continuum regime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add some sort of citation for the source of this equation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added citation to Tie et al. 2003
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
none!
Adds a surface reaction type for gas phase species:
where X, Y, and Z are gas-phase species and the reaction rate depends on total particle surface area for a given aerosol phase.