Skip to content

luksen99/Diffusion-Equation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diffusion-Equation

In this Project we are providing a slover for Parabolic Partial Differential Equations, i.e. the heat diffusion equation, of the form:

Diffusion equation

Our approach is to use a combination of finite elements (B-Splines) to approximate the derivation in space and explicit Euler to approximate the evolution in time.

Example showing our output:

Temperature evolution in time and space after a laser pulse hits the probe

Temperature evolution of probe Gaussian laser pulse S(x,t) hitting probe

Here we consider a gaussian pulsed laser source S(x,t) = exp(-x)*G(t) hitting a probe in the middle. The probe gets heated up, as the pulse kicks in and the heat diffuses along the material until equilibrium is reached.

Folders:

    1. Documentation
    1. Descriptive .ipynb files. To give a descriptive overview of what can be solved with the package
    1. Code .py files containing code to comment, modify and work on

Installation

use the download link

python -m pip install --index-url https://test.pypi.org/simple/ solpde

then run

from solpde import solpde

How to contribute:

Fork from the Developer- branch and pull request to merge back into the original Developer- branch. Working updates and improvements will then be merged into the Master branch, which will always contain the latest working version.

With:

Dependencies:

Numpy

Matplotlib

Scipy.linalg

B-splines

`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •