assign_blower_type1#

Icepak.assign_blower_type1(faces: list, inlet_face: FacePrimitive | int | list, fan_curve_pressure: list, fan_curve_flow: list, blower_power: str | None = '0W', blade_rpm: int | None = 0, blade_angle: str | None = '0rad', fan_curve_pressure_unit: str | None = 'n_per_meter_sq', fan_curve_flow_unit: str | None = 'm3_per_s', boundary_name: str | None = None) BoundaryObject | None#

Assign blower type 1.

Parameters:
faceslist

List of modeler.cad.elements_3d.FacePrimitive or of integers containing faces ids.

inlet_facemodeler.cad.elements_3d.FacePrimitive, int or list

Inlet faces.

fan_curve_pressurelist

List of the fan curve pressure values. Only floats should be included in the list as their unit can be modified with fan_curve_pressure_unit argument.

fan_curve_flowlist

List of the fan curve flow value. Only floats should be included in the list as their unit can be modified with fan_curve_flow_unit argument.

blower_powerstr, optional

blower power expressed as a string containing the value and unit. Default is “0W”.

blade_rpmfloat, optional

Blade RPM value. Default is 0.

blade_anglestr, optional

Blade angle expressed as a string containing value and the unit. Default is “0rad”.

fan_curve_pressure_unitstr, optional

Fan curve pressure unit. Default is “n_per_meter_sq”.

fan_curve_flow_unitstr, optional

Fan curve flow unit. Default is “m3_per_s”.

boundary_namestr, optional

Name of the recirculation boundary. The default is None, in which case the boundary is automatically generated.

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

Boundary object when successful or None when failed.

References

>>> oModule.AssignBlowerBoundary

Examples

>>> from ansys.aedt.core import Icepak
>>> ipk = Icepak()
>>> cylinder = self.aedtapp.modeler.create_cylinder(orientation="X", origin=[0, 0, 0], radius=10, height=1)
>>> curved_face = [f for f in cylinder.faces if not f.is_planar]
>>> planar_faces = [f for f in cylinder.faces if f.is_planar]
>>> cylinder.solve_inside = False
>>> blower = self.aedtapp.assign_blower_type1([f.id for f in curved_face+planar_faces],
>>>                                           [f.id for f in planar_faces], [10, 5, 0], [0, 2, 4])