Skip to content
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

Issue 3323 - electrode thickness change [m] #3329

Merged
merged 3 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion pybamm/models/submodels/particle_mechanics/base_mechanics.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ def _get_mechanical_results(self, variables):
c_0 = domain_param.c_0
E0 = domain_param.E
nu = domain_param.nu
L0 = domain_param.L
sto_init = pybamm.r_average(domain_param.prim.c_init / domain_param.prim.c_max)
v_change = pybamm.x_average(
eps_s * domain_param.prim.t_change(sto_rav)
) - pybamm.x_average(eps_s * domain_param.prim.t_change(sto_init))

electrode_thickness_change = self.param.n_electrodes_parallel * v_change
electrode_thickness_change = self.param.n_electrodes_parallel * v_change * L0
# Ai2019 eq [10]
disp_surf = Omega * R0 / 3 * (c_s_rav - c_0)
# c0 reference concentration for no deformation
Expand Down