assign_blower_type1#
- Icepak.assign_blower_type1(faces, inlet_face, fan_curve_pressure, fan_curve_flow, blower_power='0W', blade_rpm=0, blade_angle='0rad', fan_curve_pressure_unit='n_per_meter_sq', fan_curve_flow_unit='m3_per_s', boundary_name=None)[source]#
Assign blower type 1.
- Parameters:
- faces
list
List of modeler.cad.elements3d.FacePrimitive or of integers containing faces ids.
- inlet_face
modeler.cad.elements3d.FacePrimitive
,int
orlist
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:
pyaedt.modules.Boundary.BoundaryObject
Boundary object when successful or
None
when failed.
References
>>> oModule.AssignBlowerBoundary
Examples
>>> from pyaedt import Icepak >>> ipk = Icepak() >>> cylinder = self.aedtapp.modeler.create_cylinder(cs_axis="X", position=[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])