thermalBC
(To be removed) Specify boundary conditions for a thermal model
thermalBC
will be removed. Use edgeBC
and
faceBC
instead. (since R2023a) For more information on updating your code, see Version History.
Syntax
Description
thermalBC(
adds a temperature boundary condition to thermalmodel
,RegionType
,RegionID
,"Temperature",Tval
)thermalmodel
. The
boundary condition applies to regions of type RegionType
with
ID numbers in RegionID
.
thermalBC(
adds a heat flux boundary condition to thermalmodel
,RegionType
,RegionID
,"HeatFlux",HFval
)thermalmodel
. The
boundary condition applies to regions of type RegionType
with
ID numbers in RegionID
.
Note
Use thermalBC
with the HeatFlux
parameter to specify a heat flux to or from an external source. To specify
internal heat generation, that is, heat sources that belong to the geometry
of the model, use internalHeatSource
.
thermalBC(
adds a convection boundary condition to thermalmodel
,RegionType
,RegionID
,"ConvectionCoefficient",CCval
,"AmbientTemperature",ATval
)thermalmodel
. The
boundary condition applies to regions of type RegionType
with
ID numbers in RegionID
.
thermalBC(
adds a radiation boundary condition to thermalmodel
,RegionType
,RegionID
,"Emissivity",REval
,"AmbientTemperature",ATval
)thermalmodel
. The
boundary condition applies to regions of type RegionType
with
ID numbers in RegionID
.
thermalBC(___,InternalBC=
applies boundary conditions on internal edges. Use this syntax with any of the input
argument combinations in the previous syntaxes.intBCFlag
)
thermalBC(___,"Label",
adds a label for the thermal boundary condition to be used by the labeltext
)linearizeInput
function. This function lets you pass thermal
boundary conditions to the linearize
function that extracts sparse linear models for use with Control System Toolbox™.
returns the thermal boundary condition object.thermalBC
= thermalBC(___)