create_parametric_heatsink_on_face#
- Icepak.create_parametric_heatsink_on_face(top_face, relative=True, hs_basethick=0.1, fin_thick=0.05, fin_length=0.25, fin_height=0.5, draft_angle=0, pattern_angle=10, separation=0.05, column_separation=0.05, symmetric=True, symmetric_separation=0.05, numcolumn_perside=2, material='Al-Extruded')#
Create a parametric heat sink.
- Parameters:
- top_face
modeler.cad.elements_3d.FacePrimitive Face to build the heatsink on.
- relativebool,
optional Whether the dimensions used as arguments of the function are absolute or relative to the width and the height of the top face.
- hs_basethick
float,optional Thickness of the heat sink base. If
relative==True, it is the fraction of thetop_facewidth. The default is0.1.- fin_thick
float,optional - Thickness of the fin. If
relative==True, it is the fraction of the
top_faceheight. The default is0.50.
- Thickness of the fin. If
- fin_length
float,optional Length of the fin. If
relative==True, it is the fraction of thetop_facewidth. The default is0.25.- fin_height
float,optional Height of the fin. If
relative==True, it is the fraction of thetop_faceheight. The default is1.- draft_angle
float,optional Draft angle in degrees. The default is
0.- pattern_angle
float,optional Pattern angle in degrees. The default is
10.- separation
float,optional Separation among the fins of one column. If
relative==True, it is the fraction of thetop_facewidth. The default is0.05.- column_separation
float,optional Separation among columns of fins. If
relative==True, it is the fraction of thetop_faceheight. The default is0.1.- symmetricbool,
optional Whether the heat sink is symmetric. The default is
True.- symmetric_separation
optional Separation between the two sides. If
relative==True, it is the fraction of thetop_faceheight. The default is0.01.- numcolumn_perside
int,optional Number of columns per side. The default is
2.- material
str,optional Name of the material. The default is
Al-Extruded.
- top_face
- Returns:
ansys.aedt.core.modeler.cad.object_3d.Object3dHeatsink created or
Falsewhen failed.dictVariable mapping. Keys are the different parameters names, and values are the corresponding variables names in Icepak.
Examples
>>> from ansys.aedt.core import Icepak >>> ipk = Icepak() >>> box = ipk.modeler.create_box([0, 0, 0], [1, 2, 3]) >>> top_face = box.top_face_z >>> ipk.create_parametric_heatsink_on_face(top_face, material="Al-Extruded")