Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

The DAE is structurally inconsistent error - Comsol with Matlab

$
0
0
Hello guys, I am a beginer in using comsol and matlab.
I redid someone's work who are trying to image an iron ball with Magnetic Induction Tomography (MIT) using COMSOL and MATLAB.
I made a circular MIT system model using magnetic field and electrical circuit physics with COMSOL 4.4 and saved it into .m file.
Then I edited the default script to get a sensitivity matrix and a image. I ran it through COMSOL with MATLAB Livelink. I use MATLAB R2013b
But, I got this error message and I have no idea where and what is the problem.


Error using ichichaa (line 280)
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

The following feature has encountered a problem

The following feature has encountered a problem:

Errors during multiphysics.

The DAE is structurally inconsistent.
- Variables: 5
- Equations: 4
- Feature: Compile Equations: Coil Current Calculation (sol1/st1)


Stack trace:

at com.comsol.clientapi.engine.c.handleException(Unknown Source)

at com.comsol.client.interfaces.f$d.f(Unknown Source)

at com.comsol.client.interfaces.f.a(Unknown Source)

at com.comsol.client.interfaces.f.runAndWait(Unknown Source)

at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)

at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)

at com.comsol.clientapi.impl.SolverSequenceClient.runAll(Unknown Source)

Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

The following feature has encountered a problem:

Errors during multiphysics.

The DAE is structurally inconsistent.
- Variables: 5
- Equations: 4
- Feature: Compile Equations: Coil Current Calculation (sol1/st1)


at com.comsol.clientapi.engine.c.handleException(Unknown Source)

at com.comsol.client.interfaces.f.a(Unknown Source)

at com.comsol.client.interfaces.f.processCommandAnswer(Unknown Source)

... 6 more

Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem:

Errors during multiphysics.

The DAE is structurally inconsistent.
- Variables: 5
- Equations: 4
- Feature: Compile Equations: Coil Current Calculation (sol1/st1)


at com.comsol.solver.SolverOperation.addError(Unknown Source)

at com.comsol.solver.SolverOperation.execute(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl.a(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl.i(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl$23.a(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl$23.execute(Unknown Source)

at com.comsol.model.clientserver.ClientManager$1.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)



Here I attached the edited script (ichichaa.m) and default script (ichichaa_awal.m).
Would you mind to check the script out and help me to solve this problem?
Maybe I have missed something or done something wrong.

I hope I have explained my problem clear enough.
Sorry if my english is hard to understand.

Thanks in advanced
:)

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>