Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Method of Relaxation Dashboard

Dash Application:

  • This application is deployed on heroku. You can visit the application here!

Description:

This repository contains code for creating a dashboard application that displays a surface plot that is associated with a solution to Laplace's equation that was computed using the Method of Relaxation.

This dashboard application was built using Python's dash library. It allows for the user to specify parameters associated with a particular problem statement.

The user can set:

  1. Dimensions of the rectangular system.
  2. Constant Boundary Conditions around the rectangular system.
  3. The number of relaxation iterations to run the algorithm with.

The program than uses the input parameters to approximate the solution to Laplace's equation using the Method of Relaxation.

Dependencies

  • python3.7
  • Third party python libraries listed in requirements.txt

Installation Instructions

  1. Clone the repo
git clone https://github.com/Jim-Shaddix/Personal-Website.git
  1. You can than use the following command to download all the third party libraries needed to run this program.
pip install -r requirements.txt
  1. Run the application!
python app.py

File Descriptions:

  1. app.py: contains the code for the dash application that is used for generating the dashboard.
  2. Potential.py: contains data-structures, as well as the algorithm for the Method of Relaxation that is used in the. Dash-Application.py
  3. How-It-Works.ipynb: is a jupyter notebook that describes how the Method of Relaxation works.
  4. Assets: Contains the stylesheets that are used in the dash application.

About

This Repository Contains a Dash Application that illustrates how the method of relaxation can be used to solve for the potential between a rectangular system of capacitors.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published