Solving First Order PDEs
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I have been trying to solve a set of PDE equations in MATLAB, but I have first order PDE equations in my system which I don't know how to solve in MATLAB. However, I could solve the second order PDE based on many examples I found over the net. I have attached the equations. Any help would be greatly appreciated on how to solve first order PDEs in MATLAB.
Thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148741/image.png)
댓글 수: 0
답변 (1개)
Torsten
2015년 9월 4일
If
0=z(1)<z(2)<...<z(N)=H
is a discretization in z-direction, approximate
dT_g/dz (z(i)) = (T_g(z(i))-T_g(z(i-1)))/(z(i)-z(i-1))
dT_l/dz (z(i)) = (T_l(z(i+1))-T_l(z(i)))/(z(i+1)-z(i))
Then solve the resulting system of ordinary differential equations using ODE15S, e.g..
Look up "method of lines".
Best wishes
Torsten.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 General PDEs에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!