bemrosetta
BEMRosetta hydrodynamic coefficient converter - AQWA to OrcaFlex workflow with QTF and mesh support
Best use case
bemrosetta is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
BEMRosetta hydrodynamic coefficient converter - AQWA to OrcaFlex workflow with QTF and mesh support
Teams using bemrosetta 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/bemrosetta/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How bemrosetta Compares
| Feature / Agent | bemrosetta | 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?
BEMRosetta hydrodynamic coefficient converter - AQWA to OrcaFlex workflow with QTF and mesh support
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
# Bemrosetta
## When to Use
Use this skill when you need to:
1. **Convert AQWA outputs to OrcaFlex format**
- Parse AQWA .LIS diffraction analysis files
- Export to OrcaFlex-compatible YAML and CSV
2. **Handle QTF (second-order forces) data**
- Parse QTF files for sum/difference frequency forces
- Export QTF to OrcaFlex format
3. **Convert mesh formats**
- Convert between GDF (WAMIT), DAT (AQWA/NEMOH), STL formats
- Validate mesh quality
4. **Validate hydrodynamic coefficients**
- Check matrix symmetry and positive definiteness
- Verify Kramers-Kronig causality relations
## Prerequisites
```bash
# Module is included in digitalmodel package
uv pip install -e .
# Verify installation
bemrosetta status
```
## Python API
### Basic Workflow
```python
from digitalmodel.bemrosetta import (
AQWAParser,
OrcaFlexConverter,
validate_coefficients,
)
# Parse AQWA results
parser = AQWAParser()
results = parser.parse("analysis.LIS")
*See sub-skills for full details.*
### QTF Handling
```python
from digitalmodel.bemrosetta import QTFParser, OrcaFlexConverter
# Parse QTF file
qtf_parser = QTFParser()
qtf_data = qtf_parser.parse("analysis.QTF")
print(f"QTF type: {qtf_data.qtf_type}")
print(f"Frequencies: {qtf_data.n_frequencies_1} x {qtf_data.n_frequencies_2}")
# Include QTF in conversion
converter = OrcaFlexConverter(output_dir="./output")
converter.set_qtf_data(qtf_data)
converter.convert(results)
```
### Mesh Conversion
```python
from digitalmodel.bemrosetta import (
GDFHandler, DATHandler, STLHandler, convert_mesh
)
# Read GDF mesh
handler = GDFHandler()
mesh = handler.read("hull.gdf")
# Check quality
*See sub-skills for full details.*
### Causality Validation
```python
from digitalmodel.bemrosetta import (
CoefficientValidator,
CausalityChecker,
)
# Coefficient validation
validator = CoefficientValidator(
check_symmetry=True,
check_positive_definite=True,
*See sub-skills for full details.*
## Key Classes
| Class | Purpose |
|-------|---------|
| `AQWAParser` | Parse AQWA .LIS files |
| `QTFParser` | Parse QTF second-order force files |
| `OrcaFlexConverter` | Convert to OrcaFlex format |
| `GDFHandler` | WAMIT GDF mesh format |
| `DATHandler` | AQWA/NEMOH DAT mesh format |
| `STLHandler` | STL mesh format |
| `CoefficientValidator` | Validate coefficient matrices |
| `CausalityChecker` | Kramers-Kronig validation |
## Related Skills
- **aqwa-analysis** - AQWA .LIS processing and RAO extraction
- **orcawave/analysis** - OrcaWave diffraction/radiation analysis
- **orcawave/to-orcaflex** - OrcaWave to OrcaFlex conversion
- **orcaflex/rao-import** - Multi-format RAO import
- **hydrodynamics** - 6x6 matrices and wave spectra
- **diffraction-analysis** - Master skill for diffraction workflows
## References
- [BEMRosetta GitHub](https://github.com/BEMRosetta/BEMRosetta)
- [Module README](../../../src/digitalmodel/modules/bemrosetta/MODULE_README.md)
- [OrcaFlex Documentation](https://www.orcina.com/webhelp/OrcaFlex/)
## Sub-Skills
- [Best Practices](best-practices/SKILL.md)
- [Error Handling](error-handling/SKILL.md)
## Sub-Skills
- [Version](version/SKILL.md)
- [1.0.0 (2026-01-27)](100-2026-01-27/SKILL.md)
- [Parsing (+3)](parsing/SKILL.md)
- [CLI Commands](cli-commands/SKILL.md)
- [Data Models](data-models/SKILL.md)
- [With diffraction module (+1)](with-diffraction-module/SKILL.md)Related Skills
bemrosetta-with-diffraction-module
Sub-skill of bemrosetta: With diffraction module (+1).
bemrosetta-version
Sub-skill of bemrosetta: Version.
bemrosetta-parsing
Sub-skill of bemrosetta: Parsing (+3).
bemrosetta-data-models
Sub-skill of bemrosetta: Data Models.
bemrosetta-cli-commands
Sub-skill of bemrosetta: CLI Commands.
bemrosetta-100-2026-01-27
Sub-skill of bemrosetta: 1.0.0 (2026-01-27).
test-oversized-skill
A test fixture skill that exceeds 200 lines with multiple H2/H3 sections for split testing.
interactive-report-generator
Generate interactive HTML reports with Plotly visualizations from data analysis results. Supports dashboards, charts, and professional styling.
data-validation-reporter
Generate interactive validation reports with quality scoring, missing data analysis, and type checking. Combines Pandas validation, Plotly visualization, and YAML configuration for comprehensive data quality reporting.
agent-os-framework
Generate standardized .agent-os directory structure with product documentation, mission, tech-stack, roadmap, and decision records. Enables AI-native workflows.
OrcaFlex Specialist Skill
```yaml
repo-ecosystem-hygiene
Interpret the daily read-only repo ecosystem hygiene audit and route remediation through approved workflows.