-
-
Notifications
You must be signed in to change notification settings - Fork 727
BasicDFN2D with variable porosity and active fractions in x and z directions #5266
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
base: develop
Are you sure you want to change the base?
Conversation
… (pybamm-team#5253) Co-authored-by: Valentin Sulzer <valentinsulzer@hotmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5266 +/- ##
===========================================
- Coverage 98.66% 98.64% -0.03%
===========================================
Files 323 323
Lines 28062 28065 +3
===========================================
- Hits 27687 27684 -3
- Misses 375 381 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
aabills
left a comment
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 great, thanks!
|
Thanks @aabills! I'm in a mind to add an example before merging. |
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Example failed due to taking too long. How do I change |
|
It should be the same as the standard models, except that you'll need to add var_pts for both the |
Edited BasicDFN2D to make the porosity and active material fractions into FunctionParameters. However, it doesn't seem to have any effect:
The output is
np.float64(0.05000000120084669), as expected.yields this figure, in which the z-component of the electrolyte flux is zero plus noise.
