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.

5 stars

Best use case

orcawave-mesh-generation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using orcawave-mesh-generation 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/mesh-generation/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/engineering/marine-offshore/orcawave/mesh-generation/SKILL.md"

Manual Installation

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

How orcawave-mesh-generation Compares

Feature / Agentorcawave-mesh-generationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

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

# Orcawave Mesh Generation

## When to Use

- Converting CAD geometry (STL, OBJ, STEP) to OrcaWave panel mesh
- Generating GDF (Geometry Definition File) for OrcaWave
- Running mesh convergence studies
- Validating mesh quality (watertight, normals, aspect ratio)
- Optimizing waterline panel refinement
- Checking symmetry and enforcing port/starboard symmetry
- Preparing multi-body meshes with proper separation

## Python API

### Basic Mesh Generation

```python
from digitalmodel.orcawave.mesh import OrcaWaveMeshGenerator

# Initialize generator
generator = OrcaWaveMeshGenerator()

# Load CAD geometry
generator.load_geometry("geometry/hull.stl")

# Generate panel mesh

*See sub-skills for full details.*
### Mesh Convergence Study

```python
from digitalmodel.orcawave.mesh_study import MeshConvergenceStudy

# Initialize study
study = MeshConvergenceStudy()

# Define mesh sizes to test
mesh_configs = [
    {"target_panels": 500, "label": "coarse"},
    {"target_panels": 1000, "label": "medium"},

*See sub-skills for full details.*
### STL to GDF Conversion

```python
from digitalmodel.orcawave.converters import STLtoGDFConverter

# Initialize converter
converter = STLtoGDFConverter()

# Convert with options
converter.convert(
    input_file="geometry/hull.stl",
    output_file="geometry/hull.gdf",

*See sub-skills for full details.*
### Waterline Refinement

```python
from digitalmodel.orcawave.mesh import WaterlineRefiner

# Initialize refiner
refiner = WaterlineRefiner()

# Load existing mesh
refiner.load_mesh("geometry/hull_coarse.gdf")

# Apply waterline refinement

*See sub-skills for full details.*

## Related Skills

- [orcawave-analysis](../orcawave-analysis/SKILL.md) - Main diffraction analysis
- [gmsh-meshing](../gmsh-meshing/SKILL.md) - Advanced mesh generation
- [freecad-automation](../freecad-automation/SKILL.md) - CAD geometry preparation
- [cad-engineering](../cad-engineering/SKILL.md) - CAD file format handling

## References

- OrcaWave GDF File Format Specification
- Orcina Panel Method Documentation
- WAMIT Manual (GDF format compatibility)
- Lee, C.H.: WAMIT Theory Manual

---

**Version History**

- **1.0.0** (2026-01-17): Initial release with mesh generation, validation, and convergence study capabilities

## Sub-Skills

- [Geometry Import (+2)](geometry-import/SKILL.md)
- [Best Practices](best-practices/SKILL.md)

## Sub-Skills

- [Error Handling](error-handling/SKILL.md)

## Sub-Skills

- [Version Metadata](version-metadata/SKILL.md)
- [Standard Mesh Generation (+1)](standard-mesh-generation/SKILL.md)
- [Panel Quality Thresholds (+1)](panel-quality-thresholds/SKILL.md)
- [CLI Usage](cli-usage/SKILL.md)
- [Integration with gmsh-meshing Skill](integration-with-gmsh-meshing-skill/SKILL.md)


## Documentation Reference

OrcaWave topics (`data/llm-wiki/orcawave/`):
- `Data,Meshfileformats.md` -- supported mesh file formats (GDF, etc.)
- `Data,Meshdetails.md` -- panel mesh detail parameters
- `Data,Bodies.md` -- body-to-mesh assignment
- `Meshview.md` -- mesh visualization and inspection
- `Meshview,Viewcontrol.md` -- mesh view navigation
- `Data,Validation.md` -- mesh validation checks

Papers (`data/llm-wiki/papers/`):
- `OrcaWave-working-with-meshes.md` -- comprehensive mesh guidance (panel sizing, waterline, symmetry)
- `Buoy-Discretisation.md` -- panel discretization for buoy geometries

Related Skills

digitalmodel-orcawave-orcaflex-proof-workflows

5
from vamseeachanta/workspace-hub

Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.

orcawave-orcaflex-readiness-audit

5
from vamseeachanta/workspace-hub

Audit the real readiness of digitalmodel OrcaWave/OrcaFlex spec-driven workflows by reconciling workspace-hub issues, source/tests, semantic-equivalence boundaries, and wiki synthesis gaps.

label-driven-prompt-generation-architecture

5
from vamseeachanta/workspace-hub

Pattern for building automation scripts that classify GitHub issues into prompt templates using label-based routing and extract contextual data for batch processing

agent-team-prompt-generation

5
from vamseeachanta/workspace-hub

Create self-contained execution prompts that define multi-role workflows for Codex sessions without external dependencies

digitalmodel-orcawave-orcaflex-workflow

5
from vamseeachanta/workspace-hub

Current-state workflow for navigating and extending digitalmodel OrcaWave/OrcaFlex capabilities across code, tests, issues, queue tooling, and licensed-machine boundaries.

orcawave-orcaflex-semantic-proof-wave-closeout

5
from vamseeachanta/workspace-hub

Close out an OrcaWave/OrcaFlex semantic-proof wave after a PR merges, split unrelated CI blockers, and seed the next semantic-proof issue wave without duplicating existing issues.

gtm-workflow-gif-generation

5
from vamseeachanta/workspace-hub

Generate workflow-style GTM GIFs from validated HTML demo reports using synthetic scene slides plus Playwright/Pillow scroll capture, with Python 3.12 fallback and GIF size optimization.

gtm-demo-workflow-gif-generation

5
from vamseeachanta/workspace-hub

Generate GTM demo GIF assets from validated HTML reports, including both report-scroll GIFs and one higher-fidelity workflow-style GIF, while avoiding Playwright/Python environment traps.

stable-diffusion-image-generation

5
from vamseeachanta/workspace-hub

State-of-the-art text-to-image generation with Stable Diffusion models via HuggingFace Diffusers. Use when generating images from text prompts, performing image-to-image translation, inpainting, or building custom diffusion pipelines.

orcawave-to-orcaflex

5
from vamseeachanta/workspace-hub

Integration specialist for converting OrcaWave diffraction results to OrcaFlex vessel types. Handles hydrodynamic database generation, RAO import, viscous damping addition, and coordinate system transformations.

orcawave-qtf-analysis

5
from vamseeachanta/workspace-hub

Second-order wave force QTF computation in OrcaWave. Use when computing mean drift forces, difference-frequency or sum-frequency QTFs, slow-drift response, or applying Newman approximation for offshore structures.

orcawave-multi-body

5
from vamseeachanta/workspace-hub

Multi-body hydrodynamic interaction analysis in OrcaWave. Use when setting up coupled vessel models, side-by-side operations, FPSO-tanker interactions, gap resonance studies, or hydrodynamic shielding calculations.