{ "cells": [ { "cell_type": "markdown", "id": "nf-intro", "metadata": {}, "source": [ "# NF mesh reconstruction\n", "\n", "Reconstruct a high-resolution 3D mesh from near-field (NF) HEDM `.mic` layers via voxel segmentation and CUBIT/SCULPT hex meshing, using `NearFieldMeshBuilder`. Use this to produce an Exodus `mesh.e` and per-element MRP orientations from NF data to drive CPFE, typically paired with an FF residual-strain initial condition.\n", "\n", "**Needs:** CUBIT/SCULPT (via `sculpt_config`). The driver must run under an `if __name__ == \"__main__\"` guard: NF reconstruction uses `multiprocess.Pool`.\n", "\n", "
Tier B: needs CUBIT/SCULPT
\n", "This notebook needs CUBIT's psculpt and epu, 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 — 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.