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:
assignmentlist or ansys.aedt.core.modeler.cad.object_3d.Object3d

List of Object3D.

radiusfloat or str

Radius of the spheres. It can be a number or a string with units.

ratiofloat or str

Ratio.

unitsstr, optional

The default is "um".

namestr, optional

The default is "", in which case the default name is used.

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

Source 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,
... )