I have a transient thermal script that produces this error
Error using pde.TransientThermalResults (line 56)Solution does not correspond to time-dependent PDE.Error in pde.ThermalModel/solve (line 119) R = pde.TransientThermalResults(self,u,tlist);Error in thermalmodel4 (line 328)result = solve(thermalModelT,tlist);
I believe it may be a problem with my q func?
qFunc = @(region,state) (loadcurrentcurve(state.time)/Vcell).*... ((OCVcurve(SoCcurve(state.time))-Vcurve(SoCcurve(state.time)))+... ((state.u).*dScurve(SoCcurve(state.time))/F));internalHeatSource(thermalModelT,qFunc);
My q function also uses the curve fitting toolbox
Best Answer