Agent skill
orcaflex-modeling-license-check
Sub-skill of orcaflex-modeling: License Check (+2).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/marine-offshore/orcaflex-modeling/license-check
SKILL.md
License Check (+2)
License Check
from digitalmodel.orcaflex.orcaflex_utilities import OrcaflexUtilities
utils = OrcaflexUtilities()
if utils.is_orcaflex_available():
print("OrcaFlex license available")
else:
print("Running in mock mode")
Model Loading
# Load simulation with metadata
model, metadata = utils.get_model_and_metadata("simulation.sim")
print(f"Simulation period: {metadata['period']} seconds")
print(f"Time step: {metadata['timestep']} seconds")
Wave Calculations
# Calculate theoretical maximum wave height
Hmax = utils.get_theoretical_hmax({
"Hs": 6.0, # Significant wave height (m)
"Tp": 12.0, # Peak period (s)
"duration": 3600, # Storm duration (s)
"gamma": 3.3 # JONSWAP peakedness
})
print(f"Theoretical Hmax: {Hmax:.2f} m")
# Calculate associated period
Tassociated = utils.get_tassociated(Hmax, Tp=12.0)
print(f"Associated period: {Tassociated:.2f} s")
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?