Code_Aster has been developed under the leadership of EDF (Électricité de France) R&D since 1989. It is developed mainly for Unix and is distributed under the GPL licence. Some ports exist for Microsoft Windows (ref).
Code_Aster itself has no GUI but it comes with two GUI applications: astk, a management and control interface (document U1.04.00), including eficas, a command-file editor; and STANLEY, a post-processor (document U4.81.31). Code_Aster can also be used within Salome-Meca, which is a bundle of Code_Aster with Salome. The latter is a cross-platform, open-source, generic pre- and post-processor for numerical simulation, which can be used by itself or as a ‘platform for integration’.
Our Fad finite-element preprocessor can
for use with Code_Aster.
Note that Code_Aster's
.med files are binary files in
HDF format; they can be manipulated using the
in the Debian
Fad cannot currently import or export
.med files, but it can
.dat geometry files that Salome-Meca can export.
Very extensive documentation (~20 000 pages) is available on the Code_Aster Web site. It is written in French and the English version is translated by machine.
See also Beginning with Code_Aster (2013) by Jean-Pierre Aubry (local copy). It is in English, and includes the use of Gmsh and Salome.
an equivalent) from
Use gunzip and tar to unpack the downloaded file.
Read the README file.
Follow the various links for information about the different
versions and about prerequisite software,
Installation of prerequisites wiki page.
(In addition to the things listed there, the installer checks for a
number of other things, many of which are probably installed in most
cases. In my case, the following are still flagged as missing: nedit, geany,
gvim, gdb, dbx, ladebug & cmake.)
Use Python to start the installation.
If installing in the directory recommended by Aubry,
sudo mkdir /opt/aster/ and
sudo chown username:username /opt/aster. Or specify a user directory with
an equivalent) from
Download ▶ Salome-Meca
tar xzf SALOME-MECA-2010.2-LGPL-x86_64.tgz cd SALOME-MECA-2010.2-LGPL-x86_64/postinstall python postinstall.pyYou may receive warnings about
PAL GUIresources; I don't know what they mean, and so far they don't seem to have caused problems. Run Salome-Meca with the
runSalomeMecascript in the installation directory. If you want to add it to the GNOME launch panel, specify the as . The file
SALOME/SALOME5/V5_1_4/GUI_V5_1_4/share/salome/resources/gui/makes a good icon.
The above procedure worked fine for me under Debian Lenny. Under Ubuntu Lucid, Salome-Meca runs but actual simulations die quietly without doing anything, apparently due to missing libraries.
There are multiple ways of performing the following steps. I've shown the ‘long’ ways, using the menus, but often a judicious right-click or icon click can also be used.
.commfiles from Fad.
.commfile as required.
.medfile: run ASTK.
.commfile. For , select from drop-down list; in the Object Browser, select the mesh object at the second level of the hierarchy; click on the bent-arrow button.