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.

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 2022/04/23 9:45 GMT-4
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.

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.