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:
- assignment
str
orlist
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_deviation
float
,int
orstr
,optional
Surface height standard deviation. This parameter is only valid in SBR+ designs. The default is
0.0
.- roughness
float
,optional
Surface roughness. This parameter is only valid in SBR+ designs. The default is
0.0
.- name
str
,optional
Name of the boundary. . The default is
None
.
- assignment
- 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])