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.

Does anyone know how to assign spatial-dependent vectorial values to a Control variable field when using Sensitivity Analysis module? In the Sensitivity interface, I can only specify a scalar to the property "Initial value"

Please login with a confirmed email address before reporting spam

Hi,

Does anyone know how to assign spatial-dependent vectorial values to a Control variable field when using Sensitivity Analysis module? In the Sensitivity interface, I can only specify a scalar to the property "Initial value."

Because I am now using the Livelink Matlab to manipulate the Sensitivity module to compute the partial derivative of a scalar objective(OBJ) function with respect to a control variable field ("rho", which is spatial-dependent) defined over a domain, I'd like to get the derivative of the OBJ with respect to an arbitrary control variable field "rho", which should be coordinate(x, y) dependent. However, it seems like in the Sensitivity interface the only way to assign a value to the "rho" is through the "Initial value," which only supports scalar input.

Thanks, Bryant


0 Replies Last Post 23.03.2018, 18:41 GMT-4
COMSOL Moderator

Hello Jinlong Zhu

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.