Agent skill
orcaflex-modal-analysis-common-errors-and-fixes
Sub-skill of orcaflex-modal-analysis: Common Errors and Fixes (+1).
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-modal-analysis/common-errors-and-fixes
SKILL.md
Common Errors and Fixes (+1)
Common Errors and Fixes
| Error | Cause | Fix |
|---|---|---|
Statics failed to converge |
Model not in equilibrium before modal | Fix statics first (see orcaflex-static-debug skill) |
Singular stiffness matrix |
Zero-tension lines or disconnected components | Check all lines have positive tension; verify all connections |
No modes found |
lastMode too low or model too simple | Increase lastMode; add more DOFs (finer segmentation) |
| Modal analysis hangs | Very large model with too many modes requested | Reduce lastMode or simplify model (coarser segments) |
| Unrealistic frequencies | Wrong units (mass, stiffness) or missing added mass | Verify line type properties; check hydrodynamic coefficients |
| Mode shapes all zero for an object | Object not included in modal analysis scope | Add object to ObjectName list in config |
| Duplicate frequencies | Symmetric model produces paired modes | Expected for symmetric configurations; modes are degenerate pairs |
Debugging Modal Issues
def diagnose_modal_failure(model):
"""Pre-check model before modal analysis."""
issues = []
# Check statics first
try:
model.CalculateStatics()
except OrcFxAPI.OrcaFlexError as e:
issues.append(f"Statics failed: {e} — fix statics before modal analysis")
*See sub-skills for full details.*
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?