Matlab 2D heat conduction Problem including Convective, Heat Flux, and Adiabatic boundary conditions together!
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1556037/image.png)
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1556042/image.jpeg)
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Thermal Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!