assign_blower_type2#

Icepak.assign_blower_type2(faces, inlet_face, fan_curve_pressure, fan_curve_flow, blower_power='0W', exhaust_angle='0rad', fan_curve_pressure_unit='n_per_meter_sq', fan_curve_flow_unit='m3_per_s', boundary_name=None)[source]#

Assign blower type 2.

Parameters:
faceslist

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

inlet_facemodeler.cad.elements3d.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”.

exhaust_anglefloat, optional

Exhaust 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:
pyaedt.modules.Boundary.BoundaryObject

Boundary object when successful or None when failed.

References

>>> oModule.AssignBlowerBoundary

Examples

>>> from pyaedt import Icepak
>>> ipk = Icepak()
>>> box = ipk.modeler.create_box([5, 5, 5],[1, 2, 3],"BlockBoxEmpty","copper")
>>> box.solve_inside=False
>>> blower = self.aedtapp.assign_blower_type2([box.faces[0], box.faces[1]],
>>>                                           [box.faces[0]], [10, 5, 0], [0, 2, 4])