assign_voltage#

Maxwell3d.assign_voltage(assignment, amplitude=1, name=None)[source]#

Assign a voltage source to a list of faces in Maxwell 3D or a list of objects in Maxwell 2D.

Parameters:
assignmentlist

List of faces or objects to assign a voltage source to.

amplitudefloat, optional

Voltage amplitude in mV. The default is 1.

namestr, optional

Name of the boundary. The default is None.

Returns:
pyaedt.modules.Boundary.BoundaryObject

Boundary object. False when failed.

References

>>> oModule.AssignVoltage