Hi all,
I'm trying to import a periodic unit-cell mesh (Abaqus .inp format) into Multiscale Designer 2025 via New Multiscale Model > User-defined > Mesh File > Import, and it consistently crashes with:
"An exception of class NilObjectException was not handled. The application must shut down."
This happens even with the simplest possible test case, and I've been able to rule out essentially every content-related cause I could think of. Meshing/export was done in Altair HyperMesh 2022.3.0.24 (classic interface), on Windows (German locale). I've reproduced the crash on two independent machines/installations.
Here's the diagnostic path so far:
I started with a more complex model (a rhombic-dodecahedron-derived lattice embedded in a cubic matrix, two materials/phases). The file was flat Abaqus format (no Part/Instance nesting), used only C3D4 tetrahedra, had correct ELSET syntax for the two phases, and no obvious formatting issues in the coordinate data. Node numbering was gap-free from 1, but element numbering did not start at 1 — I fixed that. The boundary faces were also not truly periodic: only about 10% of boundary nodes coincided exactly between opposite faces, with deviations up to 1.8% of the cell edge length. I suspected that was the main cause. The crash persisted even after fixing the numbering.
So I rebuilt the mesh from the original STEP geometry, this time meshing all six boundary faces properly periodic using HyperMesh's classic Periodic Mesh tool (translation-based duplicate+map), then volume-meshed both phases with "match existing mesh" so the periodic boundary mesh wasn't altered. Export still produced the same NilObjectException.
To rule out geometric complexity, I built a much simpler test model: a cube with a single cylindrical second phase. I verified numerically (nearest-neighbor check across all three axis pairs) that the periodic boundary mesh was exact — deviation below 1e-6, 100% of boundary nodes coincident. Along the way I also found and fixed a few export issues unrelated to periodicity: leftover S3 shell elements from the surface meshing stage (deleted before final export), and material/property cards missing entirely from the export because they'd been created under the wrong HyperMesh user profile (Nastran/OptiStruct MAT1/PSOLID cards instead of Abaqus MATERIAL/SOLID SECTION cards) — once corrected, *MATERIAL/*ELASTIC/*SOLID SECTION were present and correct. Node/element numbering also briefly regressed (gaps reappeared after deleting the S3 elements) and was fixed again via renumbering. The final file was re-verified against every criterion above. Despite that, the import still crashed with NilObjectException.
I then tried removing the large Altair XML metadata comment block that HyperMesh appends at the end of the export — no effect. I did a full Multiscale Designer configuration reset (deleted MultiScaleDesignerX.dat under %appdata%, renewed the UserMDB folder) — no effect. I tested an absolute bare-cube model (single material, no second phase at all, no geometric complexity whatsoever) — still NilObjectException. I tried the same bare cube positioned entirely in the positive octant (0…1) instead of straddling negative coordinates (-1…0) — still NilObjectException. Finally, I imported the identical bare-cube file on a second, completely independent machine/installation — identical crash.
At this point I've ruled out: geometric complexity, two-phase/material-interface structure, boundary periodicity, node/element numbering gaps, missing material/section cards, Part/Instance nesting, coordinate range (positive vs. negative octant), the trailing XML metadata block, and local installation/configuration corruption (since it reproduces on two separate installations).
Given that even a minimal, fully valid single-material periodic cube fails identically on two machines, this looks like a genuine bug in the newly introduced pre-scan/import mechanism for user-defined unit cells in Multiscale Designer 2025 (this workflow was reworked significantly for the 2025 release) rather than anything wrong with my input file.
Has anyone else run into this, or is there a known fix/patch? Happy to attach the test files if useful.