python-scicomp-ex1-marine-catenary-mooring
Sub-skill of python-scientific-computing: Example 1: Marine Engineering - Catenary Mooring Line (+5).
Best use case
python-scicomp-ex1-marine-catenary-mooring is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of python-scientific-computing: Example 1: Marine Engineering - Catenary Mooring Line (+5).
Teams using python-scicomp-ex1-marine-catenary-mooring 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/example-1-marine-engineering-catenary-mooring-line/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How python-scicomp-ex1-marine-catenary-mooring Compares
| Feature / Agent | python-scicomp-ex1-marine-catenary-mooring | 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?
Sub-skill of python-scientific-computing: Example 1: Marine Engineering - Catenary Mooring Line (+5).
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.
Related Guides
SKILL.md Source
# Example 1: Marine Engineering - Catenary Mooring Line (+5)
## Example 1: Marine Engineering - Catenary Mooring Line
```python
import numpy as np
from scipy.optimize import fsolve
import matplotlib.pyplot as plt
def catenary_mooring_analysis(
water_depth: float,
horizontal_distance: float,
chain_weight: float, # kg/m
required_tension: float # kN
*See sub-skills for full details.*
## Example 2: Structural Dynamics - Natural Frequency
```python
import numpy as np
from scipy.linalg import eig
def calculate_natural_frequencies(
mass_matrix: np.ndarray,
stiffness_matrix: np.ndarray,
num_modes: int = 5
) -> dict:
"""
*See sub-skills for full details.*
## Example 3: Hydrodynamic Analysis - Wave Spectrum
```python
import numpy as np
from scipy.integrate import trapz
def jonswap_spectrum(
frequencies: np.ndarray,
Hs: float,
Tp: float,
gamma: float = 3.3
) -> np.ndarray:
*See sub-skills for full details.*
## Example 4: Numerical Integration - Velocity to Displacement
```python
import numpy as np
from scipy.integrate import cumtrapz
def integrate_motion_time_history(
time: np.ndarray,
acceleration: np.ndarray
) -> dict:
"""
Integrate acceleration to get velocity and displacement.
*See sub-skills for full details.*
## Example 5: Optimization - Mooring Pretension
```python
from scipy.optimize import minimize
import numpy as np
def optimize_mooring_pretension(
num_lines: int,
water_depth: float,
target_offset: float,
max_tension: float
) -> dict:
*See sub-skills for full details.*
## Example 6: Symbolic Mathematics - Beam Deflection
```python
from sympy import symbols, diff, integrate, simplify, lambdify
from sympy import Function, Eq, dsolve
import numpy as np
import matplotlib.pyplot as plt
def beam_deflection_symbolic():
"""
Solve beam deflection equation symbolically.
*See sub-skills for full details.*Related Skills
marine-safety-incidents
Collect, analyze, and report marine safety incident data from 7 global maritime authorities. Use for incident scraping, safety trend analysis, risk assessment, geographic hotspot identification, and marine safety reporting.
python-import-path-mismatch-debugging
Diagnose and fix ModuleNotFoundError when a package is installed but imports still fail due to environment/path mismatches
python-import-path-debugging
Diagnose ModuleNotFoundError when a package is installed but still fails to import
python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
orcaflex-mooring-iteration
Iterate mooring line lengths to achieve target pretensions using scipy optimization, Newton-Raphson, or EA-based methods. Use for mooring system design, pretension optimization, and CALM/SALM buoy configuration.
mooring-design
Design and analyze mooring systems including CALM and SALM buoys, catenary moorings, and spread mooring configurations. Covers mooring line design, safety factors, environmental loading, and compliance with DNV, API, and ABS standards.
marine-safety
Assess offshore asset integrity, corrosion management, and life extension for aging marine structures
catenary-riser
Analyze catenary and lazy wave riser configurations for static shape, forces, and OrcaFlex model generation. Use for riser static configuration analysis, catenary force calculations, lazy wave design, and generating OrcaFlex models from catenary parameters.
python-project-template
Generate standardized Python project structure with pyproject.toml, UV environment, pytest configuration, and workspace-hub compliance. Creates production-ready project scaffolding.
xlsx-to-python
Convert Excel calculation spreadsheets to Python code — extract formulas, build dependency graphs, generate pytest tests using cell values as assertions, and produce dark-intelligence archive YAMLs.
excel-workbook-to-python-v2
Convert engineering Excel workbooks to Python code using Codex Desktop cowork on Windows. Proven superior quality vs Linux openpyxl extraction (24 vs 7 functions, 81 vs 53 tests). Validated on Ballymore jumper installation analysis.
mkdocs-integration-with-python-package
Sub-skill of mkdocs: Integration with Python Package (+2).