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.
Java error running a model in COMSOL 3.5a with MATLAB
Posted 27 gen 2011, 06:31 GMT-5 0 Replies
Please login with a confirmed email address before reporting spam
I am running from a MATLAB script (M-file obtained from COMSOL 3.5a) a 1D model for a freeze-drying model with moving boundary. After several runs (I am running the model with several initial conditions), the following error appears:
??? Java exception occurred:
Exception:
com.femlab.jni.FlNativeException: Property solnum out of range
Messages:
Property solnum out of range
Stack trace:
at xmodel.cpp, row 4104, ()
at com.femlab.xmesh.Xmesh.assemInit(Native Method)
at com.femlab.xmesh.Xmesh.assemInit(Unknown Source)
Error in ==> asseminit at 87
sol = fem.xmesh.assemInit(prop);
Error in ==> icef_bucle_v6 at 470
fem_ini(m).sol =
asseminit(fem_bucle(m),'init',fem_bucle(m).sol,'solnum',[step_bucle]);%
Initial condition
Error in ==> ssm_evalfc at 34
value=feval(fobj,x,varargin{:});
Error in ==> ess_kernel2 at 906
[val,val_penalty,pena,nlc,include,x] =
ssm_evalfc(new_comb(i,:),x_L,x_U,fobj,nconst,c_L,c_U,...
Error in ==> main_icef_Tc at 24
ess_kernel2(problem,opts,rho,Ncontrols);
Any idea to solve it?
Thank you all in advance.
Best regards
Luis
Hello Luis Taboada
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.