LibAster is an open source python library for solving structural and thermomechanical problems using the finite element method. It is based on Code_Aster, a high-performance solver distributed under the GNU Public License version 2 by EDF R&D.

LibAster is a friendly fork to Code_Aster that differs by using standard tools to compile (waf), track changes (mercurial), run the tests (stand-alone script), etc. The goal is to experiment with changes that may eventually be merged into the Code_Aster sources if accepted by its maintainers.

LibAster passes over 99% of Code_Aster's 2200 test-cases. LibAster is based on the latest stable version, STA10.3, and will keep up with future releases.

Example usage

####### run a study #######
$ python && echo 'ok'
$ ls    forma01a.mmed    forma01a.rmed
$ diff -u ../../astest/forma01a.comm
--- forma01a.comm 2011-02-25 15:51:14.822934097 +0100
+++   2011-03-03 15:37:27.950937598 +0100
@@ -1,5 +1,8 @@
+from libaster import run_study as RS
+                output_files="forma01a.rmed:80")


####### build a new libaster shared library #######
$ ./waf configure --shared
Setting top to                           : /home/dede/libaster
Setting out to                           : /home/dede/libaster/build
Checking for 'gcc' (c compiler)          : ok
Checking for 'gfortran' (fortran compiler) : ok
Checking for program python                : /usr/bin/python
Checking for python version                : 2.6.6
Checking for library python2.6             : yes
Checking for program python2.6-config      : /usr/bin/python2.6-config
Checking for header Python.h               : yes
'configure' finished successfully (0.666s)

$ ./waf build -j 6 -p
Waf: Entering directory `/home/dede/libaster/build'

About Logilab

Logilab develops software solutions and offers high level trainings in the areas of computer science and knowledge management, using agile methods. Logilab is an innovative company and a member of the System design and development tools and the Free and open source software groups within the Systematic cluster . Logilab was awarded the technology label by OSEO Innovation .