Skip to content

Code_aster is a nonlinear finite element solver for structures and thermomechanics. This repository hosts Dockerfiles and instructions for running code_aster on any platform. Our published container images are available on our Docker Hub.

License

Notifications You must be signed in to change notification settings

scimulate/code_aster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

With Docker installed, this container can be setup using the following command.

docker pull scimulate/code_aster:XX.Xy

Where XX.X(y) is the version number. Currently supported version numbers include:

  • 14.6
  • 14.6p (in progress)
  • 15.2
  • 15.2p (in progress)

Navigate to the host directory which contains code_aster files (mesh, setup, etc.).

cd /your_project_path

Run the following commands to enable GUI applications and start the container. Be sure to replace the sample tag "XX.X(y)" with any supported version number (14.6, 15.2, etc.).

xhost +local:docker
docker run --rm -it --env="DISPLAY" --net=host -v "$(pwd)":/analysis:Z scimulate/code_aster:XX.X(y)

The flag -v "$(pwd)":/analysis will mount the present working directory (pwd) to a dedicated folder in the container /analysis. This allows for seamless file read/write between the host and container. Next, start ASTK.

/opt/aster/bin/astk

Navigate to /analysis through ASTK and add files to the project. Results computed and saved to /analysis may be post-processed on the host after computing the solution. When done using the container, simply exit.

exit

About

Code_aster is a nonlinear finite element solver for structures and thermomechanics. This repository hosts Dockerfiles and instructions for running code_aster on any platform. Our published container images are available on our Docker Hub.

Topics

Resources

License

Stars

Watchers

Forks