Agent skill
orcawave-to-orcaflex
Integration specialist for converting OrcaWave diffraction results to OrcaFlex vessel types. Handles hydrodynamic database generation, RAO import, viscous damping addition, and coordinate system transformations.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/engineering/marine-offshore/orcawave/to-orcaflex
SKILL.md
Orcawave To Orcaflex
When to Use
- Converting OrcaWave results (.owr) to OrcaFlex vessel type
- Creating hydrodynamic database for time-domain analysis
- Importing RAO data from diffraction analysis
- Adding viscous damping to radiation damping
- Transforming coordinate systems between tools
- Setting up vessel types with full hydrodynamic properties
- Batch conversion of multiple loading conditions
Python API
Basic Conversion
from digitalmodel.diffraction.orcawave_converter import OrcaWaveConverter
from digitalmodel.diffraction.orcaflex_exporter import OrcaFlexExporter
# Load OrcaWave results
import OrcFxAPI
# Option 1: From OrcaWave model directly
orcawave_model = OrcFxAPI.DiffractionModel("models/fpso.owr")
vessel = orcawave_model.Vessel
*See sub-skills for full details.*
### With Viscous Damping
```python
from digitalmodel.orcawave.orcaflex_export import OrcaWaveToOrcaFlex
# Initialize converter with damping options
converter = OrcaWaveToOrcaFlex()
# Load OrcaWave results
converter.load_orcawave("models/fpso.owr")
# Add viscous damping (percentage of critical)
*See sub-skills for full details.*
### Full Hydrodynamic Database
```python
from digitalmodel.orcawave.orcaflex_export import HydrodynamicDatabaseCreator
# Create complete hydrodynamic database
db_creator = HydrodynamicDatabaseCreator()
# Load all loading conditions
db_creator.add_condition(
name="full_load",
orcawave_file="models/fpso_full.owr",
*See sub-skills for full details.*
### RAO Import with Validation
```python
from digitalmodel.orcawave.rao_import import RAOImporter
from digitalmodel.diffraction.output_validator import OutputValidator
# Import RAOs with validation
importer = RAOImporter()
# Load OrcaWave RAOs
raos = importer.load_from_orcawave("models/fpso.owr")
*See sub-skills for full details.*
### Coordinate Transformation
```python
from digitalmodel.orcawave.coordinate_transform import CoordinateTransformer
# Handle coordinate system differences
transformer = CoordinateTransformer()
# OrcaWave uses different conventions than OrcaFlex
# Transform origin location
transformer.set_orcawave_origin(
x=150.0, # Midship
*See sub-skills for full details.*
## Related Skills
- [orcawave-analysis](../orcawave-analysis/SKILL.md) - OrcaWave diffraction analysis
- [orcaflex-vessel-setup](../orcaflex-vessel-setup/SKILL.md) - OrcaFlex vessel configuration
- [orcaflex-rao-import](../orcaflex-rao-import/SKILL.md) - RAO data import
- [hydrodynamics](../hydrodynamics/SKILL.md) - Coefficient management
## References
- OrcaWave Data Format Specification
- OrcaFlex Vessel Type Documentation
- Converter Implementation: `src/digitalmodel/modules/diffraction/orcawave_converter.py`
- Exporter Implementation: `src/digitalmodel/modules/diffraction/orcaflex_exporter.py`
---
**Version History**
- **1.0.0** (2026-01-17): Initial release with conversion, validation, and multi-format export
## Sub-Skills
- [Best Practices](best-practices/SKILL.md)
## Sub-Skills
- [Error Handling](error-handling/SKILL.md)
## Sub-Skills
- [Version Metadata](version-metadata/SKILL.md)
- [Workflow Overview](workflow-overview/SKILL.md)
- [Standard Export Configuration (+1)](standard-export-configuration/SKILL.md)
- [Supported Output Formats (+1)](supported-output-formats/SKILL.md)
- [CLI Usage](cli-usage/SKILL.md)
- [Pre-Export Validation](pre-export-validation/SKILL.md)
- [Generated YAML Structure](generated-yaml-structure/SKILL.md)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?