assign_stationary_wall#
- Icepak.assign_stationary_wall(geometry, boundary_condition, name=None, temperature='0cel', heat_flux='0irrad_W_per_m2', thickness='0mm', htc='0w_per_m2kel', ref_temperature='AmbientTemp', material='Al-Extruded', radiate=False, radiate_surf_mat='Steel-oxidised-surface', ht_correlation=False, ht_correlation_type='Natural Convection', ht_correlation_fluid='air', ht_correlation_flow_type='Turbulent', ht_correlation_flow_direction='X', ht_correlation_value_type='Average Values', ht_correlation_free_stream_velocity='1m_per_sec', ht_correlation_surface='Vertical', ht_correlation_amb_temperature='AmbientTemp', shell_conduction=False, ext_surf_rad=False, ext_surf_rad_material='Stainless-steel-cleaned', ext_surf_rad_ref_temp='AmbientTemp', ext_surf_rad_view_factor='1')#
Assign surface wall boundary condition.
- Parameters:
- geometry
str
orint
Name of the surface object or ID of the face.
- boundary_condition
str
Type of the boundary condition. Options are
"Temperature"
,"Heat Flux"
, or"Heat Transfer Coefficient"
.- name
str
,optional
Name of the boundary condition. The default is
None
.- temperature
str
orfloat
ordict
orBoundaryDictionary
,optional
Temperature to assign to the wall. This parameter is relevant if
ext_condition="Temperature"
. If a float value is specified, the unit is degrees Celsius. Assign a transient condition using the result of a function with thecreate_*_transient_assignment
pattern. The default is"0cel"
.- heat_flux
str
orfloat
ordict
orBoundaryDictionary
,optional
Heat flux to assign to the wall. This parameter is relevant if
ext_condition="Temperature"
. If a float value is specified, the unit is irrad_W_per_m2. Assign a transient condition using the result of a function with thecreate_*_transient_assignment
pattern. the unit isirrad_W_per_m2
. Assign a transient condition using the result of a function with thecreate_*_transient_assignment
pattern. The default is"0irrad_W_per_m2"
.- htc
str
orfloat
ordict
orBoundaryDictionary
,optional
Heat transfer coefficient to assign to the wall. This parameter is relevant if
ext_condition="Heat Transfer Coefficient"
. If a float value is specified, the unit isw_per_m2kel
. Assign a transient condition using the result of a function with thecreate_*_transient_assignment
pattern. thecreate_*_transient_assignment
pattern. Assign a temperature-dependent condition using the result of a function with the patterncreate_temp_dep_assignment
. The default is"0w_per_m2kel"
.- thickness
str
orfloat
,optional
Thickness of the wall. If a float value is specified, the unit is the current unit system set in Icepak. The default is
"0mm"
.- ref_temperature
str
orfloat
,optional
Reference temperature for the definition of the heat transfer coefficient. This parameter is relevant if
ext_condition="Heat Transfer Coefficient"
. The default is"AmbientTemp"
.- material
str
,optional
Solid material of the wall. This parameter is relevant if the thickness is a non-zero value. The default is
"Al-Extruded"
.- radiatebool,
optional
Whether to enable the inner surface radiation option. The default is
False
.- radiate_surf_mat
str
,optional
Surface material used for inner surface radiation. Relevant if it is enabled. The default is
"Steel-oxidised-surface
.- ht_correlationbool,
optional
Whether to use the correlation option to compute the heat transfer coefficient. The default is
False
.- ht_correlation_type
str
,optional
The correlation type for the heat transfer coefficient. Options are “Natural Convection” and “Forced Convection”. This parameter is relevant if
ht_correlation=True
. The default is"Natural Convection"
.- ht_correlation_fluid
str
,optional
Fluid for the correlation option. This parameter is relevant if
ht_correlation=True
. The default is"air"
.- ht_correlation_flow_type
str
,optional
Type of flow for the correlation option. This parameter is relevant if
ht_correlation=True
. Options are"Turbulent"
and"Laminar"
. The default is"Turbulent"
.- ht_correlation_flow_direction
str
,optional
Flow direction for the correlation option. This parameter is relevant if
ht_correlation_type="Forced Convection"
. The default is"X"
.- ht_correlation_value_type
str
,optional
Value type for the forced convection correlation option. This parameter is relevant if
ht_correlation_type="Forced Convection"
. Options are “Average Values” and “Local Values”. The default is"Average Values"
.- ht_correlation_free_stream_velocity
str
orfloat
,optional
Free stream flow velocity. This parameter is relevant if
ht_correlation_type="Forced Convection"
. If a float value is specified, the default unit ism_per_sec
. The default is"1m_per_sec"
.- ht_correlation_surface
str
,optional
Surface type for the natural convection correlation option. This parameter is relevant if
ht_correlation_type="Natural Convection"
. Options are “Top”, “Bottom”, and “Vertical”. The default is"Vertical"
.- ht_correlation_amb_temperature
str
orfloat
,optional
Ambient temperature for the natural convection correlation option. This parameter is relevant if
ht_correlation_type="Natural Convection"
. If a float value is specified, the default unit is degrees Celsius. The default is"AmbientTemp"
.- shell_conductionbool,
optional
Whether to use the shell conduction option. The default is
False
.- ext_surf_radbool,
optional
Whether to use the external surface radiation option. This parameter is relevant if
ext_condition="Heat Transfer Coefficient"
. The default isFalse
.- ext_surf_rad_material
str
,optional
Surface material for the external surface radiation option. This parameter is relevant if
ext_surf_rad=True
. The default is"Stainless-steel-cleaned"
.- ext_surf_rad_ref_temp
str
orfloat
ordict
orBoundaryDictionary
,optional
Reference temperature for the external surface radiation option. This parameter is relevant if
ext_surf_rad=True
. If a float value is specified, the default unit is degrees Celsius. Assign a transient condition using the result of a function with the patterncreate_*_transient_assignment
. The default is"AmbientTemp"
.- ext_surf_rad_view_factor
str
orfloat
,optional
View factor for the external surface radiation option. The default is
"1"
.
- geometry
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
Boundary object when successful or
None
when failed.
References
>>> oModule.AssignStationaryWallBoundary