{ "cells": [ { "cell_type": "markdown", "id": "mc-intro", "metadata": {}, "source": [ "# Material calibration\n", "\n", "Calibrate six crystal-plasticity parameters (elastic E, nu, G, slip strength, Voce hardening slope and saturation) to a macroscopic stress-strain curve plus full-field elastic strains. Fitting uses a neml2 v3 + pyzag analytic-adjoint Taylor model driven by LBFGS, through `MaterialCalibration` and `TaylorModel`. Run this to fit material parameters before CPFE.\n", "\n", "**Needs:** NEML2 v3 only (no MOOSE); CUDA optional. See [installation](../install.rst).\n", "\n", "
Tier B: needs NEML2 v3 + pyzag
\n", "This notebook needs NEML2 v3 with pyzag, which is not available in CI or Google Colab, so it is not executed when these docs are built. It ships as an annotated code listing with no stored output \u2014 nothing on this page is a hand-written or fabricated result. Run it in a configured environment (see the installation guide) to produce the figures, and run it from the repository root so the mwe_data/ paths resolve.