assign_grille#
- Icepak.assign_grille(air_faces, free_loss_coeff=True, free_area_ratio=0.8, external_temp='AmbientTemp', expternal_pressure='AmbientPressure', x_curve=['0', '1', '2'], y_curve=['0', '1', '2'], boundary_name=None)[source]#
Assign grille to a face or list of faces.
- Parameters:
- air_faces
str
,list
List of face names.
- free_loss_coeffbool
Whether to use the free loss coefficient. The default is
True
. IfFalse
, the free loss coefficient is not used.- free_area_ratio
float
,str
Free loss coefficient value. The default is
0.8
.- external_temp
str
,optional
External temperature. The default is
"AmbientTemp"
.- expternal_pressure
str
,optional
External pressure. The default is
"AmbientPressure"
.- x_curve
list
,optional
List of X curves in m_per_sec. The default is
["0", "1", "2"]
.- y_curve
list
List of Y curves in n_per_meter_q. The default is
["0", "1", "2"]
.- boundary_name
str
,optional
Boundary name. The default is
None
, in which case the name will be generated automatically.
- air_faces
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
Boundary object when successful or
None
when failed.
References
>>> oModule.AssignGrilleBoundary