gmsh-meshing-box-barge-surface-mesh-bem

Sub-skill of gmsh-meshing: Box Barge Surface Mesh (BEM) (+4).

5 stars

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

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

Manual Installation

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

How gmsh-meshing-box-barge-surface-mesh-bem Compares

Feature / Agentgmsh-meshing-box-barge-surface-mesh-bemStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

Generate parametric CAD geometry and finite element meshes using FreeCAD and GMSH

ace-linux-1-control-surface

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

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

hydrodynamic-pipeline-checkpoint-1-mesh-quality

5
from vamseeachanta/workspace-hub

Sub-skill of hydrodynamic-pipeline: Checkpoint 1: Mesh Quality (+2).

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).