Which Types of Charge Boundary Conditions are Available?#
Date |
Category |
|---|---|
2025-08-26 10:06:59 |
Charge |
There are three boundary conditions available for Charge simulations:
Voltage boundary (VoltageBC), which sets a constant potential and is commonly used to model applied bias.
import tidy3d as td
voltage_source = td.DCVoltageSource(voltage=1)
voltage_bc = td.VoltageBC(source=voltage_source)
Note that the voltage argument can be an list or array, in which case all voltages will be simulated.
Current boundary (CurrentBC), which sets a constant current and is commonly used to model a fixed current source.
import tidy3d as td
current_source = td.DCCurrentSource(current=1)
current_bc = td.CurrentBC(source=current_source)
The current argument must be a float.
Insulating boundary (InsulatingBC), which models an insulating boundary that blocks charge flow.
import tidy3d as td
bc = td.InsulatingBC()
This boundary condition is typically used to simulate surfaces or interfaces that do not allow charge to pass through.