solved in comsol but showing error in matlab

Please login with a confirmed email address before reporting spam

this is the error

associated with line ----

model.component('comp1').geom('geom1').feature('ext1').selection('inputface').set('uni1',1);

Error using AREA_CONSTRAINT_bezire (line 130) Java exception occurred: Exception:

com.comsol.util.exceptions.UnexpectedServerException:
java.lang.IllegalArgumentException: Illegal input vector illegal entity
number
(rethrown as com.comsol.util.exceptions.FlException)

Messages:

java.lang.IllegalArgumentException: Illegal input vector illegal entity
number

Stack trace:

at
com.comsol.model.selections.GeomObjectSelectionMethod.a(SourceFile:1502)

at
com.comsol.model.selections.GeomObjectSelectionMethod.a(SourceFile:1426)

at
com.comsol.model.selections.GeomObjectSelectionMethod.set(SourceFile:844)

at
com.comsol.model.selections.GeomObjectSelectionMethod.set(SourceFile:825)

at
com.comsol.model.data.primitive.GeomObjectSelectionPrim.set(SourceFile:320)

at
com.comsol.model.data.primitive.GeomObjectSelectionPrim.set(SourceFile:298)

at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.comsol.bridge.command.b.a(SourceFile:145)

at com.comsol.bridge.command.b.run(SourceFile:90)

at com.comsol.bridge.command.i.execute(SourceFile:46)

at com.comsol.bridge.command.j.d(SourceFile:719)

at com.comsol.bridge.command.j.a(SourceFile:707)

at com.comsol.bridge.command.j$3.a(SourceFile:608)

at com.comsol.bridge.command.j$3.call(SourceFile:1)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

0 Replies Last Post Apr 23, 2022, 9:45 a.m. EDT
COMSOL Moderator

Hello Harsh Kumar

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.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.