Agent skill
orcawave-analysis-orcfxapi-result-extraction
Sub-skill of orcawave-analysis: OrcFxAPI Result Extraction (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/marine-offshore/orcawave-analysis/orcfxapi-result-extraction
SKILL.md
OrcFxAPI Result Extraction (+3)
OrcFxAPI Result Extraction
| Property | Gotcha | Fix |
|---|---|---|
.frequencies |
Returns Hz, not rad/s | Multiply by 2 * np.pi |
.frequencies |
Returns descending order | np.argsort() ascending before comparison |
.displacementRAOs |
Shape (nheading, nfreq, 6) |
Transpose to (nfreq, nheading, 6) |
| Rotational RAOs (indices 3,4,5) | In rad/m | np.degrees() for deg/m (AQWA convention) |
.addedMass, .damping |
Follow frequency order | Apply same sort index as frequencies |
Unit Conversion: WAMIT .frc → spec.yml
| Source | Mass Unit | Inertia Unit | Density | To spec.yml |
|---|---|---|---|---|
WAMIT .frc (RHO=1) |
te | te·m² | 1 te/m³ | ×1000 for kg, kg·m² |
OrcaWave .owd |
te | te·m² | 1 te/m³ | ×1000 for kg, kg·m² |
| spec.yml | kg | kg·m² | kg/m³ | — (canonical) |
TRAP: When porting from WAMIT .frc to spec.yml, multiply inertia by 1000 (te·m² → kg·m²). Do NOT multiply twice — the ISSC TLP case 2.5 had inertia tensors 1000× too large (8.02e13 vs correct 8.02e10) from double conversion.
Phase Correlation for Zero-Magnitude DOFs
Fixed DOFs (e.g. heave/roll/pitch on TLPs) produce zero RAO magnitudes. Phase is undefined (atan2(0,0) noise), so:
multi_solver_comparator.py: whenpeak_mag < 1e-10, overrides phase correlation tor = 1.0validate_owd_vs_spec.py: skips DOFs withmax_diff < 1e-6in pass/fail verdict
QTF Settings Guard
When qtf_calculation: false in spec.yml, do NOT include any QTF-related keys in the OrcaWave YAML:
QTFMinCrossingAngle,QTFMaxCrossingAngle,PreferredQuadraticLoadCalculationMethod- These cause "Change not allowed" errors from OrcaWave
QuadraticLoadPressureIntegration: Nois safe (explicitly disabling)
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?