assign_voltage#

Maxwell3d.assign_voltage(face_list, amplitude=1, name=None)#

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

Parameters:
face_listlist

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.

References

>>> oModule.AssignVoltage