Null Disquisition

Python, AWS, Grad School, and your face

1d Fokker-Plank equation

with 2 comments

As promised, I bring pretty pictures. The past few days I’ve been working on a solution to the 1d diffusion equation with a drift term, better known as the Fokker-Planck equation.

The 1d Fokker-Planck equation

Sexy, I know. Anyhow, I finally worked out the Python code to get it rolling (literally!). The test system I did has periodic boundary conditions and an initial condition of a sharply-peaked Gaussian (a = 20). I’ll spare the details and jump to the fun part.

Here’s the Python code that made it happen (scipy and matplotlib required).

-David

Written by david

October 10th, 2008 at 4:45 am

Posted in School, python

Tagged with , , ,

2 Responses to '1d Fokker-Plank equation'

Subscribe to comments with RSS or TrackBack to '1d Fokker-Plank equation'.

  1. The python code link is broken.

    Faisal Moledina

    22 Jan 10 at 7:06 pm

  2. Thanks Faisal, updated.

    david

    3 Feb 10 at 9:51 pm

Leave a Reply