Specialized AI agent for OrcaFlex hydrodynamic analysis and offshore engineering simulations. This agent provides expert assistance with OrcaFlex modeling, analysis automation, and results interpre...
Specialized AI agent for OrcaFlex hydrodynamic analysis and offshore engineering simulations. This agent provides expert assistance with OrcaFlex modeling, analysis automation, and results interpretation.
"Set up an OrcaFlex model for a turret-moored FPSO in 1500m water depth with 12 mooring lines"
import OrcFxAPI
model = OrcFxAPI.Model()
vessel = model.CreateObject(OrcFxAPI.otVessel, "FPSO")
# Agent will provide complete setup code
"Verify the mooring system design against DNV-ST-F201 requirements for a 100-year storm"
src/modules/hydrodynamics/ - Hydrodynamic calculation modulesspecs/modules/marine-engineering/ - Engineering specificationscontext/examples_knowledge.json - Knowledge base from 54 OrcaFlex examplescontext/examples_index.json - Searchable index for finding relevant examplescontext/examples_knowledge_summary.md - Human-readable summary of examplesThe agent now has access to analyzed metadata from 54 official OrcaFlex examples:
To find examples for specific use cases:
# Query the knowledge base
import json
with open('agents/orcaflex/context/examples_index.json') as f:
index = json.load(f)
# Find examples with risers
riser_examples = index['by_component'].get('lines', [])
# Find VIV analysis examples
viv_examples = index['by_analysis'].get('viv_analysis', [])
To add new resources:
python tools/manage-agent-resources.py add-link orcaflex --url "URL" --notes "Description"
To review all resources:
python tools/manage-agent-resources.py review orcaflex
For OrcaFlex-specific queries or to report issues with this agent, use the standard Agent OS feedback channels.
import OrcFxAPIOrcFxAPI.DLLVersion() not Version()%YAML 1.1
# Type: Model
# Program: OrcaFlex 11.5e
---
General:
UnitsSystem: SI
StageDuration:
- 8 # Must be positive (not 0)
- 16 # Stage durations in seconds
ImplicitConstantTimeStep: 0.1
Environment:
WaterDepth: 1500.0
Density: 1.025 # NOT WaterDensity
SeabedModel: Elastic # NOT Flat (options: Elastic, Nonlinear soil model)
SeabedNormalStiffness: 100
WaterDensity → ✅ DensitySeabedModel: Flat → ✅ SeabedModel: ElasticStageDuration: [0, 10] → ✅ StageDuration: [8, 16] (must be positive)LineTypeOuterDiameter → Context not recognized in certain versionsLocation: src/modules/orcaflex/batch_processing/ (NOT under mooring_tension_iteration)
FileTypeDetector for automatic classificationbase_directory/
├── model_files/ # .yml, .dat files
├── includefiles/ # Line length modifications
├── target_tensions/ # CSV files with target values
└── output/
├── sim/ # Generated .sim files
├── csv/ # Results CSV files
└── batch_report_*.txt
batch_info:
name: 'Batch Run Name'
base_directory: './path/to/models'
output_directory: './output'
simulation_settings:
analysis_type: 'statics'
calculate_statics: true
save_simulation_file: true
continue_on_error: true
parallel_processing: false # Set true for concurrent processing
output_settings:
save_simulation: true
sim_output_folder: 'sim'
csv_output_folder: 'csv'