conservation_ode


conservation_ode, a Python code which monitors the conservation of a quantity that should be constant, during the solution of an ordinary differential equation (ODE).

In most real world cases, the exact solution of an ODE is not known. In many such cases, however, one or more conserved quantities can be identified, such as mass, momentum, or energy. Then an important indicator of ODE solution quality is the accuracy with which conservation constraints are observed.

ODE's which have a conserved quantity include:

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

conservation_ode is available in a MATLAB version and an Octave version and aPython version..

Related Data and Programs:

python_ode, Python codes which sets up various systems of ordinary differential equations (ODE).

Reference:

Source code:


Last revised on 19 February 2023.