How can I solve system of nonlinear hyperbolic equations

5 visualizaciones (últimos 30 días)
I have to solve 1-D nonlinear hyperbolic pde system but I can't understand how to use extension of lax friedrich scheme for the nonlinear system .
But i solved system of linear hyperbolic pde using characteristic variable but in this problem a dependent variable is included in the jacobian matrix, so i cannot connect it with the linear case.

Respuesta aceptada

Jesús Zambrano
Jesús Zambrano el 23 de Dic. de 2020
Are you using the pdepe command?
If so, would it make sense to define f matrix like this?:
f = [-1/u(2); -u(1)] .* dudx;
Another detail, the initial conditions are given but the boundary conditions are missing.
  1 comentario
Sumanta Shagolshem
Sumanta Shagolshem el 24 de Dic. de 2020
I didn't used pdepe command but used fdm and the boundary condition is not given, it should be constructed using some numerical scheme.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by