Agent skill

orcawave-multi-body-error-handling

Sub-skill of orcawave-multi-body: Error Handling.

Stars 4
Forks 4

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-multi-body/error-handling

SKILL.md

Error Handling

Error Handling

python
# Handle multi-body analysis errors
try:
    mb = MultiBodyAnalysis()
    mb.add_body("FPSO", "fpso.gdf", [0, 0, 0])
    mb.add_body("Tanker", "tanker.gdf", [280, 15, 0])
    results = mb.run()

except MeshOverlapError as e:
    print(f"Bodies overlap: {e}")
    # Adjust body positions

except GapTooNarrowError as e:
    print(f"Gap too narrow for reliable results: {e}")
    # Minimum gap typically 2m

except CouplingConvergenceError as e:
    print(f"Coupling calculation did not converge: {e}")
    # Reduce frequency range or check mesh quality

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results