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.

Answers (1)

Use MATLAB's pdepe.
Best wishes
Torsten.

2 Comments

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.

Sign in to comment.

Asked:

on 30 May 2016

Commented:

on 31 May 2016

Community Treasure Hunt

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

Start Hunting!