Energy Balance Differential Equation
5 ビュー (過去 30 日間)
古いコメントを表示
What would be the best way to solve the equation as shown in the attached PDF please?
2 件のコメント
darova
2020 年 1 月 17 日
YOu have two undefined functions T and P but only one equation. SOmething is wrong
回答 (2 件)
Guru Mohanty
2020 年 1 月 22 日
Hi, I understand you are trying to solve the equation. You can do this using dsolve. Here is a sample code.
clc;
clear all;
syms rho cp T(t) mn V Tin P(t) heff Tamb k
P=k*T; % Ideal Gas Equation
eqn= rho*cp*diff(T,1) + mn*cp*(T-Tin)/V - diff(P,1) + heff*(T-Tamb) ==0;
T_sol=dsolve(eqn);
disp(T_sol);
1 件のコメント
Nicola De Noni
2022 年 8 月 22 日
cp*M*(dT/dt)= - U*A*(T-T_out(t))
In this energy balance I want to plot the temperature profile.
How can I manage the temperature T_out that changes in time?
Thanks!
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!