-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Ion gas transport #552
Ion gas transport #552
Conversation
Codecov Report
@@ Coverage Diff @@
## master #552 +/- ##
==========================================
+ Coverage 64.91% 64.94% +0.03%
==========================================
Files 386 386
Lines 40787 40859 +72
==========================================
+ Hits 26475 26537 +62
- Misses 14312 14322 +10
Continue to review full report at Codecov.
|
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 looks good to me. These are just a couple of minor suggestions.
src/transport/IonGasTransport.cpp
Outdated
vector_fp temp{300.0, 400.0, 500.0, 600.0, 800.0, 1000.0, | ||
1200.0, 1500.0, 2000.0, 2500.0, 3000.0, 4000.0}; | ||
vector_fp om11_O2{120.0, 107.0, 98.1, 92.1, 83.0, 77.0, | ||
72.6, 67.9, 62.7, 59.3, 56.7, 53.8}; |
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.
These arrays can be constant and fixed size, e.g. const double temp[] = {300.0, ...};
src/transport/IonGasTransport.cpp
Outdated
// set up O2/O2- collision integral [A^2] | ||
// Data taken from: | ||
// Prager, Jens. Modeling and simulation of charged species in | ||
// lean methane-oxygen flames. Diss. 2005. Page 104. |
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.
I think the better place to document this (in full) would be in the docstring for the IonTransport
class, so that this information appears in the documentation, then here you can just write that these are from "Prager (2005)".
09f02ae
to
da2820f
Compare
This PR is an update to ionGasTransport. The experimental data of collision integral of O2/O2- is used instead of stockmayer-(n,6,4) model due to resonant charge transfer effect.