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.

Parametrically disable physics subnodes

Please login with a confirmed email address before reporting spam

Hi, I would like to simulate a magnet with both a linear, and a nonlinear iron yoke. Practically it would be the simplest if it could be done in a parametric step, using a true/false parameter. I could specify the iron material to be nonlinear, and define its BH curve as a function, which returns either mu_r (constant), or the nonlinear response of the material, depending on the above flag. However, in this case the problem is still nonlinear, even if the numerical function happens to return a constant mu_r value, so I assume the machinery would not be able to profit from the linearity, and would run slower. Is there any way to switch between the two cases natively (i.e. use swap between two "Ampere's Law" nodes, one using a linear, the other one using a nonlinear material)? Or any other hint? Thanks


0 Replies Last Post 12.01.2023, 02:58 GMT-5
COMSOL Moderator

Hello Daniel Barna

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.