gmsh-meshing-export-to-aqwa-dat-format

Sub-skill of gmsh-meshing: Export to AQWA (.DAT Format) (+4).

5 stars

Best use case

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

Sub-skill of gmsh-meshing: Export to AQWA (.DAT Format) (+4).

Teams using gmsh-meshing-export-to-aqwa-dat-format 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/export-to-aqwa-dat-format/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/cad/gmsh-meshing/export-to-aqwa-dat-format/SKILL.md"

Manual Installation

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

How gmsh-meshing-export-to-aqwa-dat-format Compares

Feature / Agentgmsh-meshing-export-to-aqwa-dat-formatStandard 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: Export to AQWA (.DAT Format) (+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

# Export to AQWA (.DAT Format) (+4)

## Export to AQWA (.DAT Format)


AQWA requires panel meshes in its proprietary .DAT format. gmsh cannot export directly to AQWA format, so a post-processing conversion is needed.

```python
def msh_to_aqwa_panels(msh_file: str, dat_file: str):
    """Convert gmsh MSH to AQWA panel data.

    AQWA expects quad panels (QPPL DIFF cards) with nodes
    defined in counter-clockwise order when viewed from outside.

    See: skills/data/scientific/cad-mesh-generation/SKILL.md

*See sub-skills for full details.*

## Export to WAMIT (GDF Format)


```python
def msh_to_gdf(msh_file: str, gdf_file: str, ulen: float = 1.0,
               gravity: float = 9.81):
    """Convert gmsh MSH to WAMIT/OrcaWave GDF format.

    See: skills/data/scientific/cad-mesh-generation/SKILL.md
    for complete GDF export implementation.
    """
    # GDF format reference:
    # Line 1: header

*See sub-skills for full details.*

## Export to Nemoh/BEMRosetta


```python
def export_for_nemoh(msh_file: str, nemoh_dir: str):
    """Export gmsh mesh for Nemoh solver.

    Nemoh expects mesh in its own format. Use BEMRosetta for conversion:
      BEMRosetta_cl.exe -mesh -i input.msh -o output.dat -f nemoh

    Alternative: export MSH v2.2 and use BEMRosetta CLI.
    """
    gmsh.initialize()

*See sub-skills for full details.*

## MSH v2.2 for BEM Tools


Many BEM tools require MSH v2.2 format (ASCII). Always set:

```python
gmsh.option.setNumber("Mesh.MshFileVersion", 2.2)
gmsh.option.setNumber("Mesh.Binary", 0)  # ASCII
gmsh.write("output.msh")
```

## Quality Targets for Hydrodynamic Analysis


| Metric | Target | Critical |
|--------|--------|----------|
| Panel count | 500-3000 | Min 200 per body |
| Aspect ratio | < 3:1 | < 5:1 |
| Adjacent panel ratio | < 2:1 | < 3:1 |
| Min panel angle | > 30° | > 15° |
| Panel size | ~L/20 to L/40 | Depends on frequency |
| Normals | Outward pointing | Consistent orientation |

**Rule of thumb**: Element size <= lambda/7 where lambda is the shortest wavelength of interest.

Related Skills

provider-session-ecosystem-audit-and-exporters

5
from vamseeachanta/workspace-hub

Build and maintain cross-provider session-log audits for Codex, Codex, Hermes, and Gemini, including exporter design, normalization, and behavioral verification.

multi-format-transaction-parser

5
from vamseeachanta/workspace-hub

Parse and consolidate financial transaction data across multiple CSV formats and years

multi-format-csv-parser-with-deduplication

5
from vamseeachanta/workspace-hub

Parse brokerage CSV exports that exist in multiple formats with overlapping data across files

multi-format-csv-detection-and-deduplication

5
from vamseeachanta/workspace-hub

Detect and handle multiple CSV format versions from the same data source; deduplicate records across format variants

handle-blocked-financial-sites-data-export

5
from vamseeachanta/workspace-hub

Workflow for extracting data from blocked financial sites when browser automation is restricted

financial-data-export-workflow

5
from vamseeachanta/workspace-hub

Structured process for exporting and analyzing multi-year brokerage transaction history when browser automation is blocked

export-tax-summary-with-year-comparison

5
from vamseeachanta/workspace-hub

Extract and structure tax return data into YAML format for year-over-year comparison across different filing products

orcawave-aqwa-benchmark

5
from vamseeachanta/workspace-hub

Cross-validation specialist for comparing OrcaWave and AQWA diffraction analysis results. Provides statistical comparison, peak value validation, and automated benchmark reporting for hydrodynamic coefficient verification.

aqwa-reference

5
from vamseeachanta/workspace-hub

AQWA solver stages (RESTART), OPTIONS keywords, FIDP/FISK external damping/stiffness cards, backend bugs, and MCP tool integration patterns.

aqwa-output

5
from vamseeachanta/workspace-hub

AQWA output formats (RAO CSV, coefficient JSON), LIS parsing conventions, result validation, benchmark comparison vs OrcaWave, and validation criteria.

aqwa-batch-execution

5
from vamseeachanta/workspace-hub

Run ANSYS AQWA analyses in batch/headless mode on Linux. Covers CLI execution, DAT input file structure, multi-stage analysis chaining, output file parsing, failure diagnosis, and HPC job scheduling.

aqwa-analysis

5
from vamseeachanta/workspace-hub

Integrate with AQWA hydrodynamic software for RAO computation, damping analysis, and coefficient extraction. Hub skill — delegates to aqwa-input, aqwa-output, aqwa-reference for details.