tidy3d.VoltageBC#
- class VoltageBC[source]#
Bases:
HeatChargeBCConstant electric potential (voltage) \(= \text{V}\) boundary condition. Sets a potential at the specified boundary.
- Parameters:
source (Union[
DCVoltageSource,SSACVoltageSource,GroundVoltage]) – [units = V]. Electric potential to be applied at the specified boundary.
Notes
In charge simulations it also accepts an array of voltages. In this case, a solution for each of these voltages will be computed.
Example
>>> import tidy3d as td >>> voltage_source = td.DCVoltageSource(voltage=1) >>> voltage_bc = td.VoltageBC(source=voltage_source)
Attributes
- source#