assign_perfect_e#

Hfss.assign_perfect_e(assignment, is_infinite_ground=False, height_deviation=0.0, roughness=0.0, name=None)#

Assign perfect electric boundary to one or more objects or faces.

Parameters:
assignmentstr or list

One or more objects or faces to assign finite conductivity to.

is_infinite_groundbool, optional

Whether the boundary is an infinite ground. The default is False.

height_deviationfloat, int or str, optional

Surface height standard deviation. This parameter is only valid in SBR+ designs. The default is 0.0.

roughnessfloat, optional

Surface roughness. This parameter is only valid in SBR+ designs. The default is 0.0.

namestr, optional

Name of the boundary. . The default is None.

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

Boundary object.

References

>>> oModule.PerfectE

Examples

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss()
>>> origin = hfss.modeler.Position(0, 0, 0)
>>> inner = hfss.modeler.create_cylinder(hfss.PLANE.XY, origin,3, 200, 0, "inner")
>>> coat = hfss.assign_perfect_e(["inner", outer.faces[2].id])