Multiaxial Control at a Constant Load Rate#

A two-phase polycrystal of 50 grains in the unit cube is used, with its phases in the mesh’s $Groups section:

../../_images/phases.png

Fig. 27 The mesh colored by phase: austenite (fcc, grains 1 to 25) in red, ferrite (bcc, grains 26 to 50) in green.#

The material is an LDX-2101 steel:

Table 17 Single-crystal elastic constants.#

Phase

Crystal type

\(c_{11}\) [MPa]

\(c_{12}\) [MPa]

\(c_{44}\) [MPa]

1 (austenite, \(\gamma\))

FCC

\(204.6 \times 10^3\)

\(137.7 \times 10^3\)

\(126.2 \times 10^3\)

2 (ferrite, \(\alpha\))

BCC

\(236.9 \times 10^3\)

\(140.6 \times 10^3\)

\(116.0 \times 10^3\)

Table 18 Plasticity parameters (both phases; saturation_isotropic hardening).#

\(m\) [-]

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

\(\tau_0\) [MPa]

\(h_0\) [MPa]

\(\tau_s\) [MPa]

\(n\) [-]

0.02

1.0

200.0

391.9

335.0

1.0

The polycrystal is loaded with triaxial control at a constant load rate of 2 N/s on component 33 (control_component 33), the loads 11 and 22 controlled to keep the ratios -0.375 : -0.625 : 1, to 100 N (step 1) and 250 N (step 2); the loads are then held for 75 s (step 3, a dwell: load_rate 0 and target_duration) and the sample is unloaded to zero (step 4). During the dwell every load is held where step 2 left it (load_rate 0 on 11 and 22 as well). The load steps are cut into equal increments (number_of_incrs). The nodal coordinates, the slip strengths, the stresses and strains, and the face forces are written.

Input Files#

## FEPX tutorial "Multiaxial control at a constant load rate": a 50-grain fcc/bcc polycrystal
## (LDX-2101 steel) loaded at 2 N/s on 33 with the loads in fixed ratios, a 75 s dwell, unloading.

## Material
number_of_phases 2
phase 1
  crystal_type FCC
  model crystal_plasticity
  c11 204.6e3
  c12 137.7e3
  c44 126.2e3
  m 0.02
  gammadot_0 1.0
  tau_0 200.0
  hardening saturation_isotropic
  h_0 391.9
  tau_s 335.0
  n 1.0
phase 2
  crystal_type BCC
  model crystal_plasticity
  c11 236.9e3
  c12 140.6e3
  c44 116.0e3
  m 0.02
  gammadot_0 1.0
  tau_0 200.0
  hardening saturation_isotropic
  h_0 391.9
  tau_s 335.0
  n 1.0

## Loading
boundary_conditions triaxial
control_component 33
number_of_steps 4
#                 comp  step 1  step 2   step 3   step 4
load_rate         33    2.0     2.0      0.0     -2.0
target_load       33    100.0   250.0    -        0.0
target_duration         -       -        75.0     -
target_load       11   -37.50  -93.75   -        0.0
target_load       22   -62.50  -156.25  -        0.0
load_rate         11    -       -        0.0      -
load_rate         22    -       -        0.0      -
number_of_incrs         1       3        -        4
dtime                   -       -        25.0     -
max_strain_incr 0.002

## Output
print coo
print crss
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: 2
Info   :     > Phase 1: fcc, crystal_plasticity
Info   :       . c11:                       2.0460E+05 MPa
Info   :       . c12:                       1.3770E+05 MPa
Info   :       . c44:                       1.2620E+05 MPa
Info   :       . m:                         2.0000E-02
Info   :       . gammadot_0:                1.0000E+00 1/s
Info   :       . hardening:                 saturation_isotropic
Info   :       . tau_0:                     2.0000E+02 MPa
Info   :       . h_0:                       3.9190E+02 MPa
Info   :       . tau_s:                     3.3500E+02 MPa
Info   :       . n:                         1.0000E+00
Info   :       . saturation_evolution:      off (def.)
Info   :       . cyclic_hardening:          off (def.)
Info   :       . precipitate_strengthening: off (def.)
Info   :     > Phase 2: bcc, crystal_plasticity
Info   :       . c11:                       2.3690E+05 MPa
Info   :       . c12:                       1.4060E+05 MPa
Info   :       . c44:                       1.1600E+05 MPa
Info   :       . m:                         2.0000E-02
Info   :       . gammadot_0:                1.0000E+00 1/s
Info   :       . hardening:                 saturation_isotropic
Info   :       . tau_0:                     2.0000E+02 MPa
Info   :       . h_0:                       3.9190E+02 MPa
Info   :       . tau_s:                     3.3500E+02 MPa
Info   :       . n:                         1.0000E+00
Info   :       . saturation_evolution:      off (def.)
Info   :       . cyclic_hardening:          off (def.)
Info   :       . precipitate_strengthening: off (def.)
Info   :   - Loading: boundary_conditions triaxial, 4 steps
Info   :     > Triaxial load control: elastic estimate E = 2.2646E+05
Info   :       MPa, nu = 2.7247E-01
Info   :     > Step 1: load_rate 33 2.0000E+00 N/s, t = 0.0000E+00 ->
Info   :       5.0000E+01 s, 1 increment to 1.0000E+02
Info   :       . Component 11: target_load -3.7500E+01 N
Info   :         (load-controlled)
Info   :       . Component 22: target_load -6.2500E+01 N
Info   :         (load-controlled)
Info   :   - Options other than the defaults:
Info   :     > max_strain_incr 2.0000E-03
Info   :   - Output: coo crss forces stress strain (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   :   - No elastic step (step 1 has a load or stress rate)
Info   : Running step 1...
Info   :   - Step 1: loading
Info   :   - Increment 1: t = 5.0000E+01 s, dt = 5.0000E+01 s
Info   :     > Iteration 1 (SA): R = 8.8200E-02 (252 CG iterations)
Info   :     > Iteration 2 (SA): R = 7.1160E-05 (239 CG iterations)
Info   :     > Converged in 2 iterations (1.679 s)
Info   :     > Load iteration 1: face velocities -4.21423E-06
Info   :       -7.02372E-06 1.12380E-05 mm/s; 11: -2.777450E+01 (to
Info   :       reach -3.750000E+01) N; 22: -5.408030E+01 (to reach
Info   :       -6.250000E+01) N; 33: 8.252580E+01 (to reach
Info   :       1.000000E+02) N;
Info   :     > Iteration 1 (SA): R = 1.0210E-05 (242 CG iterations)
Info   :     > Iteration 2 (NR): R = 1.1749E-08 (246 CG iterations)
Info   :     > Converged in 2 iterations (1.678 s)
Info   :     > Load iteration 2: face velocities -4.63566E-06
Info   :       -7.72610E-06 1.23618E-05 mm/s; 11: -3.055949E+01 (to
Info   :       reach -3.750000E+01) N; 22: -5.949879E+01 (to reach
Info   :       -6.250000E+01) N; 33: 9.076186E+01 (to reach
Info   :       1.000000E+02) N;
Info   :     > Iteration 1 (SA): R = 4.5182E-04 (246 CG iterations)
Info   :     > Iteration 2 (NR): R = 3.9733E-07 (232 CG iterations)
Info   :     > Converged in 2 iterations (1.617 s)
Info   :     > Iteration 1 (SA): R = 5.2097E-04 (247 CG iterations)
Info   :     > Iteration 2 (NR): R = 4.3126E-07 (244 CG iterations)
Info   :     > Converged in 2 iterations (1.639 s)
Info   :     > Iteration 1 (SA): R = 5.7149E-04 (252 CG iterations)
Info   :     > Iteration 2 (NR): R = 5.2580E-07 (242 CG iterations)
Info   :     > Converged in 2 iterations (1.913 s)
Info   :     > Iteration 1 (SA): R = 8.1994E-03 (252 CG iterations)
Info   :     > Iteration 2 (NR): R = 8.2856E-06 (241 CG iterations)
Info   :     > Converged in 2 iterations (1.886 s)
Info   :     > Load iteration 3: face velocities -5.53142E-06
Info   :       -8.15055E-06 1.36555E-05 mm/s; 11: -3.750119E+01 (to
Info   :       reach -3.750000E+01) N; 22: -6.250075E+01 (to reach
Info   :       -6.250000E+01) N; 33: 9.999825E+01 (to reach
Info   :       1.000000E+02) N;
Info   :   - Step 1: control 33 at 9.999825E+01 N after 1 increment, t =
Info   :     5.0000E+01 s
  [...]
Info   : Final step terminated. Simulation completed successfully.
Info   :   [o] Wrote results to `simulation.sim'.
Info   :   - Increments: 12
Info   :   - Global iterations: 143 (56 NR)
Info   :   - CG iterations: 38479
Info   :   - Warnings issued: 0
Info   :   - Wall time per phase:
Info   :     > Input and setup:                      0.115 s
Info   :     > Initialization:                       0.000 s
Info   :     > Increments:                         128.893 s
Info   :       . Element and material work:         94.684 s
Info   :       . CG:                                33.603 s
Info   :       . Other:                              0.607 s
Info   :     > Output:                               0.960 s
Info   : Elapsed time:                             129.969 s
========================================================================
simulation.sim
|-- inputs
|   |-- simulation.cfg
|   `-- simulation.msh
`-- results
    |-- elts
    |   |-- crss
    |   |   |-- crss.step0
    |   |   |-- crss.step1
    |   |   |-- ...
    |   |   `-- crss.step4
    |   |-- strain
    |   |   |-- strain.step0
    |   |   |-- strain.step1
    |   |   |-- ...
    |   |   `-- strain.step4
    |   `-- stress
    |       |-- stress.step0
    |       |-- stress.step1
    |       |-- ...
    |       `-- stress.step4
    |-- forces
    |   |-- x0
    |   |-- x1
    |   |-- y0
    |   |-- y1
    |   |-- z0
    |   `-- z1
    |-- mesh
    |   |-- strain
    |   |   |-- strain.step0
    |   |   |-- strain.step1
    |   |   |-- ...
    |   |   `-- strain.step4
    |   `-- stress
    |       |-- stress.step0
    |       |-- stress.step1
    |       |-- ...
    |       `-- stress.step4
    `-- nodes
        `-- coo
            |-- coo.step0
            |-- coo.step1
            |-- ...
            `-- coo.step4

Simulation Results#

../../_images/curves3.png

Fig. 28 (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: loading, dwell (the stresses held) and unloading.#

../../_images/crss1.png

Fig. 29 Slip strength of system 1 after unloading (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 group \
    -print img_phases
$ convert img_phases.png -trim -bordercolor white -border 20 -resize 600x600 -strip \
    PNG8:phases.png
$ neper -V simulation.sim -step 4 -datanodecoo coo -datanodecoofact 10 -showelt1d all \
    -dataelt1drad 0.004 -dataelt3dedgerad 0.0015 -dataelt3dedgecol 32:32:32 -cameraangle \
    13.5 -imagesize 800:800 -dataeltcol crss1 -dataeltscale \
    200.00:200.25:200.50:200.75:201.00:201.25:201.50:201.75:202.00 -print img_crss1
$ convert "(" img_crss1.png -trim ")" "(" -size 40x1 xc:white ")" "(" -size 240x \
    -background white -font DejaVu-Serif -pointsize 30 "caption:CRSS, system 1 [MPa]" \
    -bordercolor white -border 0x12 "(" img_crss1-scale3d.png -trim ")" -gravity west \
    -append ")" -background white -gravity center +append -bordercolor white -border 20 \
    -resize 600x600 -strip PNG8:crss1.png
$ python3 tutorial_pages.py plot multiaxial_clr . simulation.sim