Coupled Equations with spatial and time evolution using ode45
古いコメントを表示
Hii Friends,
I have the following set of coupled equations.

where 'T' is time and 'Z' is distance.
Can anyone give me a hint on how to solve these equations using ODE45.
Thanking you.
Pavan
回答 (1 件)
Torsten
2017 年 1 月 18 日
0 投票
Split in real and imaginary part and solve the system of 4 equations using pdepe.
Best wishes
Torsten.
6 件のコメント
Pavan Kumar
2017 年 1 月 18 日
Torsten
2017 年 1 月 18 日
Yes, by using the method of lines. But pdepe will save you from using this error-prone procedure.
Best wishes
Torsten.
Pavan Kumar
2017 年 1 月 19 日
Look up "methods of lines" for the solution of partial differential equations.
You will have to discretize the T-interval of integration:
Tstart=T0<T1<T2<...<TN=Tend
Then in each grid point Ti, approximate the partial derivatives as
d^2u/dT^2 approximately (u(i+1)-2*u(i)+u(i-1))/deltaT^2
du/dT approximately (u(i+1)-u(i-1))/(2*deltaT)
The whole process will result in a system of ordinary differential equations for u in the grid points.
Best wishes
Torsten.
Pavan Kumar
2017 年 1 月 25 日
Torsten
2017 年 1 月 25 日
Never heard of this method - sorry.
Best wishes
Torsten.
カテゴリ
ヘルプ センター および File Exchange で Numeric Solvers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
