Sign inSign up

simvia/code_aster

By simvia

•Updated 3 months ago

code_aster is an open-source software for finite element simulation in structural mechanics.

Image
Data science
6

4.1K

simvia/code_aster repository overview

⁠code_aster Docker Images

This repository provides Docker images for running code_aster⁠ in a reproducible and portable environment. It is intended for command-line use and batch simulation workflows.


⁠📦 Image Tag

The currently available images are :

  • simvia/code_aster:stable – corresponding to the latest stable version of code_aster, i.e. 16.8.0
  • simvia/code_aster:testing – corresponding to the current development version, i.e. 17.3.1

⁠🚀 How to Run the Image

⁠Command-line usage

The container directly exposes the run_aster command.

To launch a simulation:

(host) $ docker run --rm -it \
                --mount type=bind,source=$(pwd),target=/home/user/data \
                simvia/code_aster:stable

(code_aster) $ cd data
(code_aster) $ run_aster calcul.export

This assumes your current directory contains a valid .export file and the corresponding input files. All files will be accessible under /home/user inside the container.


⁠🛠️ Transparently using shell function

In order to simplify the integration of code_aster in your environment you can define the following function in your .bashrc or .zshrc

function run_aster() {
    docker run --rm -it \
        -v "$(pwd)":/home/user/data \
        -w /home/user/data \
       simvia/code_aster:stable \
        bash -i -c 'run_aster "$@"' bash "$@"
}

⁠📄 Notes

  • The container runs as a non-root user by default.
  • You can mount additional folders (e.g., for mesh or result storage) using --mount.
  • This setup is well suited for scripted runs, CI/CD pipelines, or batch processing.
  • The provided code_aster is build without distributed parallel features, it includes the following dependencies :
    • MUMPS
    • METIS and SCOTCH
    • MGIS (mfront)
    • MED and MEDCoupling

⁠🧰 Maintainer

These images are maintained by the Simvia⁠ team !

Tag summary

Content type

Image

Digest

sha256:4629a21a1…

Size

1.5 GB

Last updated

3 months ago

docker pull simvia/code_aster:18.1.0