ThermalBC Properties
(To be removed) Boundary condition for thermal model
ThermalBC
will be removed. Use the
EdgeBC
and FaceBC
properties of femodel
instead. (since R2023a) For more information on updating your code, see Version History.
A ThermalBC
object specifies the type of PDE
boundary condition on a set of geometry boundaries. A ThermalModel
object contains a vector of ThermalBC
objects in its
BoundaryConditions.ThermalBCAssignments
property.
Specify boundary conditions for your model using the thermalBC
function.
Properties
Geometric region type, specified as 'Face'
for 3-D
geometry or 'Edge'
for 2-D geometry.
Data Types: char
| string
Geometric region ID, specified as a vector of positive integers. Find the
region IDs by using pdegplot
with the
'FaceLabels'
(3-D) or 'EdgeLabels'
(2-D) value set to 'on'
.
Data Types: double
Temperature boundary condition, specified as a number or a function handle. Use a function handle to specify spatially or temporally varying temperature.
Data Types: double
| function_handle
Heat flux boundary condition, specified as a number or a function handle. Use a function handle to specify a spatially or temporally varying heat flux or a nonlinear heat flux.
Data Types: double
| function_handle
Convection to ambient boundary condition, specified as a number or a
function handle. Use a function handle to specify a spatially or temporally
varying convection coefficient or a nonlinear convection coefficient.
Specify ambient temperature using the AmbientTemperature
argument.
Data Types: double
| function_handle
Radiation emissivity coefficient, specified as a number in the range
(0,1). Use a function handle to specify spatially or temporally varying
emissivity or nonlinear emissivity. Specify ambient temperature using the
AmbientTemperature
argument and the Stefan-Boltzmann
constant using the thermal model properties.
Data Types: double
| function_handle
Ambient temperature, specified as a number. The ambient temperature value is required for specifying convection and radiation boundary conditions.
Data Types: double
Vectorized function evaluation, specified as 'on'
or
'off'
. This evaluation applies when you pass a
function handle as an argument. To save time in function handle evaluation,
specify 'on'
, assuming that your function handle computes
in a vectorized fashion. See Vectorization. For details of
this evaluation, see Nonconstant Boundary Conditions.
Data Types: char
| string
Label for use with linearizeInput
, specified as a
character vector or a string.
Data Types: char
| string
Version History
Introduced in R2017aThermalBC
will be removed. Use the EdgeBC
and FaceBC
properties of femodel
instead.
For example, you can check the boundary condition on edges of the unit square as follows.
model = femodel(AnalysisType="thermalSteady", ... Geometry=@squareg); model.EdgeBC([1 3]) = edgeBC(Temperature=25); model.EdgeBC
The unified finite element model workflow defines the type of a problem and all of
its parameters as the properties of an femodel
object. This
object enables you to specify physical parameters for structural, thermal, and
electromagnetic types of analyses. The solver in the unified workflow uses only the
parameters (properties) appropriate for the current analysis type while ignoring all
other properties. If you switch the analysis type by setting the
AnalysisType
property of the model, the solver uses the
appropriate set of properties corresponding to the new analysis type.
For more help migrating your existing code that uses
ThermalModel
to the unified finite element workflow, see
Migration from Domain-Specific to Unified Workflow.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)