create_spiral_lumped_port#

Hfss.create_spiral_lumped_port(assignment, reference, width=None, name=None)#

Create a spiral lumped port between two adjacent objects.

The two objects must have two adjacent, parallel, and identical faces. The faces must be a polygon (not a circle). The closest faces must be aligned with the main planes of the reference system.

Parameters:
assignmentstr or int or ansys.aedt.core.modeler.cad.object_3d.Object3d

First solid connected to the spiral port.

referencestr or int or ansys.aedt.core.modeler.cad.object_3d.Object3d

Second object connected to the spiral port.

widthfloat, optional

Width of the spiral port. If a width is not specified, it is calculated based on the object dimensions. The default is None.

namestr, optional

Port name. The default is None.

Returns:
ansys.aedt.core.modules.boundary.BoundaryObject

Boundary object.

Examples

>>> aedtapp = Hfss()
>>> aedtapp.insert_design("Design_Terminal_2")
>>> aedtapp.solution_type = "Terminal"
>>> box1 = aedtapp.modeler.create_box([-100, -100, 0],[200, 200, 5],name="gnd2z",material="copper")
>>> box2 = aedtapp.modeler.create_box([-100, -100, 20],[200, 200, 25],name="sig2z",material="copper")
>>> aedtapp.modeler.fit_all()
>>> portz = aedtapp.create_spiral_lumped_port(box1,box2)