Skip to content

Commit

Permalink
Merge pull request #1773 from dion-w/issue-1734-fix-solid-tortuosity
Browse files Browse the repository at this point in the history
solid tau now uses correct bruggeman coeff
  • Loading branch information
brosaplanella authored Dec 2, 2021
2 parents 15992b3 + 203c350 commit 022100a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# [Unreleased](https://github.com/pybamm-team/PyBaMM/) - 2021-12-01

## Bug fixes
- Solid tortuosity is now correctly calculated with Bruggeman coefficient of the respective electrode ([#1773](https://github.com/pybamm-team/PyBaMM/pull/1773))

# [v21.11](https://github.com/pybamm-team/PyBaMM/tree/v21.11) - 2021-11-30

## Features
Expand Down
2 changes: 2 additions & 0 deletions examples/notebooks/parameterization/parameterization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1616,6 +1616,7 @@
" 'Negative electrode active material volume fraction': 0.75,\n",
" 'Negative particle radius [m]': 5.86e-06,\n",
" 'Negative electrode Bruggeman coefficient (electrolyte)': 1.5,\n",
" 'Negative electrode Bruggeman coefficient (electrode)': 1.5,\n",
" 'Negative electrode electrons in reaction': 1.0,\n",
" 'Negative electrode exchange-current density [A.m-2]': graphite_LGM50_electrolyte_exchange_current_density_Chen2020,\n",
" 'Negative electrode OCP entropic change [V.K-1]': 0.0,\n",
Expand All @@ -1626,6 +1627,7 @@
" 'Positive electrode active material volume fraction': 0.665,\n",
" 'Positive particle radius [m]': 5.22e-06,\n",
" 'Positive electrode Bruggeman coefficient (electrolyte)': 1.5,\n",
" 'Positive electrode Bruggeman coefficient (electrode)': 1.5,\n",
" 'Positive electrode electrons in reaction': 1.0,\n",
" 'Positive electrode exchange-current density [A.m-2]': nmc_LGM50_electrolyte_exchange_current_density_Chen2020,\n",
" 'Positive electrode OCP entropic change [V.K-1]': 0.0,\n",
Expand Down
4 changes: 2 additions & 2 deletions pybamm/models/submodels/tortuosity/bruggeman_tortuosity.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ def get_coupled_variables(self, variables):
tor_n = None
else:
eps_n = variables["Negative electrode active material volume fraction"]
tor_n = eps_n ** param.b_e_n
tor_n = eps_n ** param.b_s_n

eps_p = variables["Positive electrode active material volume fraction"]
tor_s = pybamm.FullBroadcast(0, "separator", "current collector")
tor_p = eps_p ** param.b_e_p
tor_p = eps_p ** param.b_s_p

variables.update(
self._get_standard_tortuosity_variables(
Expand Down

0 comments on commit 022100a

Please sign in to comment.