Main Content

HeatSourceAssignment Properties

Heat source assignments

A HeatSourceAssignment object contains a description of the heat sources for a thermal model. A ThermalModel container has a vector of HeatSourceAssignment objects in its HeatSources.HeatSourceAssignments property.

Create heat source assignments for your thermal model using the internalHeatSource function.

Properties

expand all

Region type, specified as 'Face' for a 2-D region, or 'Cell' for a 3-D region.

Data Types: char | string

Region ID, specified as a vector of positive integers. To determine which ID corresponds to which portion of the geometry, use the pdegplot function. Set the 'FaceLabels' name-value pair to 'on'.

Data Types: double

Heat source value, specified as a number or a function handle. A heat source with a negative value is called a heat sink.

Data Types: double | function_handle

Label for use with linearizeInput, specified as a character vector or a string.

Data Types: char | string

Version History

Introduced in R2017a