Imposing conservation laws in ode systems using ode solvers

1 view (last 30 days)
How can I impose conservation laws when using matlab ode solvers? I have an ode system with 12 variables, 8 differential equations (for 8 of the variables) and 4 conservation laws

Answers (1)

Torsten
Torsten on 9 Jun 2015
Usually, the conservation principles are already part of the differential equations.
Could you be more specific of what you exactly mean ?
Best wishes
Torsten.

Community Treasure Hunt

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

Start Hunting!