Main Content

ThermalMaterialAssignment Properties

Thermal material properties assignments

Domain-specific heat transfer workflow is not recommended. New features might not be compatible with this workflow. For help migrating your existing code to the unified finite element workflow, see Migration from Domain-Specific to Unified Workflow.

A ThermalMaterialAssignment object contains the description of a thermal model’s material properties. A ThermalModel container has a vector of ThermalMaterialAssignment objects in its MaterialProperties.MaterialAssignments property.

Create material properties assignments for your thermal model using the thermalProperties 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

Thermal conductivity of the material, specified as a nonnegative number or a function handle.

Data Types: double | function_handle

Mass density of the material, specified as a nonnegative number or a function handle.

Data Types: double | function_handle

Specific heat of the material, specified as a nonnegative number or a function handle.

Data Types: double | function_handle

Tips

  • When there are multiple assignments to the same geometric region, the toolbox uses the last applied setting.

  • To avoid assigning material properties to a wrong region, ensure that you are using the correct geometric region IDs by plotting and visually inspecting the geometry.

Version History

Introduced in R2017a