assign_layered_impedance#
- Hfss.assign_layered_impedance(assignment, is_two_side=False, material=None, thickness=None, is_infinite_ground=False, is_shell_element=False, roughness=0.0, height_deviation=0.0, name=None)#
Assign finite conductivity to one or more objects or faces of a given material.
- Parameters:
- assignment
str
orlist
One or more objects or faces to assign finite conductivity to.
- is_two_sidebool,
optional
Whether the finite conductivity is two-sided. The default is
False
.- material
list
orstr
,optional
Material of each layer. The default is
None
.- thickness
float
,optional
Thickness of each layer. The default is
None
.- roughness
int
,float
orstr
,optional
Roughness value with units. The default is
"0um"
.- is_infinite_groundbool,
optional
Whether the finite conductivity is an infinite ground. The default is
False
.- is_shell_elementbool,
optional
Whether the finite conductivity is a shell element. The default is
False
.- height_deviation
float
,int
orstr
,optional
Height standard deviation. This parameter is only valid in SBR+ designs. The default is
0.0
.- name
str
Name of the boundary.
- assignment
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObject
Boundary object.
References
>>> oModule.AssignFiniteCond
Examples
Create two cylinders in the XY working plane and assign a copper coating of 0.2 mm to the inner cylinder and outer face.
>>> 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") >>> outer = hfss.modeler.create_cylinder(hfss.PLANE.XY,origin,4,200,0,"outer") >>> coat = hfss.assign_finite_conductivity(["inner", outer.faces[2].id], "copper", use_thickness=True, ... thickness="0.2mm")