PDE time-dependent boundary conditions

1 回表示 (過去 30 日間)
Giulia Ulpiani
Giulia Ulpiani 2020 年 5 月 6 日
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 件)

カテゴリ

Help Center および File ExchangeBoundary Conditions についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by