Skip to main content

UNKNOWN

Project description


ELLIPT2D: a general purpose 2-D finite element solver
=====================================================


A. Pletzer and J.C. Mollis (pletzer@pppl.gov)

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


Prerequisites:

- 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
http://www.python.org. 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
.................................

Type

python setup.py install

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

- triangle: A robust triangulation routine from
http://www.cs.cmu.edu/~quake/triangle.html.


- superlu: A linear sparse matrix solver from http://www.nersc.gov/~xiaoye/SuperLU/.



3. Tests
--------

Type the following command (under UNIX or Cygwin)

test.sh

This will exercize all the scripts.

4. Graphics
-----------

Simple Tk graphics routines are provided. For high quality visualization,
download openDX from http://www.opendx.org, 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 (http://www.avs.com).
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 doc.py [-a] <file>.py.

Examples of ELLIPT2D scripts can be found under Demos.

Enjoy,

Alex.




Project details


Download files

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

Source Distributions

ellipt2d-3.0.1.zip (1.1 MB view details)

Uploaded Source

ellipt2d-3.0.1.tar.gz (925.7 kB view details)

Uploaded Source

File details

Details for the file ellipt2d-3.0.1.zip.

File metadata

  • Download URL: ellipt2d-3.0.1.zip
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ellipt2d-3.0.1.zip
Algorithm Hash digest
SHA256 d4eec4ea0f8df95d85907a8b4fc49d7165e0a068f08fed99f273e48d21ca3b6c
MD5 8f6f5194709c56ea6285e91dd4331373
BLAKE2b-256 bda48bf274b57627c11b2dd1513e837f53328287dd80c42b1875d47dd3d237b7

See more details on using hashes here.

File details

Details for the file ellipt2d-3.0.1.tar.gz.

File metadata

  • Download URL: ellipt2d-3.0.1.tar.gz
  • Upload date:
  • Size: 925.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ellipt2d-3.0.1.tar.gz
Algorithm Hash digest
SHA256 ba559dc30bb5374f9a2e7368589edb410d94413de9b44e589c3e705b2413997e
MD5 59c40b9f1b08889e92a908072c3e4388
BLAKE2b-256 2675702d88a007d1a005c70b593e3c66a85f11ffd30d9d87bae66adee5b1b141

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page