assign_perfect_h#
- Hfss.assign_perfect_h(assignment, height_deviation=0.0, roughness=0.0, name=None)#
Assign perfect magnetic boundary to one or more objects or faces.
- Parameters:
- assignment
strorlist One or more objects or faces to assign finite conductivity to.
- height_deviation
float,intorstr,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.BoundaryObjectBoundary object.
References
>>> oModule.PerfectH
Examples
>>> from ansys.aedt.core import Hfss >>> from ansys.aedt.core.generic.constants import Plane >>> hfss = Hfss() >>> origin = hfss.modeler.Position(0, 0, 0) >>> inner = hfss.modeler.create_cylinder(Plane.XY, origin, 3, 200, 0, "inner") >>> coat = hfss.assign_perfect_h(["inner", outer.faces[2].id])