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.
Application Builder:converting cutpoint2D with parametric sweep to COMSOL APP
Posted 15.03.2018, 10:26 GMT-4 Simulation Apps Version 5.3a 0 Replies
Please login with a confirmed email address before reporting spam
Hello, I am using COMSOL 5.3a. I have plot of cut point 2D (2 locations) with parameteric sweep of an input parameter (3 levels). Therefore, I have 6 lines in the plot for each parameter and point combinations. How can I develop 'Method' to convert it to a COMSOL APP. So far, I have this method: String[] stringArray = diff; model.study("std1").feature("param").setIndex("pname", "diff_ch", 0); model.study("std1").feature("param").setIndex("plistarr", stringArray, 0); with(model.result("pg10").feature("ptgr1")); set("legendmethod", "manual"); setIndex("legends", "D="+stringArray[0], 0); setIndex("legends", "D="+stringArray[1], 1); setIndex("legends", "D="+stringArray[2], 2); endwith(); StringArray I declared to take care of parameteric sweep. How to incorporate a method so that I can also see the legends for default cutpoints for respective lines?
Thanks,
Hello K B
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.