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:
- faces
list List of modeler.cad.elements_3d.FacePrimitive or of integers containing faces ids.
- inlet_face
modeler.cad.elements_3d.FacePrimitive,intorlist Inlet faces.
- fan_curve_pressure
list 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_flow
list 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_power
str,optional blower power expressed as a string containing the value and unit. Default is “0W”.
- blade_rpm
float,optional Blade RPM value. Default is 0.
- blade_angle
str,optional Blade angle expressed as a string containing value and the unit. Default is “0rad”.
- fan_curve_pressure_unit
str,optional Fan curve pressure unit. Default is “n_per_meter_sq”.
- fan_curve_flow_unit
str,optional Fan curve flow unit. Default is “m3_per_s”.
- boundary_name
str,optional Name of the recirculation boundary. The default is
None, in which case the boundary is automatically generated.
- faces
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObjectBoundary object when successful or
Nonewhen 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])