OpenFOAM mesh import fails even for a validated 8-cell cube

Hello SimScale Support,

I am learning Gmsh and trying to import a NACA2412 wing mesh into SimScale. Both the wing and a tiny, validated OpenFOAM cube fail with the same generic upload error. I only need to import the mesh; no simulations have been created or run.

Public project: https://www.simscale.com/workbench/?pid=4686019885636979974

Environment: Windows, Brave, blueCFD-Core / OpenFOAM 12.

Reproduction with a small control mesh

  1. Open Geometries → Create (the “Import Geometry” dialog).
  2. Select a ZIP or TAR.GZ containing constant/polyMesh, with no extra enclosing case directory.
  3. Select OpenFOAM (.foam) when the archive initially shows “Unidentified file format.”
  4. Click Import.

The error is:

Upload failed. An unexpected error occurred. Please try again, and if the issue persists, contact our support for assistance.

The control cube was generated with blockMesh: 8 hexahedral cells, with inlet, outlet and walls patches. checkMesh reports Mesh OK, zero skewness and zero non-orthogonality. Its mesh files are ASCII with version 2.0; in each FoamFile dictionary; the generating case uses writeFormat ascii;. Extra blueCFD banner comments were removed from the upload copy.

  • Cube ZIP (~2 KB): error N1JsG0bt.
  • Cube TAR.GZ (~1 KB), after reloading the workbench: 69a9NZfB.

Checks already tried

I followed the mesh upload documentation. SimScale’s system check reports fully compatible, trace 73d4c25e, including platform/storage uploads, WebGL and WebSockets.

The 2,029,549-cell wing also fails with unchanged constant-folder ZIP, cleaned banner comments, mesh-only ZIP/TAR.GZ, and minimal ASCII headers with LF line endings. Example wing errors: FJ7gHStN and NEy1n6R2. The wing has unused points and skewed faces, but the clean cube has neither issue and still fails.

Could you inspect the cube’s backend error and confirm whether our archive structure or format needs changing?

The wing and cube ZIP packages were supplied through the website support chat. The forum uploader rejected ZIP attachments; please advise how to share the archives here if needed. Ray referred me to this forum for case-specific support.

Thank you,
David

Hi David,

Thanks for the detailed explanation and for sharing the troubleshooting steps you’ve already tried!

I had a look at your project, but unfortunately, I couldn’t find any uploaded geometry or mesh to investigate.

Since even your simple cube mesh fails to upload, I would recommend checking a few things:

  • Archive structure: Make sure constant/polyMesh/ is located directly at the root of the archive, without an additional enclosing folder.

  • File format: Ensure the mesh files are uncompressed ASCII files with valid OpenFOAM headers.

  • Boundary definitions: Check that the boundary file contains valid patch definitions and that all boundary faces are properly assigned.

You can also refer to our mesh upload documentation for the expected format.

However, since you’ve already performed several of these checks, I can’t confirm the exact cause from the information available.

Would it be possible to share your cube mesh archive with us again? I’d be happy to take a closer look at the files to help identify the issue.

Cheers,
Bryan