-
Notifications
You must be signed in to change notification settings - Fork 25
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
SurfaceKinetics
BC
#791
SurfaceKinetics
BC
#791
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #791 +/- ##
==========================================
+ Coverage 99.53% 99.55% +0.02%
==========================================
Files 59 61 +2
Lines 2582 2705 +123
==========================================
+ Hits 2570 2693 +123
Misses 12 12 ☔ View full report in Codecov by Sentry. |
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.
Hi @KulaginVladimir thanks so much for this! I think a lot of people will use this new functionality! (ping @ehodille )
Here's a first round of comments on my side
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.
Another round of comments
Right this doesn't occur on main. This is a wild guess but could it be because of the warning block? Does this appear when you compile locally? |
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.
A few more comments
@KulaginVladimir this is very good thank you so much for this AWESOME contribution! This opens up so many possibilities with FESTIM! 🚀 Would you mind attaching to this PR an example script for us to play with, like the Ti validation case or maybe the model from @ehodille ? |
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.
Thanks for this @KulaginVladimir ! We can either add a Theory section in this PR or do it in another one. Either is fine with me.
@RemDelaporteMathurin, I can attach both scripts as there are some differences. Or I can make a separate repository with these cases.
I'd like to add theory and UG in a separate PR to avoid possible conflicts. Is it OK? |
Whatever's easiest for you.
No problem! |
This repository (https://github.com/KulaginVladimir/FESTIM-SurfaceKinetics-Validation) includes all cases that I attempted to reproduce with this surface model. |
Proposed changes
This PR represents the initial attempt on implementing Surface Kinetics feature as a new boundary condition in FESTIM and is aimed at starting the discussion. Additionally, a specific
DerivedQuantity
is introduced to export the surface concentration of H.To-do list:
SurfaceKinetics
BC is set with other BCs on the same surfaceSurfaceKinetics
BC is used not in 1D simulationsAdsorbedHydrogen
is called without settingSurfaceKinetics
on this surface (@RemDelaporteMathurin, is this needed?)Types of changes
What types of changes does your code introduce to FESTIM?
Checklist