Skip to main content


Project description

ELLIPT2D: a general purpose 2-D finite element solver

A. Pletzer and J.C. Mollis (

Version: 1.4 Wed Jun 25 15:18:19 EDT 2003


- Python 2.2 or later
- Tkinter
- A C/C++ compiler (except for .exe Windows installer)
- jython with Java/Java3D (optional)

1. Summary

ELLIPT2D is a Python programming environment for solving 2-D elliptic equations
of the form - div F . grad v + g v = s where F=((fxx,fxy),(fyx,fyy)), g and s
are user supplied, possibly complex, functions. Boundary conditions can be of
Dirichlet (v=B), Neumann (n . F . grad v = B) or Robbins type
(n . F . grad v + A v = B). The trial basis functions are linear over
triangles with full support for unstructured meshes.

2. Installation and settings

2.1 Minimal installation

ELLIPT2D is a collection of python scripts. Python must be installed on your
platform with Tkinter activated. Python is free and can be obtained at Check the installations to find out how to activate
Tkinter (python is automatically distributed with Tkinter on Win32).
Note that if you have to compile shared libraries (see 2.3) then you will
also need the Python source distribution (i.e. have access to Python.h and
other headers).

The scripts can be accessed anywhere provided the PYTHONPATH environment
variable is properly set (see below). Alternatively, you can move the scripts
by hand to /usr/local/lib/python2.2/site-packages, or equivalent. Under
Windows the installation directory is often C:\Python22\Lib\site-packages.

2.2 Triangulation and fast solver


python install

This will also build shared objects (dll on Windows) of

- triangle: A robust triangulation routine from

- superlu: A linear sparse matrix solver from

3. Tests

Type the following command (under UNIX or Cygwin)

This will exercize all the scripts.

4. Graphics

Simple Tk graphics routines are provided. For high quality visualization,
download openDX from, which is also free, as Ellipt2d
generates results in the DX format. As an alternative, Ellipt2d also
generates output in the UCD format of Avs/Express (
Avs/Express is a commercial product.

5. User guide

All ellipt2d classes and functions are documented in HTMLdoc. To check the
content of a python file, run [-a] <file>.py.

Examples of ELLIPT2D scripts can be found under Demos.



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ellipt2d, version 3.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ellipt2d-3.0.1.tar.gz (925.7 kB) File type Source Python version None Upload date Hashes View
Filename, size (1.1 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page