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.
Referencing to domain numbers in equations
Posted 26.06.2020, 07:19 GMT-4 Low-Frequency Electromagnetics, General Version 5.5 2 Replies
Please login with a confirmed email address before reporting spam
Hi
Is there a way to reference to the domain number in equations? That is, I'd like to set the voltage of an Electrostatics terminal to for the electrode that has the domain number 4 etc. The idea is I'd add one voltage terminal, select all my electrodes for it and give it a domain number dependent voltage. It would basically be an array of electrodes connected to a virtual voltage divider.
Now that I wrote the question, it sounds impossible with just 1 terminal added under Electrostatics. Is there any other way around it (other than adding circuits physics and creating an actual voltage divider)? I'm looking for a general solution for an arbitrary number of electrodes, so that I could easily change the number of them with parametrisation. And I'm rather new with COMSOL Multiphysics, as you might have guessed based on my question.