gmsh-meshing-box-barge-surface-mesh-bem
Sub-skill of gmsh-meshing: Box Barge Surface Mesh (BEM) (+4).
Best use case
gmsh-meshing-box-barge-surface-mesh-bem is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of gmsh-meshing: Box Barge Surface Mesh (BEM) (+4).
Teams using gmsh-meshing-box-barge-surface-mesh-bem 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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/box-barge-surface-mesh-bem/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gmsh-meshing-box-barge-surface-mesh-bem Compares
| Feature / Agent | gmsh-meshing-box-barge-surface-mesh-bem | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of gmsh-meshing: Box Barge Surface Mesh (BEM) (+4).
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
# Box Barge Surface Mesh (BEM) (+4)
## Box Barge Surface Mesh (BEM)
Typical marine box barge for hydrodynamic BEM analysis. Only the wetted surface is meshed (no deck).
```python
import gmsh
import numpy as np
def create_box_barge_mesh(
length: float,
beam: float,
draft: float,
*See sub-skills for full details.*
## Cylinder Panel Mesh
```python
def create_cylinder_mesh(
radius: float,
draft: float,
mesh_size: float = 1.0,
output_file: str = "cylinder.msh"
):
"""Create cylinder wetted surface mesh for BEM analysis."""
gmsh.initialize()
gmsh.model.add("cylinder")
*See sub-skills for full details.*
## STEP/STL Import and Remesh
```python
def remesh_step_file(
step_file: str,
mesh_size: float = 1.0,
output_file: str = "remeshed.msh"
):
"""Import STEP geometry and generate new mesh."""
gmsh.initialize()
gmsh.model.add("imported")
*See sub-skills for full details.*
## Transfinite Structured Mesh
```python
def create_structured_plate(
lx: float, ly: float,
nx: int, ny: int,
output_file: str = "plate.msh"
):
"""Create a structured quad mesh on a rectangular plate."""
gmsh.initialize()
gmsh.model.add("plate")
*See sub-skills for full details.*
## Field-Based Refinement
```python
def create_refined_mesh(output_file: str = "refined.msh"):
"""Mesh with distance-based refinement near a feature."""
gmsh.initialize()
gmsh.model.add("refined")
# Create geometry (example: plate with hole)
gmsh.model.occ.addRectangle(0, 0, 0, 20, 10)
gmsh.model.occ.addDisk(10, 5, 0, 2, 2)
gmsh.model.occ.cut([(2, 1)], [(2, 2)])
*See sub-skills for full details.*Related Skills
orcawave-mesh-generation
Panel mesh generation for OrcaWave diffraction analysis. Use when converting CAD/STL to panel mesh, validating mesh quality, running convergence studies, or generating GDF files for hydrodynamic computations.
cad-mesh-generation
Generate parametric CAD geometry and finite element meshes using FreeCAD and GMSH
ace-linux-1-control-surface
Operate ace-linux-1 as the continuous AI-agent control surface for overnight and continuous batches that keep GTM material moving toward client outreach.
hydrodynamic-pipeline-gmsh-panel-mesh-for-hydrodynamics
Sub-skill of hydrodynamic-pipeline: Gmsh Panel Mesh for Hydrodynamics (+3).
hydrodynamic-pipeline-checkpoint-1-mesh-quality
Sub-skill of hydrodynamic-pipeline: Checkpoint 1: Mesh Quality (+2).
gmsh-openfoam-orcaflex-stub-mode-details
Sub-skill of gmsh-openfoam-orcaflex: Stub Mode Details.
gmsh-openfoam-orcaflex-real-mode-requirements
Sub-skill of gmsh-openfoam-orcaflex: Real Mode Requirements.
gmsh-openfoam-orcaflex-quick-invocation
Sub-skill of gmsh-openfoam-orcaflex: Quick Invocation.
gmsh-openfoam-orcaflex-gate-1-mesh-quality
Sub-skill of gmsh-openfoam-orcaflex: Gate 1 — Mesh Quality (+1).
gmsh-openfoam-orcaflex-file-map
Sub-skill of gmsh-openfoam-orcaflex: File Map.
gmsh-openfoam-orcaflex-error-propagation-map
Sub-skill of gmsh-openfoam-orcaflex: Error Propagation Map.
gmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymesh
Sub-skill of gmsh-openfoam-orcaflex: Converter 1: Gmsh .msh → OpenFOAM polyMesh (+1).