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 Image may be NSFW.
Clik here to view. 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.