Multiaxial Control at a Constant Strain Rate#

Note

Read first: Simple Simulation.

A polycrystal of 50 grains in the unit cube is used:

../../_images/mesh1.png

Fig. 23 The mesh, colored by grain.#

The material is the \(\alpha\) phase (hcp) of Ti-6Al-4V, with anisotropic hardening and a saturation strength that evolves with the slip rate:

Table 14 Single-crystal elastic constants (\(c/a = 1.587\)).#

\(c_{11}\) [MPa]

\(c_{12}\) [MPa]

\(c_{13}\) [MPa]

\(c_{33}\) [MPa]

\(c_{44}\) [MPa]

\(169.66 \times 10^3\)

\(88.66 \times 10^3\)

\(61.66 \times 10^3\)

\(196.66 \times 10^3\)

\(42.50 \times 10^3\)

Table 15 Plasticity parameters (saturation_anisotropic hardening, saturation_evolution on).#

\(m\) [-]

\(\dot{\gamma}_0\) [1/s]

\(h_0\) [MPa]

\(\tau_{s}\) [MPa]

\(m'\) [-]

\(\dot{\gamma}_{s0}\) [1/s]

\(n\) [-]

0.01

1.0

190.0

700.0

1.1

1.0

1.0

Table 16 Initial slip strengths of the three slip families and interaction coefficients.#

\(\tau_0\) basal [MPa]

\(\tau_0\) prismatic [MPa]

\(\tau_0\) pyramidal \(\langle c+a \rangle\) [MPa]

diagonal [-]

co-planar [-]

390.0

468.0

663.0

1.0

1.4

The interaction matrix is written row by row (interaction_matrix): 1 on the diagonal, 1.4 between the basal systems and within each pair of co-planar pyramidal systems, 0 elsewhere.

The polycrystal is loaded biaxially with triaxial control (boundary_conditions triaxial, see Deformation History (Steps)): component 11 is driven at a constant strain rate (control_component 11), and the loads on 22 and 33 are controlled so that the loads keep the ratios -1 : 0 : 1 along the load path, to the loads (-300, 0, 300) N in step 1 and (-600, 0, 600) N in step 2. The strain rate doubles in step 2. The nodal coordinates, the equivalent plastic strain, the plastic work, the stresses and strains, and the face forces are written.

Input Files#

## FEPX tutorial "Multiaxial control at a constant strain rate": a 50-grain hcp polycrystal
## (alpha-phase Ti-6Al-4V) under biaxial loading, constant strain rate on 11, the loads on 22
## and 33 controlled on the load path.

## Material
number_of_phases 1
phase 1
  crystal_type HCP
  model crystal_plasticity
  c11 1.6966e5
  c12 0.8866e5
  c13 0.6166e5
  c33 1.9666e5
  c44 0.4250e5
  c_over_a 1.587
  m 0.01 0.01 0.01
  gammadot_0 1.0 1.0 1.0
  tau_0 390.0 468.0 663.0
  hardening saturation_anisotropic
  h_0 190.0
  tau_s 700.0
  n 1.0
  saturation_evolution on
  gammadot_s0 1.0
  m_prime 1.1
  interaction_matrix 1.0 1.4 1.4 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 1.4 1.0 1.4 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 1.4 1.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 1.0 1.4 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 1.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 1.4 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 1.4 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.4 1.0 0.0 0.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 1.4 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.4 1.0 0.0 0.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 1.4 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.4 1.0 0.0 0.0
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 1.4
  interaction_matrix 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.4 1.0

## Loading
boundary_conditions triaxial
control_component 11
number_of_steps 2
#                 comp  step 1  step 2
strain_rate       11   -1e-4   -2e-4
target_load       11   -300.0  -600.0
target_load       22    0.0     0.0
target_load       33    300.0   600.0
dtime                   5.0     10.0
dtime_min               0.25    0.25

## Output
print coo
print strain_pl_eq
print work_pl
print forces
print stress
print strain

Execution#

$ mpirun -np 4 fepx
========================    F   E   P   X    ===========================
Info   : A finite element software package for polycrystal plasticity.
Info   : Version 3.0.0-dev (git 755da754, 11-06-2026)
Info   : Built with: GCC 15.2.0|Open MPI 5.0.10|HDF5 1.14.6
Info   : Running on 4 ranks.
Info   : <https://fepx.info>
Info   : Copyright (C) 1996-2026, and MIT licensed, by the FEPX authors.
Info   : ---------------------------------------------------------------
Info   : Loading simulation...
Info   :   [i] Parsing file `simulation.cfg'...
Info   :   [i] Parsed file `simulation.cfg'.
Info   :   [i] Parsing file `simulation.msh'...
Info   :   [i] Parsed file `simulation.msh'.
Info   :   - Material parameters:
Info   :     > Number of phases: 1
Info   :     > Phase 1: hcp, crystal_plasticity
Info   :       . c11:                       1.6966E+05 MPa
Info   :       . c12:                       8.8660E+04 MPa
Info   :       . c13:                       6.1660E+04 MPa
Info   :       . c33:                       1.9666E+05 MPa
Info   :       . c44:                       4.2500E+04 MPa
Info   :       . c_over_a:                  1.5870E+00
Info   :       . m:                         1.0000E-02 1.0000E-02
Info   :                                    1.0000E-02
Info   :       . gammadot_0:                1.0000E+00 1.0000E+00
Info   :                                    1.0000E+00 1/s
Info   :       . hardening:                 saturation_anisotropic
Info   :       . tau_0:                     3.9000E+02 4.6800E+02
Info   :                                    6.6300E+02 MPa
Info   :       . h_0:                       1.9000E+02 MPa
Info   :       . tau_s:                     7.0000E+02 MPa
Info   :       . n:                         1.0000E+00
Info   :       . interaction_matrix:        1.0 1.4 1.4 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        1.4 1.0 1.4 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        1.4 1.4 1.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 1.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 1.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 1.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 1.0
Info   :                                    1.4 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 1.4
Info   :                                    1.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 1.0 1.4 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 1.4 1.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 1.0 1.4 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 1.4 1.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 1.0 1.4
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 1.4 1.0
Info   :                                    0.0 0.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    1.0 1.4 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    1.4 1.0 0.0 0.0
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 1.0 1.4
Info   :       . interaction_matrix:        0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 0.0 0.0 0.0 0.0 0.0
Info   :                                    0.0 0.0 1.4 1.0
Info   :       . saturation_evolution:      on
Info   :       . gammadot_s0:               1.0000E+00 1/s
Info   :       . m_prime:                   1.1000E+00
Info   :       . cyclic_hardening:          off (def.)
Info   :       . precipitate_strengthening: off (def.)
Info   :   - Loading: boundary_conditions triaxial, 2 steps
Info   :     > Triaxial load control: elastic estimate E = 1.2226E+05
Info   :       MPa, nu = 3.0896E-01
Info   :     > Triaxial load control: initial face velocities
Info   :       -1.0000E-04 -8.9447E-21 1.0000E-04 mm/s
Info   :     > Step 1: target_load 11 -3.0000E+02 N from t = 0.0000E+00
Info   :       s, increments 2.5000E-01 to 5.0000E+00 s
Info   :       . Component 22: target_load 0.0000E+00 N
Info   :         (load-controlled)
Info   :       . Component 33: target_load 3.0000E+02 N
Info   :         (load-controlled)
Info   :   - Options other than the defaults: (none)
Info   :   - Output: coo strain_pl_eq work_pl forces stress strain
Info   :     (format ascii)
Info   :   - Mesh parameters:
Info   :     > Node number: 8737
Info   :     > Elt  number: 5641 (10-node tetrahedra)
Info   :     > Elsets: 50; partitions: 4
Info   :   - Partitioning: 4 ranks
Info   :     > Elements per rank: 1410 to 1411
Info   :     > Ghost nodes per rank: 224 to 305 (1047 in total)
Info   :     > Neighbors per rank: 3 to 3
Info   :   [o] Writing results to `simulation.sim'...
Info   : Initializing simulation...
Info   :   - Elastic step of 3.6565E-01 s (step 1)
Info   :     > Iteration 1 (SA): R = 3.7218E-02 (241 CG iterations)
Info   :     > Iteration 2 (SA): R = 2.1317E-06 (236 CG iterations)
Info   :     > Converged in 2 iterations (1.841 s)
Info   : Running step 1...
Info   :   - Increment 1: t = 5.0000E+00 s, dt = 4.6344E+00 s
Info   :     > Iteration 1 (SA): R = 3.6324E-05 (229 CG iterations)
Info   :     > Iteration 2 (NR): R = 3.5571E-08 (241 CG iterations)
Info   :     > Converged in 2 iterations (1.997 s)
Info   :     > Load iteration 1: face velocities -1.00000E-04
Info   :       -8.94471E-21 1.00000E-04 mm/s; 22: -1.033575E+00 (to
Info   :       reach 0.000000E+00) N; 33: 4.880418E+01 (to reach
Info   :       4.780898E+01) N;
Info   :     > Iteration 1 (SA): R = 1.5681E-05 (234 CG iterations)
Info   :     > Iteration 2 (NR): R = 1.2751E-08 (234 CG iterations)
Info   :     > Converged in 2 iterations (1.983 s)
Info   :     > Iteration 1 (SA): R = 2.1549E-05 (245 CG iterations)
Info   :     > Iteration 2 (NR): R = 1.6939E-08 (234 CG iterations)
Info   :     > Converged in 2 iterations (1.992 s)
Info   :     > Iteration 1 (SA): R = 8.0796E-04 (245 CG iterations)
Info   :     > Iteration 2 (NR): R = 6.4962E-07 (231 CG iterations)
Info   :     > Converged in 2 iterations (2.018 s)
Info   :     > Load iteration 2: face velocities -1.00000E-04
Info   :       2.46311E-06 9.75604E-05 mm/s; 22: -4.097741E-05 (to reach
Info   :       0.000000E+00) N; 33: 4.774465E+01 (to reach 4.774471E+01)
Info   :       N;
  [...]
Info   : Final step terminated. Simulation completed successfully.
Info   :   [o] Wrote results to `simulation.sim'.
Info   :   - Increments: 13
Info   :   - Global iterations: 118 (61 NR)
Info   :   - CG iterations: 29752
Info   :   - Warnings issued: 0
Info   :   - Wall time per phase:
Info   :     > Input and setup:                      0.113 s
Info   :     > Initialization:                       1.853 s
Info   :     > Increments:                         109.972 s
Info   :       . Element and material work:         82.737 s
Info   :       . CG:                                26.512 s
Info   :       . Other:                              0.722 s
Info   :     > Output:                               0.474 s
Info   : Elapsed time:                             112.412 s
========================================================================
simulation.sim
|-- inputs
|   |-- simulation.cfg
|   `-- simulation.msh
`-- results
    |-- elts
    |   |-- strain
    |   |   |-- strain.step0
    |   |   |-- strain.step1
    |   |   `-- strain.step2
    |   |-- strain_pl_eq
    |   |   |-- strain_pl_eq.step0
    |   |   |-- strain_pl_eq.step1
    |   |   `-- strain_pl_eq.step2
    |   |-- stress
    |   |   |-- stress.step0
    |   |   |-- stress.step1
    |   |   `-- stress.step2
    |   `-- work_pl
    |       |-- work_pl.step0
    |       |-- work_pl.step1
    |       `-- work_pl.step2
    |-- forces
    |   |-- x0
    |   |-- x1
    |   |-- y0
    |   |-- y1
    |   |-- z0
    |   `-- z1
    |-- mesh
    |   |-- strain
    |   |   |-- strain.step0
    |   |   |-- strain.step1
    |   |   `-- strain.step2
    |   `-- stress
    |       |-- stress.step0
    |       |-- stress.step1
    |       `-- stress.step2
    `-- nodes
        `-- coo
            |-- coo.step0
            |-- coo.step1
            `-- coo.step2

Simulation Results#

../../_images/curves4.png

Fig. 24 (left) Volume-averaged normal stresses against the normal strains at the ends of the steps; (right) normal stresses of faces x1, y1 and z1 (force over current area) at every increment: the stress 11 rises twice as fast in step 2.#

../../_images/work_pl.png

Fig. 25 Plastic work at the end of step 2 (displacements magnified 10 times). Unlike in a uniaxial simulation, the faces stay plane under triaxial control.#

../../_images/strain_pl_eq.png

Fig. 26 Equivalent plastic strain at the end of step 2 (displacements magnified 10 times).#

The commands:

$ neper -S simulation.sim -resmesh stress,strain
$ neper -V simulation.msh -showelt1d all -dataelt1drad 0.004 -dataelt3dedgerad 0.0015 \
    -dataelt3dedgecol 32:32:32 -cameraangle 13.5 -imagesize 800:800 -dataelsetcol id \
    -print img_mesh
$ convert img_mesh.png -trim -bordercolor white -border 20 -resize 600x600 -strip \
    PNG8:mesh.png
$ neper -V simulation.sim -step 2 -datanodecoo coo -datanodecoofact 10 -showelt1d all \
    -dataelt1drad 0.004 -dataelt3dedgerad 0.0015 -dataelt3dedgecol 32:32:32 -cameraangle \
    13.5 -imagesize 800:800 -dataeltcol work_pl -dataeltscale \
    0.0:0.5:1.0:1.5:2.0:2.5:3.0:3.5 -print img_work_pl
$ convert "(" img_work_pl.png -trim ")" "(" -size 40x1 xc:white ")" "(" -size 240x \
    -background white -font DejaVu-Serif -pointsize 30 "caption:Plastic work [mJ]" \
    -bordercolor white -border 0x12 "(" img_work_pl-scale3d.png -trim ")" -gravity west \
    -append ")" -background white -gravity center +append -bordercolor white -border 20 \
    -resize 600x600 -strip PNG8:work_pl.png
$ neper -V simulation.sim -step 2 -datanodecoo coo -datanodecoofact 10 -showelt1d all \
    -dataelt1drad 0.004 -dataelt3dedgerad 0.0015 -dataelt3dedgecol 32:32:32 -cameraangle \
    13.5 -imagesize 800:800 -dataeltcol strain_pl_eq -dataeltscale \
    0.000:0.001:0.002:0.003:0.004:0.005:0.006:0.007 -print img_strain_pl_eq
$ convert "(" img_strain_pl_eq.png -trim ")" "(" -size 40x1 xc:white ")" "(" -size 240x \
    -background white -font DejaVu-Serif -pointsize 30 \
    "caption:Equivalent plastic strain" -bordercolor white -border 0x12 "(" \
    img_strain_pl_eq-scale3d.png -trim ")" -gravity west -append ")" -background white \
    -gravity center +append -bordercolor white -border 20 -resize 600x600 -strip \
    PNG8:strain_pl_eq.png
$ python3 tutorial_pages.py plot multiaxial_csr . simulation.sim