Coding of nonlinear convection-diffusion equation using matlab

Please can someone explain to me how to code 1D nonlinear convection-diffusion equation using matlab. The equation is of the form: ∂/(∂t_D )+∑(∂(f_j c_ij))/(∂x_D )-∑∂/(∂x_D ) α_Dij f_j (∂c_ij)/(∂x_D )=0
Thank you.
Tinu.

回答(1 个)

Use MATLAB's pdepe.
Best wishes
Torsten.

2 个评论

Thanks Torsten. Can Matlab's pdepe be used for system of nonlinear equations for multi-components?
Equations (1.3)-(1.5) under
specify the structure for the equations, initial conditions and boundary conditions pdepe can handle.
Best wishes
Torsten.

请先登录,再进行评论。

提问:

2016-5-30

评论:

2016-5-31

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by