Java error running a model in COMSOL 3.5a with MATLAB

Topics: no topics

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   0 Replies   Last post: January 27, 2011 11:31am UTC
Luis Taboada

Luis Taboada

January 27, 2011 11:31am UTC

Java error running a model in COMSOL 3.5a with MATLAB

Hi everyone:

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

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines