Agent skill
orcaflex-static-debug-execution-for-debugging
Sub-skill of orcaflex-static-debug: Execution for Debugging.
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-static-debug/execution-for-debugging
SKILL.md
Execution for Debugging
Execution for Debugging
import OrcFxAPI
# Progressive solver settings for convergence hunting
def find_convergence_settings(model_path):
"""Try progressively relaxed solver settings."""
model = OrcFxAPI.Model()
model.LoadData(model_path)
settings = [
{"damping": 10, "tolerance": 1e-5, "max_iter": 100},
{"damping": 50, "tolerance": 1e-4, "max_iter": 200},
{"damping": 100, "tolerance": 1e-3, "max_iter": 500},
{"damping": 200, "tolerance": 1e-2, "max_iter": 1000},
]
for s in settings:
model.general.StaticsDamping = s["damping"]
model.general.StaticsTolerance = s["tolerance"]
model.general.StaticsMaxIterations = s["max_iter"]
try:
model.CalculateStatics()
return {"converged": True, "settings": s}
except OrcFxAPI.OrcaFlexError:
continue
return {"converged": False, "settings": None}
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?