Skip to content

A desktop application that uses the finite difference method to solve differential equations

License

joeyshi12/diff-eq-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diff-eq-solver

tests.yml python-publish.yml PyPI

An application that uses the finite difference method to solve various types of differential equations, such as the heat equation and wave equation. The solution is written to a table in an Excel file, and the solution is visually displayed on a plot. For time dependent PDEs, the plot is animated.

Installation

pip3 install diffeq-solver-tk

Usage

The GUI can be started with detk. Once you open the solver, choose a differential equation type through the navigation bar above and enter the parameters for your equation. Clicking "Solve" will run the solving algorithm for your equation and generate a static plot in the right window. After a solution is prepared, you can export the solution as an xlsx file by clicking "Export". For partial differential equation types, you can play an animation in the right window by clicking "Play" and switch back to the static plot by clicking "Show Plot".

diffeq-solver-tk can also be used in the command-line by running detk-cli <diff-eq-type> <infile> <outfile>. Examples of valid <infile> files are provided in tests/queries. Run detk-cli -h for more info.

Dev Wiki

About

A desktop application that uses the finite difference method to solve differential equations

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages