edit_design_settings#
- Icepak.edit_design_settings(gravity_dir=0, ambient_temperature=20, perform_validation=False, check_level='None', default_fluid='air', default_solid='Al-Extruded', default_surface='Steel-oxidised-surface', export_monitor=False, export_sherlock=False, export_directory='/home/runner/work/pyaedt/pyaedt/doc/source', gauge_pressure=0, radiation_temperature=20, ignore_unclassified_objects=False, skip_intersection_checks=False)#
Update the main settings of the design.
- Parameters:
- gravity_dir
int
,optional
Gravity direction from -X to +Z. Options are
0
to5
. The default is0
.- ambient_temperature
float
,str
,BoundaryDict
ordict
optional
Ambient temperature. The default is
20
. The default unit is Celsius for a float or string value. You can include a unit for a string value. For example,325kel
.- perform_validationbool,
optional
Whether to perform validation. The default is
False
.- check_level
str
,optional
Level of check to perform during validation. The default is
"None"
.- default_fluid
str
,optional
Default fluid material. The default is
"air"
.- default_solid
str
,optional
Default solid material. The default is
"Al-Extruded"
.- default_surface
str
,optional
Default surface material. The default is
"Steel-oxidised-surface"
.- export_monitorbool,
optional
Whether to export monitor data. The default is
False
.- export_sherlockbool,
optional
Whether to export temperature data for Sherlock. The default is
False
.- export_directory
str
,optional
Default export directory for monitor point and Sherlock data. The default is the current working directory.
- gauge_pressure
float
,str
,optional
Gauge pressure. It can be a float where “n_per_meter_sq” is assumed as the units or a string with the units specified. The default is
0
.- radiation_temperature
float
,str
,optional
Set the radiation temperature. It can be a float (units will be “cel”) or a string with units. Default is
20
.- ignore_unclassified_objectsbool,
optional
Whether to ignore unclassified objects during validation check. The default value is
False
.- skip_intersection_checksbool,
optional
Whether to skip intersection checks during validation check. The default value is
False
.- Returns
- ——-
- bool
True
when successful,False
when failed.
- gravity_dir
References
>>> oDesign.SetDesignSettings