PDE time-dependent boundary conditions
1 回表示 (過去 30 日間)
古いコメントを表示
Dear Community,
I am using Matlab PDE Toolbox to generate a thermal model.
I would like to define a time-dependent AmbientTemperature to be used for convective heat transfer. I wrote this code but it doesn't work (error: The value of 'AmbientTemperature' is invalid. Must be specified as a numeric value):
tam=23;ampl=7;phi=0; T=duration; omega=2*pi/T;
ta = @(region,state) tam+ampl*cos(omega*state.time+phi);
thermalmodel.StefanBoltzmannConstant = 5.670373E-8;
thermalBC(thermalmodel,'Face',[7],'ConvectionCoefficient',hcint,'Emissivity',@(region,state) eps3, 'AmbientTemperature',ta);
Other than that, I need to specifify an internal heat source that is a function of the average temperature at two specified faces of my 3D geometry.
Any help is very much appreciated.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Boundary Conditions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!