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

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

5 stars

Best use case

gmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymesh is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using gmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymesh 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/converter-1-gmsh-msh-openfoam-polymesh/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/workflows/gmsh-openfoam-orcaflex/converter-1-gmsh-msh-openfoam-polymesh/SKILL.md"

Manual Installation

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

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

Feature / Agentgmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymeshStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

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

# Converter 1: Gmsh .msh → OpenFOAM polyMesh (+1)

## Converter 1: Gmsh .msh → OpenFOAM polyMesh


```python
from convert_gmsh_to_openfoam import convert

result = convert(
    msh_path="mesh.msh",
    case_dir="/path/to/of_case",
    patch_map={
        "inlet": "patch",
        "outlet": "patch",
        "cylinder": "wall",
        "top": "symmetryPlane",
    }
)
# result["passed"] == True when polyMesh files are written
```

Priority: `gmshToFoam` CLI (OpenFOAM) → `meshio` Python → stub bypass.


## Converter 2: OpenFOAM forces → OrcaFlex load CSV


```python
from convert_openfoam_to_orcaflex import convert

result = convert(
    forces_path="postProcessing/forces/0/force.dat",
    output_csv="loads.csv",
    scale_factor=1.0,   # model→full scale if needed
    time_step=0.1,      # re-sample to uniform dt
)
# result["row_count"] = number of time steps written
```

Reads bracketed-tuple OpenFOAM forces format (pressure + viscous components).
Writes six-column CSV: `Time, Fx, Fy, Fz, Mx, My, Mz`.

Related Skills

OrcaFlex Specialist Skill

5
from vamseeachanta/workspace-hub

```yaml

orcaflex-reporting-fixture-proof-pattern

5
from vamseeachanta/workspace-hub

Build and extend fixture-backed OrcaFlex reporting proof paths in digitalmodel using stable metadata baselines, normalized HTML snapshots, and reusable reporting test helpers.

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.

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.

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.

orcaflex-yaml-gotchas

5
from vamseeachanta/workspace-hub

Production-proven OrcaFlex YAML traps and solutions covering dormant properties, boolean mismatches, section ordering, Pydantic integration, and section name aliases.

orcaflex-visualization

5
from vamseeachanta/workspace-hub

Generate visualizations from OrcaFlex and OrcaWave simulations using the shared OrcFxAPI — model views (SaveModelView), time series plots, range graphs, and interactive HTML reports. Covers both .dat/.sim (OrcaFlex) and .owd (OrcaWave) files via the same API surface.

orcaflex-vessel-setup

5
from vamseeachanta/workspace-hub

Configure 6-DOF vessels in OrcaFlex with hydrodynamic properties, RAO import from AQWA, and vessel type creation. Covers initial position, orientation, calculation settings, and motion options.

orcaflex-static-debug

5
from vamseeachanta/workspace-hub

Troubleshoot and resolve OrcaFlex static analysis convergence issues. Diagnose common problems including line connectivity, tensions, environmental conditions, and numerical instabilities.

orcaflex-specialist

5
from vamseeachanta/workspace-hub

Automate OrcaFlex marine simulations via Python API for mooring, riser, and installation analysis