Using different extrapolation methods for computing surface concentration with fvm #2940
-
For Lithium-ion Single Partile Model, I am trying to solve with a standard Finite Volume scheme, use third order Hermite extrapolation rather than linear extrapolation to solve for surface concentration (from discrete cell values). Is there a simple way to do this with the existing api? Alternatively could someone point me to the part of the codebase that selects the extrapolation criteria? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
https://github.com/pybamm-team/PyBaMM/blob/develop/pybamm/spatial_methods/finite_volume.py#L813 |
Beta Was this translation helpful? Give feedback.
-
Thank you! Super helpful 👍 |
Beta Was this translation helpful? Give feedback.
https://github.com/pybamm-team/PyBaMM/blob/develop/pybamm/spatial_methods/finite_volume.py#L813