Modifying the 1D lithium ion battery example from the Application Library: undefined value error

Please login with a confirmed email address before reporting spam

Hi everyone,

I'm starting to model lithium-ion batteries using COMSOL Multiphysics and am struggling to get a hang of the dependencies in the program. I'm trying to expand the Lithium Battery Designer file from the Application Library to reflect the materials in my battery. The cathode is originally described by a material link and I have successfully run the time-dependent voltage profile calculations with NMC111, NMC811 and LCO as the cathode material, but when I attempt to switch it to LFP (which is already included in the material link), I get the following error when I try to compute a new solution:

Undefined value found. - Detail: Undefined value found in the equation residual vector. There are 35 degrees of freedom giving NaN/Inf in the vector for the variable comp1.phil. at coordinates: (0), (4.24239e-06), (8.48479e-06), (1.27272e-05), (1.69696e-05), ...

There are 35 degrees of freedom giving NaN/Inf in the vector for the variable comp1.phis. at coordinates: (0), (4.24239e-06), (8.48479e-06), (1.27272e-05), (1.69696e-05), ...

I cannot find these dependencies on phil and phis in the Materials node for the component, and I do not see them listed in the Global Definitions/Parameters 1 node. Where should I look to solve this issue?



Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.