gmsh-meshing

gmsh Meshing Skill — CLI, .geo scripting, Python API, and solver integration

5 stars

Best use case

gmsh-meshing is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

gmsh Meshing Skill — CLI, .geo scripting, Python API, and solver integration

Teams using gmsh-meshing should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/gmsh-meshing/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/engineering/cad/gmsh-meshing/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/gmsh-meshing/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How gmsh-meshing Compares

Feature / Agentgmsh-meshingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

gmsh Meshing Skill — CLI, .geo scripting, Python API, and solver integration

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Gmsh Meshing

## When to Use This Skill

Use this skill when you need to:
- Generate surface panel meshes for BEM hydrodynamic solvers
- Create structured (transfinite) or unstructured meshes
- Script parametric geometries with .geo or Python API
- Perform boolean/CSG operations via OpenCASCADE kernel
- Import and remesh STEP, STL, or IGES geometry
- Control mesh density with size fields (distance, threshold, background)
- Export meshes to AQWA (.DAT), WAMIT (.GDF), Nemoh, or general formats (MSH, STL, VTK, UNV)
- Batch-generate meshes from the command line

**Cross-references:**
- GDF/CDB export code → `skills/data/scientific/cad-mesh-generation/SKILL.md`
- Mesh inspection/conversion → `skills/engineering/marine-offshore/mesh-utilities/SKILL.md`

## Resources

### Online Documentation

- **Official docs**: https://gmsh.info/doc/texinfo/gmsh.html
- **Python API reference**: https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-API
- **Tutorials**: https://gmsh.info/#Tutorials
- **Source repository**: https://gitlab.onelab.info/gmsh/gmsh
### Local Installation

- **Executable**: `D:\software\gmsh\gmsh-4.15.0-Windows64\gmsh.exe`
- **Tutorials (.geo)**: `D:\software\gmsh\gmsh-4.15.0-Windows64\tutorials\t1.geo` through `t21.geo`
- **Python tutorials**: `D:\software\gmsh\gmsh-4.15.0-Windows64\tutorials\python\`
- **API examples**: `D:\software\gmsh\gmsh-4.15.0-Windows64\examples\api\`
- **Boolean examples**: `D:\software\gmsh\gmsh-4.15.0-Windows64\examples\boolean\`
### Tutorial Index

See `assets/gmsh-reference.md` for complete tutorial descriptions and CLI options reference.
### Related Skills

- `skills/data/scientific/cad-mesh-generation/SKILL.md` — FreeCAD + gmsh workflows, GDF/CDB export
- `skills/engineering/marine-offshore/mesh-utilities/SKILL.md` — mesh inspection, conversion, quality checks
- `skills/engineering/cad/cad-engineering/SKILL.md` — general CAD engineering
- `skills/engineering/cad/freecad-automation/SKILL.md` — FreeCAD automation

## Sub-Skills

- [Common Issues (+1)](common-issues/SKILL.md)

## Sub-Skills

- [Executable (+2)](executable/SKILL.md)
- [Batch Meshing (+2)](batch-meshing/SKILL.md)
- [Geometry Primitives (+5)](geometry-primitives/SKILL.md)
- [Initialization and Model Management (+6)](initialization-and-model-management/SKILL.md)
- [Box Barge Surface Mesh (BEM) (+4)](box-barge-surface-mesh-bem/SKILL.md)
- [Export to AQWA (.DAT Format) (+4)](export-to-aqwa-dat-format/SKILL.md)
- [Quality Metrics (+1)](quality-metrics/SKILL.md)

Related Skills

html-report-verify

5
from vamseeachanta/workspace-hub

Visual + structural verification of HTML benchmark/validation reports using the Codex-in-Chrome extension. Opens the report in a browser, takes screenshots, checks key DOM elements, and produces a PASS/FAIL verdict. Generic by default; module-specific check lists extend the base set.

hydrodynamic-pipeline-gmsh-panel-mesh-for-hydrodynamics

5
from vamseeachanta/workspace-hub

Sub-skill of hydrodynamic-pipeline: Gmsh Panel Mesh for Hydrodynamics (+3).

gmsh-openfoam-orcaflex-stub-mode-details

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Stub Mode Details.

gmsh-openfoam-orcaflex-real-mode-requirements

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Real Mode Requirements.

gmsh-openfoam-orcaflex-quick-invocation

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Quick Invocation.

gmsh-openfoam-orcaflex-gate-1-mesh-quality

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Gate 1 — Mesh Quality (+1).

gmsh-openfoam-orcaflex-file-map

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: File Map.

gmsh-openfoam-orcaflex-error-propagation-map

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Error Propagation Map.

gmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymesh

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Converter 1: Gmsh .msh → OpenFOAM polyMesh (+1).

gmsh-openfoam-orcaflex-agent-usage-pattern

5
from vamseeachanta/workspace-hub

Sub-skill of gmsh-openfoam-orcaflex: Agent Usage Pattern.

gmsh-openfoam-orcaflex

5
from vamseeachanta/workspace-hub

Multi-physics simulation pipeline — Gmsh mesh generation → OpenFOAM CFD → OrcaFlex structural/mooring analysis. Agent-callable end-to-end workflow that passes geometry, fluid loads, and structural response through three solvers in sequence with validated handoffs at each step. Stub/mock fallbacks for environments without solver licenses.

cfd-pipeline-path-a-freecadcad-to-gmsh

5
from vamseeachanta/workspace-hub

Sub-skill of cfd-pipeline: Path A: FreeCAD/CAD to Gmsh (+3).