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

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:
com.femlab.jni.FlNativeException: Property solnum out of range
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 =
Initial condition

Error in ==> ssm_evalfc at 34

Error in ==> ess_kernel2 at 906
[val,val_penalty,pena,nlc,include,x] =

Error in ==> main_icef_Tc at 24

Any idea to solve it?

Thank you all in advance.

Best regards


0 Replies Last Post Jan 27, 2011, 6:31 AM EST
COMSOL Moderator

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.

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.