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.

Error saving fem structure

Please login with a confirmed email address before reporting spam

I switched from COMSOL 3.5. to 3.5.a and have problems to run my old script. A script creating the geometry, initializing the mesh and solving the problem works properly until the progam tries to save the final fem structure.

I would be grateful if anybody could give me hints to solve the problem.

Thanks, Lasse

I get the following eror message:

K>> flsave(filename,fem)

ans =

Java exception occurred:
java.lang.ArrayIndexOutOfBoundsException: -1

at com.femlab.api.server.DrawInfo.set(Unknown Source)

at com.femlab.api.server.XFemImporter.a(Unknown Source)

at com.femlab.api.server.XFemImporter.importXFem(Unknown Source)


??? Error using ==> fem2jxfem at 60
Errors found in FEM structure.

Error in ==> flsave at 114
[xFem,femstr,ntag,tagsntypes]=...



0 Replies Last Post 27.07.2010, 06:44 GMT-4
COMSOL Moderator

Hello Lasse Rabenstein

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.