Skip to content

Commit

Permalink
pybamm-team#3200 fix COMSOL example
Browse files Browse the repository at this point in the history
  • Loading branch information
brosaplanella committed Aug 7, 2023
1 parent 26b28fe commit 422eed8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/scripts/compare_comsol/compare_comsol_DFN.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def get_interp_fun(variable_name, domain):

# Create comsol model with dictionary of Matrix variables
comsol_model = pybamm.lithium_ion.BaseModel()
comsol_model.geometry = pybamm_model.default_geometry
comsol_model.variables = {
"Negative particle surface concentration [mol.m-3]": comsol_c_n_surf,
"Electrolyte concentration [mol.m-3]": comsol_c_e,
Expand Down

0 comments on commit 422eed8

Please sign in to comment.