How to rewrite a PDE equation and set the parameters for solving the temperature changes?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am working with heat exchange problems. I have cermic exchanger with slots for air inlet (ceramic is being heated from warmer inside air) and after period of time the direction is changing and air from the outside remove heat from the ceramic. I am modelling one tiny slot heating (square, 3mmx3mm). I have one PDE equation for solid (here: ceramic, Ts is a modeled temperature):
ro*cp*(dTs/dt)-k*((d^2Ts)/dx^2)=h*(Tg-Ts)
And other equation for the air heating (Tg is an air temperature, modeled now):
ro*cp*(dTg/dt)+u*ro*cp*(dTg/dx)=h*(Ts-Tg)
Annotations:
t - time; x - length, m; ro - density, kg/m^3; cp - specific heat,J/(kgK); h - convection coefficient,W/(m^2K); k - thermal conductivity of copper, W/(mK); u - fluid velocity, m/s;
Should I manage it with PDE solver and set the parameters, i.e. for Ts:
c = ro*cp;
f = -k*DuDx;
s = h*(Ts-Tg);
?
Then, how set the boundary conditions and make Ts nad Tg as a function of the temperature? It should be evaluated for different values during the analysis.
0 commentaires
Réponses (2)
Bill Greene
le 27 Juil 2018
I think you can use pdepe to solve this but you need to include both the equation for Ts and the one for Tg; in your pde function, the returned variables c, f, and s will have two entries. Example 2 in the pdepe documentation shows how to handle two equations. In your two equations, do you have different values of ro and cp for ceramic and air?
Since you didn't specify your boundary conditions, it is difficult to comment but I don't understand what you mean by "make Ts nad Tg as a function of the temperature".
I should also add, if the value of u is "large", it can be challenging to solve these equations with pdepe.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!