marine-offshore-engineering-1-buoyancy-and-stability

Sub-skill of marine-offshore-engineering: 1. Buoyancy and Stability (+1).

5 stars

Best use case

marine-offshore-engineering-1-buoyancy-and-stability is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of marine-offshore-engineering: 1. Buoyancy and Stability (+1).

Teams using marine-offshore-engineering-1-buoyancy-and-stability 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

$curl -o ~/.claude/skills/1-buoyancy-and-stability/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/marine-offshore/marine-offshore-engineering/1-buoyancy-and-stability/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/1-buoyancy-and-stability/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How marine-offshore-engineering-1-buoyancy-and-stability Compares

Feature / Agentmarine-offshore-engineering-1-buoyancy-and-stabilityStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of marine-offshore-engineering: 1. Buoyancy and Stability (+1).

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

# 1. Buoyancy and Stability (+1)

## 1. Buoyancy and Stability


```python
def calculate_metacentric_height(
    displacement: float,  # tonnes
    waterplane_area: float,  # m²
    center_of_buoyancy_height: float,  # m
    center_of_gravity_height: float  # m
) -> float:
    """
    Calculate metacentric height (GM) for stability.

    GM = KB + BM - KG

    Where:
    - KB = Center of buoyancy above keel
    - BM = Metacentric radius = I/V
    - KG = Center of gravity above keel

    Args:
        displacement: Vessel displacement
        waterplane_area: Area at waterline
        center_of_buoyancy_height: KB
        center_of_gravity_height: KG

    Returns:
        Metacentric height in meters
    """
    rho = 1.025  # t/m³
    volume = displacement / rho

    # Second moment of area (simplified for rectangular waterplane)
    I = waterplane_area**1.5 / 12  # Approximation

    # Metacentric radius
    BM = I / volume

    # Metacentric height
    GM = center_of_buoyancy_height + BM - center_of_gravity_height

    return GM
```


## 2. Riser Stress


```python
def calculate_riser_stress(
    top_tension: float,  # kN
    weight_per_length: float,  # kg/m
    water_depth: float,  # m
    diameter: float,  # mm
    wall_thickness: float  # mm
) -> dict:
    """
    Calculate riser stresses.

    Args:
        top_tension: Top tension
        weight_per_length: Riser weight in water
        water_depth: Water depth
        diameter: Outer diameter
        wall_thickness: Wall thickness

    Returns:
        Stress components
    """
    # Cross-sectional area
    D_outer = diameter / 1000  # Convert to m
    D_inner = D_outer - 2 * wall_thickness / 1000
    A = np.pi * (D_outer**2 - D_inner**2) / 4  # m²

    # Effective tension at bottom
    w = weight_per_length * 9.81 / 1000  # kN/m
    bottom_tension = top_tension - w * water_depth

    # Axial stress (top)
    sigma_axial_top = top_tension * 1000 / (A * 1e6)  # MPa

    # Axial stress (bottom)
    sigma_axial_bottom = bottom_tension * 1000 / (A * 1e6)  # MPa

    return {
        'top_stress_MPa': sigma_axial_top,
        'bottom_stress_MPa': sigma_axial_bottom,
        'bottom_tension_kN': bottom_tension
    }
```

Related Skills

marine-safety-incidents

5
from vamseeachanta/workspace-hub

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.

engineering-solver-domain-recon

5
from vamseeachanta/workspace-hub

Deep reconnaissance of an engineering solver domain (OrcaWave, OrcaFlex, CalculiX, OpenFOAM, etc.) across a multi-repo ecosystem — map infrastructure, issues, skills, data artifacts, machine constraints, and solver queue state before planning work.

marine-safety

5
from vamseeachanta/workspace-hub

Assess offshore asset integrity, corrosion management, and life extension for aging marine structures

engineering-domain-reconnaissance

5
from vamseeachanta/workspace-hub

Class-level external engineering domain reconnaissance: field development, external drive ingest planning, and source-to-artifact conversion.

cad-engineering

5
from vamseeachanta/workspace-hub

Expert CAD Engineering Specialist with comprehensive knowledge of CAD systems, file formats, and conversion technologies. Use for CAD software guidance, file format conversions, technical drawings, 3D modeling, PDF to CAD conversions, and interoperability between open-source and proprietary CAD systems.

engineering-report-generator

5
from vamseeachanta/workspace-hub

Generate engineering analysis reports with interactive Plotly visualizations, standard report sections, and HTML export. Use for creating dashboards, analysis summaries, and technical documentation with charts.

engineering-issue-workflow

5
from vamseeachanta/workspace-hub

Mandatory workflow for engineering-critical GitHub issues — resource intelligence, plan review, TDD, implementation, and 3-provider cross-review.

engineering-chatbot-demo

5
from vamseeachanta/workspace-hub

GTM demo execution for engineering AI chatbot presentations — system prompt authoring, demo scripting, ROI capture

oil-and-gas-reservoir-engineering

5
from vamseeachanta/workspace-hub

Sub-skill of oil-and-gas: Reservoir Engineering (+5).

marine-offshore-engineering-typical-project-phases

5
from vamseeachanta/workspace-hub

Sub-skill of marine-offshore-engineering: Typical Project Phases:.

marine-offshore-engineering-app-1-fpso-prelim-design

5
from vamseeachanta/workspace-hub

Sub-skill of marine-offshore-engineering: Application 1: FPSO Preliminary Design (+1).

marine-offshore-engineering-5-regulatory-framework

5
from vamseeachanta/workspace-hub

Sub-skill of marine-offshore-engineering: 5. Regulatory Framework (+1).