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.
Simple optimization in comsol 5.0
Posted 2015年4月11日 GMT-4 11:17 RF & Microwave Engineering, Modeling Tools & Definitions, Parameters, Variables, & Functions, Results & Visualization, Studies & Solvers Version 5.2 1 Reply
Please login with a confirmed email address before reporting spam
However it keeps giving me an error.
In the attached image you can se how I set it up.
A quick summary:
under definitions I have variables, domain 1, 2, 3 and 4.
In variables I have a variable called ratio1 which is basically domain 1 divided by domain 2.
Now in the optimization I try to maximize this variable ratio1
as parameters I have set 3 parameters which have a upper and lower constrain.
When I run this I get an errror saying:
Error in sweep. Failed to evaluate expression
Or it doesn't change the values I've set under Global->definitions->parameters
Attachments:
Hello Bob van de Voort
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.