Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
"Failed to find consistent initial values" error from time dependent study
Posted Dec 11, 2023, 7:12 p.m. EST General, Studies & Solvers, Modeling Workflow 3 Replies
Please login with a confirmed email address before reporting spam
Hi guys,
I am new to Comsol so I am guessing this is a newbie bug. What I am trying to do is a time dependent study, so I can simulate the thermomechnical stress in temperature cycling using the fatigue module next. I am basically following the example from comsol "Thermal fatigue of a surface mount resistor", but apply the procedure in my own 3D model. https://www.comsol.com/model/thermal-fatigue-of-a-surface-mount-resistor-16083
So when I tried to calculate the time dependent study, I get the error message like this: "Failed to find consistent initial values. Failed to compute local equation variables. Geometry: geom1, Domain: 13 Failed to evaluate variable. Variable: comp1.solid.eiel11, Defined as: comp1.solid.lemm1.te1.eth11+comp1.solid.lemm1.cmm1.ecl11 Failed to evaluate variable. Variable: comp1.solid.eel11, Defined as: comp1.solid.el11-comp1.solid.eiel11 Failed to evaluate variable. Variable: comp1.solid.sel11, Defined as: ((comp1.solid.D11comp1.solid.eel11)+(comp1.solid.D12comp1.solid.eel22))+(comp1.solid.D13comp1.solid.eel33) Failed to evaluate variable. Variable: comp1.solid.Sel11, Defined as: comp1.solid.sel11 Failed to evaluate variable. Variable: comp1.solid.Sl11, Defined as: comp1.solid.Sel11 Failed to evaluate variable. Variable: comp1.solid.sl11, Defined as: comp1.solid.Sl11 Failed to evaluate variable. Variable: comp1.solid.Wcdr, Defined as: (((((comp1.solid.sl11comp1.solid.lemm1.cmm1.ecRate11)+((2comp1.solid.sl12)comp1.solid.lemm1.cmm1.ecRate12))+((2comp1.solid.sl13)comp1.solid.lemm1.cmm1.ecRate13))+(comp1.solid.sl22comp1.solid.lemm1.cmm1.ecRate22))+((2comp1.solid.sl23)comp1.solid.lemm1.cmm1.ecRate23))+(comp1.solid.sl33comp1.solid.lemm1.cmm1.ecRate33) Failed to evaluate expression. Expression: nojac(comp1.solid.Wcdr) Failed to evaluate expression. Expression: dvol(d(comp1.solid.Wc,TIME)-nojac(comp1.solid.Wcdr)) Failed to evaluate Jacobian of expression. Expression: ((d(comp1.solid.Wc,TIME)-nojac(comp1.solid.Wcdr))test(comp1.solid.Wc))*(dvol) Last time step is not converged."
I am wondering what could lead to this error and what will be a reasonable debug approach. Thank you for your kind assistance!