{ "cells": [ { "cell_type": "markdown", "id": "msh-intro", "metadata": {}, "source": [ "# Meshing a grain grid into hex\n", "\n", "Turn a voxel or tessellation grain grid into a hexahedral CPFE mesh with `VoxelMeshBuilder`. Two paths are available through `VoxelMeshBuilder.mesh()`: `mesher=\"sculpt\"` builds a conformal hex mesh with CUBIT/SCULPT, and `mesher=\"voxel\"` writes a direct voxel-to-Exodus dump with no external tools. The recommendations below come from a 12-case microstructure study.\n", "\n", "**Needs:** CUBIT/SCULPT for the `sculpt` path (the `voxel` path needs no external tools).\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 \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.