findThermalBC
发现热边界条件分配给一个几何区域
描述
返回热边界条件分配给指定的区域。tbca
= findThermalBC (thermalmodel.BoundaryConditions
,RegionType
,RegionID
)
例子
寻找二维几何边缘热边界条件
创建一个热模型,包括一个正方形几何。
thermalmodel = createpde (“热”);geometryFromEdges (thermalmodel @squareg);pdegplot (thermalmodel“EdgeLabels”,“上”)ylim([-1.1 - 1.1])轴平等的
应用温度边界条件对边缘1和3的平方。
thermalBC (thermalmodel“边缘”3 [1],“温度”,100);
应用热流边界条件的边4平方。
thermalBC (thermalmodel“边缘”4“HeatFlux”,20);
在边缘1日检查边界条件的规范。
tbcaEdge1 = findThermalBC (thermalmodel.BoundaryConditions,“边缘”,1)
tbcaEdge1 = ThermalBC属性:RegionType:“边缘”RegionID: 3[1]温度:100 HeatFlux: [] ConvectionCoefficient:[]发射率:[]AmbientTemperature:[]矢量化:“关闭”标签:[]
在边检查边界条件规范3和4。
tbca = findThermalBC (thermalmodel.BoundaryConditions,“边缘”3:4);tbcaEdge3 = tbca (1)
tbcaEdge3 = ThermalBC属性:RegionType:“边缘”RegionID: 3[1]温度:100 HeatFlux: [] ConvectionCoefficient:[]发射率:[]AmbientTemperature:[]矢量化:“关闭”标签:[]
tbcaEdge4 = tbca (2)
tbcaEdge4 = ThermalBC属性:RegionType:“边缘”RegionID: 4温度:[]HeatFlux: 20 ConvectionCoefficient:[]发射率:[]AmbientTemperature:[]矢量化:“关闭”标签:[]
寻找热边界条件的三维几何
创建一个热模型,包括一块几何。
thermalmodel = createpde (“热”,“瞬态”);通用= importGeometry (thermalmodel,“Block.stl”);pdegplot (thermalmodel“FaceLabels”,“上”,“FaceAlpha”,0.5)
应用温度边界条件对面临1和3块。
thermalBC (thermalmodel“面子”,1“温度”,100);thermalBC (thermalmodel“面子”3,“温度”,300);
应用对流边界条件的脸5和6块。
thermalBC (thermalmodel“面子”(5、6),…“ConvectionCoefficient”5,…“AmbientTemperature”、27);
检查边界条件规范面临1和3。
tbca = findThermalBC (thermalmodel.BoundaryConditions,“面子”[1,3]);tbcaFace1 = tbca (1)
tbcaFace1 = ThermalBC属性:RegionType:“脸”RegionID: 1温度:100 HeatFlux: [] ConvectionCoefficient:[]发射率:[]AmbientTemperature:[]矢量化:“关闭”标签:[]
tbcaFace3 = tbca (2)
tbcaFace3 = ThermalBC属性:RegionType:“脸”RegionID: 3温度:300 HeatFlux: [] ConvectionCoefficient:[]发射率:[]AmbientTemperature:[]矢量化:“关闭”标签:[]
检查边界条件规范面临5和6。
tbcaFace5 = findThermalBC (thermalmodel.BoundaryConditions,“面子”5)
tbcaFace5 = ThermalBC属性:RegionType:“脸”RegionID:[5 - 6]温度:[]HeatFlux: [] ConvectionCoefficient: 5辐射率:[]AmbientTemperature: 27矢量化:“关闭”标签:[]
tbcaFace6 = findThermalBC (thermalmodel.BoundaryConditions,“面子”6)
tbcaFace6 = ThermalBC属性:RegionType:“脸”RegionID:[5 - 6]温度:[]HeatFlux: [] ConvectionCoefficient: 5辐射率:[]AmbientTemperature: 27矢量化:“关闭”标签:[]
输入参数
thermalmodel.BoundaryConditions
- - - - - -热模型的边界条件
BoundaryConditions
热模型的属性
热模型的边界条件,指定为BoundaryConditions
财产的ThermalModel
对象。
例子:thermalmodel.BoundaryConditions
RegionType
- - - - - -几何区域类型
“面子”
|“边缘”
几何区域类型,指定为“面子”
三维几何或“边缘”
二维几何。
数据类型:字符
|字符串
RegionID
- - - - - -几何区域ID
向量的正整数
几何区域ID指定为一个向量的正整数。发现该地区IDs使用pdegplot
与“FaceLabels”
(3 - d)或“EdgeLabels”
(二)值设置为“上”
。
数据类型:双
输出参数
tbca
——热边界条件为特定地区
ThermalBC
对象
热边界条件为特定地区,作为一个返回ThermalBC
对象。
版本历史
介绍了R2017a
另请参阅
MATLAB命令
你点击一个链接对应MATLAB命令:
运行该命令通过输入MATLAB命令窗口。Web浏览器不支持MATLAB命令。万博1manbetx
你也可以从下面的列表中选择一个网站:
表现最好的网站怎么走吗
选择中国网站(中文或英文)最佳站点的性能。其他MathWorks国家网站不优化的访问你的位置。