assign_huray_finitecond_to_edges#
- Q2d.assign_huray_finitecond_to_edges(assignment: list[Object3d] | Object3d, radius: float | str, ratio: float | str, units: str | None = 'um', name: str | None = '') BoundaryObject#
Assign the Huray surface roughness model to edges.
- Parameters:
- assignment
listoransys.aedt.core.modeler.cad.object_3d.Object3d List of Object3D.
- radius
floatorstr Radius of the spheres. It can be a number or a string with units.
- ratio
floatorstr Ratio.
- units
str,optional The default is
"um".- name
str,optional The default is
"", in which case the default name is used.
- assignment
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObjectSource object.
References
>>> oMdoule.AssignFiniteCond
Examples
>>> from ansys.aedt.core.q3d import Q2d >>> q2d = Q2d() >>> rect = q2d.create_rectangle([6, 6], [5, 3], name="Rectangle1", material="Copper") >>> q2d.assign_single_conductor(assignment=rect, solve_option="SolveOnBoundary") >>> q2d.assign_huray_finitecond_to_edges( ... assignment=rect.edges, ... radius=0.5, ... ratio=1.5, ... )