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.

Optimizing with a complex number

Please login with a confirmed email address before reporting spam

Hello again,
I am currently stuck with the optimizer. I made a forward model to give me the magnetic field, then using the optimizer, I am trying to get the resistivity of my model, by giving it the magnetic feild. The Resistivity is complex, and I can not get the optimizer to give me a complex value back. I found, and checked off, allow complex value output with real input, and split real and complex numbers. The issue is when the solver finishes, I just get my inital value (which is not the same as I used in the forward model) back. Is there something I could be missing here? The model works, and optimizes fine when I use a real resistivity.


0 Replies Last Post 13 mai 2013, 13:45 UTC−4
COMSOL Moderator

Hello Josh Leland

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.