orcaflex-specialist
Automate OrcaFlex marine simulations via Python API for mooring, riser, and installation analysis
Best use case
orcaflex-specialist is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Automate OrcaFlex marine simulations via Python API for mooring, riser, and installation analysis
Teams using orcaflex-specialist 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/specialist/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How orcaflex-specialist Compares
| Feature / Agent | orcaflex-specialist | 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?
Automate OrcaFlex marine simulations via Python API for mooring, riser, and installation analysis
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
# Orcaflex Specialist
## When to Use This Skill
Use this skill when you need to:
- Automate OrcaFlex model creation and analysis
- Build parametric OrcaFlex models via Python API
- Perform batch simulations with varying parameters
- Extract and process time series results
- Validate OrcaFlex models against design criteria
- Integrate OrcaFlex with external tools and workflows
- Optimize mooring and riser configurations
- Conduct sensitivity studies and Monte Carlo simulations
## Core Knowledge Areas
### 1. OrcaFlex Python API Basics
Connecting to OrcaFlex and basic model operations:
```python
import OrcFxAPI
import numpy as np
from pathlib import Path
from typing import List, Dict, Optional
def create_new_model(
general_data: dict,
*See sub-skills for full details.*
### 2. Building Models Programmatically
Create complex models via Python API:
```python
def create_vessel_model(
vessel_params: dict,
mooring_config: dict,
environment: dict
) -> OrcFxAPI.Model:
"""
Create complete vessel model with moorings and environment.
*See sub-skills for full details.*
### 3. Results Extraction and Post-Processing
Extract time series and perform analysis:
```python
def extract_time_series(
model: OrcFxAPI.Model,
object_name: str,
variable_name: str,
object_extra: OrcFxAPI.OrcaFlexObjectExtra = OrcFxAPI.oeEndA,
period: OrcFxAPI.SpecifiedPeriod = OrcFxAPI.SpecifiedPeriod(OrcFxAPI.pnWholeSimulation)
) -> tuple:
*See sub-skills for full details.*
### 4. Batch Simulation and Parametric Studies
Automate multiple simulation runs:
```python
def batch_simulation(
base_model_path: Path,
parameter_sets: List[dict],
output_dir: Path,
parallel: bool = False
) -> List[dict]:
"""
*See sub-skills for full details.*
### 5. Model Validation and QA
Automated model checking:
```python
def validate_model(
model: OrcFxAPI.Model,
checks: List[str] = None
) -> dict:
"""
Comprehensive model validation checks.
*See sub-skills for full details.*
### 6. Advanced Analysis Techniques
```python
def extreme_response_analysis(
model_path: Path,
sea_states: List[dict],
response_variable: tuple,
method: str = 'most_probable_maximum'
) -> dict:
"""
Extreme response analysis using irregular wave simulations.
*See sub-skills for full details.*
## Complete Examples
### Example 1: Automated Mooring Analysis Workflow
```python
from pathlib import Path
import OrcFxAPI
import numpy as np
import pandas as pd
def complete_mooring_analysis_workflow(
vessel_params: dict,
mooring_config: dict,
environment: dict,
*See sub-skills for full details.*
## Resources
### OrcaFlex Documentation
- **OrcaFlex Help**: Built-in help system (F1 in OrcaFlex)
- **Python API Reference**: OrcaFlex installation → Python folder → OrcFxAPIDocumentation.html
- **Example Scripts**: OrcaFlex → Examples → Python folder
- **Orcina Website**: https://www.orcina.com/resources/
### Training and Support
- **Orcina Training Courses**: Official OrcaFlex training
- **User Forum**: https://www.orcina.com/forums/
- **Technical Support**: support@orcina.com
### Related Standards
- **DNV-RP-C205**: Environmental Conditions and Environmental Loads
- **DNV-RP-F205**: Global Performance Analysis of Deepwater Floating Structures
- **API RP 2SM**: Recommended Practice for Design, Manufacture, Installation, and Maintenance of Synthetic Fiber Ropes
- **API RP 2SK**: Design and Analysis of Stationkeeping Systems for Floating Structures
### Additional Resources
- Noble Denton (2013). *OrcaFlex Training Manual*
- Orcina (2023). *OrcaFlex Manual Version 11.4*
- Various industry webinars and tutorials on YouTube
---
**Use this skill for:** Expert-level OrcaFlex modeling, automation, and analysis for offshore marine simulations with full Python API integration.
## Sub-Skills
- [1. Model Organization (+2)](1-model-organization/SKILL.md)Related Skills
OrcaFlex Specialist Skill
```yaml
orcaflex-reporting-fixture-proof-pattern
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
Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.
orcawave-orcaflex-readiness-audit
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
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
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
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
Production-proven OrcaFlex YAML traps and solutions covering dormant properties, boolean mismatches, section ordering, Pydantic integration, and section name aliases.
orcaflex-visualization
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
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
Troubleshoot and resolve OrcaFlex static analysis convergence issues. Diagnose common problems including line connectivity, tensions, environmental conditions, and numerical instabilities.
orcaflex-spec-audit
Audit, classify, and score OrcaFlex spec.yml files across the model library for quality, schema validity, and structure type categorization.