Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Referencing to domain numbers in equations

$
0
0

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.


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>