hpc-gmsh

Automate 2D and 3D mesh creation with Gmsh algorithms and export formats.

71|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/SciMate-AI/HPC-Skills --skill hpc-gmsh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hpc-gmsh
Source: https://github.com/SciMate-AI/HPC-Skills/tree/main/skills/hpc-gmsh
Command: npx skills add https://github.com/SciMate-AI/HPC-Skills --skill hpc-gmsh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gmsh, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of tools to build, review, debug, and automate Gmsh geometry and meshing workflows, enabling users to efficiently create high-quality meshes for complex simulations.

Core Features & Use Cases

  • Geometry Creation: Support for various geometry creation methods including OpenCASCADE and built-in GEO kernel.
  • Meshing Algorithms: Access to a range of meshing algorithms including Delaunay, Frontal-Delaunay, MeshAdapt, and HXT for 2D and 3D meshing.
  • Refinement Control: Fine-tune mesh refinement using boundary layer and field-based controls.
  • Solver Handoff: Export meshes in formats compatible with various solvers like FEniCS, OpenFOAM, Elmer, and SU2.
  • Use Case: A user working on a CFD simulation using OpenFOAM needs to create a mesh for a complex geometry. This Skill allows them to efficiently generate and export the mesh in the required format for OpenFOAM.

Quick Start

Use the hpc-gmsh skill to create a mesh for a geometry defined in 'airfoil.geo'.

Frequently Asked Questions about hpc-gmsh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Gmsh meshing for complex CFD geometries?

Automate Gmsh meshing by defining geometry through OpenCASCADE or GEO kernel and applying algorithms like Delaunay or Frontal-Delaunay. This creates high-quality 2D and 3D meshes for complex computational simulations.

Can I export Gmsh meshes for OpenFOAM or FEniCS solvers?

Yes, Gmsh meshes can be exported in formats compatible with various solvers including OpenFOAM, FEniCS, Elmer, and SU2. This ensures proper solver handoff for computational fluid dynamics and other simulations.

What is the best way to control mesh refinement in Gmsh?

Control mesh refinement in Gmsh using boundary layer and field-based controls. These mechanisms allow fine-tuning of mesh density to accurately capture flow gradients in critical CFD regions.

Does this Gmsh workflow support 3D meshing algorithms like HXT?

Yes, Gmsh supports multiple 3D meshing algorithms including HXT, Delaunay, Frontal-Delaunay, and MeshAdapt. Accessing these algorithms enables efficient volume mesh generation for complex geometries.

Do I need Gmsh installed to generate meshes for computational simulations?

Yes, you need the Gmsh library and relevant solver libraries installed. These dependencies are required to execute geometry creation, apply meshing algorithms, and generate high-quality meshes for simulations.

Why use OpenCASCADE vs built-in GEO kernel for Gmsh geometry creation?

OpenCASCADE offers advanced boolean operations for complex geometry creation, while the built-in GEO kernel provides lightweight scripting. Choosing between them depends on geometric complexity and workflow requirements.