How can I solve system of nonlinear hyperbolic equations

3 次查看(过去 30 天)
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.

采纳的回答

Jesús Zambrano
Jesús Zambrano 2020-12-23
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 个评论
Sumanta Shagolshem
Sumanta Shagolshem 2020-12-24
I didn't used pdepe command but used fdm and the boundary condition is not given, it should be constructed using some numerical scheme.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by