orcaflex-code-check
Verify OrcaFlex model results against industry standards (DNV, API, ISO). Perform capacity checks, safety factor verification, and compliance reporting for offshore structures.
Best use case
orcaflex-code-check is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Verify OrcaFlex model results against industry standards (DNV, API, ISO). Perform capacity checks, safety factor verification, and compliance reporting for offshore structures.
Teams using orcaflex-code-check 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/code-check/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How orcaflex-code-check Compares
| Feature / Agent | orcaflex-code-check | 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?
Verify OrcaFlex model results against industry standards (DNV, API, ISO). Perform capacity checks, safety factor verification, and compliance reporting for offshore structures.
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 Code Check
## Version Metadata
```yaml
version: 1.0.0
python_min_version: '3.10'
dependencies:
orcaflex-modeling: '>=2.0.0,<3.0.0'
structural-analysis: '>=1.0.0,<2.0.0'
orcaflex_version: '>=11.0'
compatibility:
tested_python:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
os:
- Windows
- Linux
- macOS
```
## Changelog
### [1.0.0] - 2026-01-17
**Added:**
- Initial release with standards compliance checking
- Mooring line capacity verification
- Safety factor calculation
- Multi-standard support (DNV, API, ISO)
## When to Use
- Verify mooring line tensions against MBL limits
- Check riser stress against allowable
- Validate safety factors per design codes
- Generate compliance reports for certification
- Design verification before fabrication
- Audit existing designs against current standards
## Supported Standards
### Mooring Systems
| Standard | Application | Key Checks |
|----------|-------------|------------|
| **API RP 2SK** | Stationkeeping | Safety factors, line capacity |
| **DNV-OS-E301** | Position mooring | Tension limits, fatigue |
| **ISO 19901-7** | Mooring systems | Capacity, redundancy |
### Risers
| Standard | Application | Key Checks |
|----------|-------------|------------|
| **API RP 2RD** | Riser design | Stress, fatigue |
| **DNV-OS-F201** | Dynamic risers | Stress, VIV |
| **API STD 2RD** | Design of risers | Combined loading |
### Pipelines
| Standard | Application | Key Checks |
|----------|-------------|------------|
| **DNV-OS-F101** | Submarine pipelines | Wall thickness, buckling |
| **API RP 1111** | Pipeline design | Pressure containment |
## Python API
### Mooring Safety Factor Check
```python
from digitalmodel.structural.structural_analysis.capacity import CapacityChecker
def check_mooring_safety_factors(
max_tensions: dict,
mbl_values: dict,
standard: str = "API_RP_2SK"
) -> dict:
"""
Check mooring line tensions against MBL limits.
*See sub-skills for full details.*
### Riser Stress Check
```python
from digitalmodel.structural.structural_analysis.capacity import CapacityChecker
import math
def check_riser_stress(
max_tension: float,
max_bend_moment: float,
internal_pressure: float,
external_pressure: float,
od: float,
*See sub-skills for full details.*
### Standards Lookup
```python
from digitalmodel.infrastructure.common.standards_lookup import StandardsLookup
# Initialize lookup
lookup = StandardsLookup()
# Search for relevant standards
results = lookup.search("mooring design")
for standard in results:
*See sub-skills for full details.*
### Generate Compliance Report
```python
def generate_compliance_report(
check_results: dict,
output_path: str,
project_info: dict
) -> str:
"""Generate HTML compliance report."""
html_content = f"""
<!DOCTYPE html>
*See sub-skills for full details.*
## Safety Factors Reference
### API RP 2SK (2015)
| Condition | Analysis | Safety Factor |
|-----------|----------|---------------|
| Intact | Quasi-static | 1.67 |
| Intact | Dynamic | 1.82 |
| Damaged | Quasi-static | 1.25 |
| Damaged | Dynamic | 1.43 |
### DNV-OS-E301
| Condition | Consequence Class 1 | Consequence Class 2 |
|-----------|---------------------|---------------------|
| ULS Intact | 2.20 | 2.50 |
| ULS Damaged | 1.50 | 1.65 |
| ALS | 1.00 | 1.10 |
### ISO 19901-7
| Condition | Category 1 | Category 2 |
|-----------|------------|------------|
| Intact | 1.67 | 2.00 |
| Damaged | 1.25 | 1.50 |
## Related Skills
- [orcaflex-post-processing](../orcaflex-post-processing/SKILL.md) - Extract results
- [orcaflex-extreme-analysis](../orcaflex-extreme-analysis/SKILL.md) - Find design loads
- [structural-analysis](../structural-analysis/SKILL.md) - Structural capacity checks
- [fatigue-analysis](../fatigue-analysis/SKILL.md) - Fatigue code checks
## References
- API RP 2SK: Design and Analysis of Stationkeeping Systems
- DNV-OS-E301: Position Mooring
- DNV-OS-F201: Dynamic Risers
- ISO 19901-7: Stationkeeping Systems for Floating Offshore Structures
- Source: `src/digitalmodel/infrastructure/common/standards_lookup.py`
- Source: `src/digitalmodel/modules/structural_analysis/capacity.py`
## Sub-Skills
- [Mooring Code Check (+1)](mooring-code-check/SKILL.md)
- [Before Code Check (+2)](before-code-check/SKILL.md)
## Sub-Skills
- [Error Handling](error-handling/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.
worktree-pre-push-bypass-for-tier1-checks
Handle workspace-hub integration-branch pushes from isolated git worktrees when the pre-push hook incorrectly assumes sibling tier-1 repos exist under the worktree path.
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.
gh-work-execution-checklist
Compact live-execution checklist companion for approved GitHub issue work. Use during active implementation as a fast operational route; gh-work-execution remains the canonical source of truth.
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.