Tutorials#
The tutorials below are complete simulations. Each page shows the mesh, the material, the input
files (to download), the run and its terminal output, the simulation directory, and the
results, with the commands that make the figures: field images by Neper (neper -V, with
POV-Ray) and curves by Python (NumPy and Matplotlib).
The inputs are in the source distribution, doc/tutorials/<name>/, and the meshes
in tests/regression/cases/meshes/ (Neper meshes, msh file version 2.4, see
File and Directory Formats). Every tutorial but the cruciform specimen (about 1.5 h on 4 processes) is
run by the test suite, so the inputs shown here are tested; the terminal outputs, directory
trees and figures of the pages are made from the same inputs by the script
tutorials/tools/make_tutorial_pages.sh of the source distribution.
Each tutorial is run in its own directory holding simulation.cfg and
simulation.msh (save the downloaded mesh under that name), and the other input files
named. Length units are mm, stresses MPa, times s.
Note
The crystal types of the tutorials’ inputs are written in upper case (FCC,
BCC, HCP): FEPX reads them in any case, but the post-processing of Neper 5.0.1
(neper -S) stops on a lower-case crystal type (and on bct); later versions read
both.
- Simple Simulation
- Simple RVE-Type Simulation
- Periodic RVE-Type Simulation
- Cruciform Specimen
- Overwriting Polycrystal Attributes
- Multiaxial Control at a Constant Strain Rate
- Multiaxial Control at a Constant Load Rate
- Restarting a Simulation
- Loading, Unloading and Reloading: Mixed Targets
- An hcp Single Crystal: Slip Activity by Orientation
- Post-Processing in Python
Running on a cluster with a job scheduler is described in Running on a Cluster.