文档帮助中心文档
找到分配给几何区域的热边界条件
tbca = findThermalBC (thermalmodel.BoundaryConditions RegionType RegionID)
例子
tbca= findThermalBC (thermalmodel。BoundaryConditions,RegionType,RegionID)返回分配给指定区域的热边界条件。
tbca= findThermalBC (thermalmodel。BoundaryConditions,RegionType,RegionID)
tbca
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 with properties: RegionType: 'Edge' RegionID: [1 3] Temperature: 100 HeatFlux: [] ConvectionCoefficient: [] Emissivity: [] AmbientTemperature: [] Vectorized: 'off'
检查边3和边4的边界条件说明。
tbca = findThermalBC (thermalmodel。BoundaryConditions,“边缘”[3:4]);tbcaEdge3 = tbca (1)
tbcaEdge3 = ThermalBC with properties: RegionType: 'Edge' RegionID: [1 3] Temperature: 100 HeatFlux: [] ConvectionCoefficient: [] Emissivity: [] AmbientTemperature: [] Vectorized: 'off'
tbcaEdge4 = tbca (2)
tbcaEdge4 = ThermalBC with properties: RegionType: 'Edge' RegionID: 4 Temperature: [] HeatFlux: 20 ConvectionCoefficient: [] Emissivity: [] AmbientTemperature: [] Vectorized: 'off'
创建一个热模型,包括一个块几何。
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 with properties: RegionType: 'Face' RegionID: 1 Temperature: 100 HeatFlux: [] ConvectionCoefficient: [] Emissivity: [] AmbientTemperature: [] Vectorized: 'off'
tbcaFace3 = tbca (2)
tbcaFace3 = ThermalBC with properties: RegionType: 'Face' RegionID: 3 Temperature: 300 HeatFlux: [] ConvectionCoefficient: [] Emissivity: [] AmbientTemperature: [] Vectorized: 'off'
检查面5和面6的边界条件规格。
tbcaFace5 = findThermalBC (thermalmodel。BoundaryConditions,“脸”5)
tbcaFace5 = ThermalBC with properties: RegionType: 'Face' RegionID: [5 6] Temperature: [] HeatFlux: [] ConvectionCoefficient: 5 Emissivity: [] AmbientTemperature: 27 Vectorized: 'off'
tbcaFace6 = findThermalBC (thermalmodel。BoundaryConditions,“脸”6)
tbcaFace6 = ThermalBC with properties: RegionType: 'Face' RegionID: [5 6] Temperature: [] HeatFlux: [] ConvectionCoefficient: 5 Emissivity: [] AmbientTemperature: 27 Vectorized: 'off'
BoundaryConditions
热模型的边界条件,指定为BoundaryConditions财产的ThermalModel对象。
ThermalModel
例子:thermalmodel。BoundaryConditions
“脸”
“边缘”
几何区域类型,指定为“脸”用于三维几何或“边缘”二维几何。
数据类型:字符|字符串
字符
字符串
几何区域ID,指定为正整数向量。查找使用的区域idpdegplot与“FaceLabels”(3 - d)或“EdgeLabels”(2-D)值设置为“上”.
pdegplot
“FaceLabels”
“EdgeLabels”
“上”
数据类型:双
双
ThermalBC
一个特定区域的热边界条件,返回为ThermalBC对象。
thermalBC|ThermalBC属性
thermalBC
您有这个示例的修改版本。您想打开这个示例与您的编辑吗?
你点击一个链接对应于这个MATLAB命令:
通过在MATLAB命令窗口中输入命令来运行命令。Web浏览器不支持MATLAB命令。金宝app
选择一个网站,在那里获得翻译的内容,并看到当地的活动和优惠。根据您的位置,我们建议您选择:.
你也可以从以下列表中选择一个网站:
选择中国网站(中文或英文)以获得最佳网站性能。其他MathWorks国家站点没有针对您所在位置的访问进行优化。
与当地办事处联系
得到审判现在