ship-dynamics-6dof-example-2-natural-frequency-sensitivity-study

Sub-skill of ship-dynamics-6dof: Example 2: Natural Frequency Sensitivity Study.

5 stars

Best use case

ship-dynamics-6dof-example-2-natural-frequency-sensitivity-study is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of ship-dynamics-6dof: Example 2: Natural Frequency Sensitivity Study.

Teams using ship-dynamics-6dof-example-2-natural-frequency-sensitivity-study 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/example-2-natural-frequency-sensitivity-study/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/marine-offshore/ship-dynamics-6dof/example-2-natural-frequency-sensitivity-study/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/example-2-natural-frequency-sensitivity-study/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ship-dynamics-6dof-example-2-natural-frequency-sensitivity-study Compares

Feature / Agentship-dynamics-6dof-example-2-natural-frequency-sensitivity-studyStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of ship-dynamics-6dof: Example 2: Natural Frequency Sensitivity Study.

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

# Example 2: Natural Frequency Sensitivity Study

## Example 2: Natural Frequency Sensitivity Study


```python
def natural_frequency_sensitivity_study(
    base_properties: dict,
    parameter_ranges: dict
) -> dict:
    """
    Sensitivity study of natural frequencies to design parameters.

    Args:
        base_properties: Base vessel properties
        parameter_ranges: Parameters to vary

    Returns:
        Sensitivity results
    """
    import plotly.graph_objects as go

    results = {}

    for param_name, param_values in parameter_ranges.items():
        natural_periods = []

        for value in param_values:
            # Update property
            props = base_properties.copy()

            if param_name == 'GMT':
                # Update roll stiffness
                props['K'][3, 3] *= value / base_properties['GMT']
            elif param_name == 'Rxx':
                # Update roll inertia
                m = props['M'][0, 0]
                props['M'][3, 3] = m * value**2

            # Calculate natural frequencies
            freq_result = calculate_coupled_natural_frequencies(
                props['M'], props['K']
            )

            natural_periods.append(freq_result['periods_s'][3])  # Roll period

        results[param_name] = {
            'values': param_values,
            'roll_periods': natural_periods
        }

    # Plot sensitivity
    fig = go.Figure()

    for param_name, data in results.items():
        fig.add_trace(go.Scatter(
            x=data['values'],
            y=data['roll_periods'],
            name=param_name,
            mode='lines+markers'
        ))

    fig.update_layout(
        title='Roll Natural Period Sensitivity',
        xaxis_title='Parameter Value',
        yaxis_title='Roll Natural Period (s)'
    )

    fig.write_html('reports/sensitivity_analysis.html')

    return results

# Example
base = {
    'M': M_fpso,
    'K': C_hydro,
    'GMT': 3.0
}

param_ranges = {
    'GMT': np.linspace(1.0, 5.0, 20),  # m
    'Rxx': np.linspace(18, 26, 20)     # m
}

sensitivity = natural_frequency_sensitivity_study(base, param_ranges)
```

Related Skills

hydrodynamics

5
from vamseeachanta/workspace-hub

Manage hydrodynamic coefficients, wave spectra, and environmental loading for vessel response analysis. Use for 6×6 matrix management, wave spectrum modeling, OCIMF loading calculations, and RAO interpolation.

mkdocs-example

5
from vamseeachanta/workspace-hub

MkDocs example admonition syntax. Use when inserting code examples or worked demonstrations in MkDocs documentation.

mkdocs-entity-relationship

5
from vamseeachanta/workspace-hub

Sub-skill of mkdocs: Entity Relationship.

skill-creator-inspiration-examples

5
from vamseeachanta/workspace-hub

Sub-skill of skill-creator: Inspiration & Examples.

skill-creator-example-1-scenario-name

5
from vamseeachanta/workspace-hub

Sub-skill of skill-creator: Example 1: [Scenario Name] (+1).

bash-script-framework-example-1-create-new-cli-tool

5
from vamseeachanta/workspace-hub

Sub-skill of bash-script-framework: Example 1: Create New CLI Tool (+1).

instrument-data-allotrope-example-1-vi-cell-blu-file

5
from vamseeachanta/workspace-hub

Sub-skill of instrument-data-allotrope: Example 1: Vi-CELL BLU file (+2).

hydrodynamic-pipeline-gmsh-panel-mesh-for-hydrodynamics

5
from vamseeachanta/workspace-hub

Sub-skill of hydrodynamic-pipeline: Gmsh Panel Mesh for Hydrodynamics (+3).

wave-theory-example-1-complete-wave-analysis

5
from vamseeachanta/workspace-hub

Sub-skill of wave-theory: Example 1: Complete Wave Analysis.

viv-analysis-natural-frequencies-json

5
from vamseeachanta/workspace-hub

Sub-skill of viv-analysis: Natural Frequencies JSON (+1).

viv-analysis-1-natural-frequency-analysis

5
from vamseeachanta/workspace-hub

Sub-skill of viv-analysis: 1. Natural Frequency Analysis (+3).

ship-dynamics-6dof-example-1-full-6dof-simulation

5
from vamseeachanta/workspace-hub

Sub-skill of ship-dynamics-6dof: Example 1: Full 6DOF Simulation.