Matlab 2D heat conduction Problem including Convective, Heat Flux, and Adiabatic boundary conditions together!

3 次查看(过去 30 天)
Hello everyone.
I am trying to solve 2D steady heat conduction problem as shown.
The thing is I am actually stucked in the loop stage because I dont know where to start.
I arranged dx and dy values same as 10^-4 meters so that the formulation becomes easier to write. I can simply finite difference equations since delta"x" = delta"y"
The domain is 51x301 matrix. Basically an rectangular geometry.
I need suggestion where to start writing loops and also
I also added a review page where I derived some of the nodes equations which may give you and idea.
Thanks a lot!
clear;
clc;
%% constants
a = 0.0025;
b =0.005;
l = 0.015;
k = 1.1;
h1= 15;
T_inf = 20;
flux = 2000;
%% creating the domain
L = 2*l;
h = 0.005;
Nx = 301;
Ny = 51;
dx = L/(Nx-1);
dy = h/(Ny-1);
%% boundary conditions
T=ones(Ny,Nx);
%%

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Thermal Analysis 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by