error-handler-fluids
Installation
SKILL.md
Error Handler for Fluid Calculations
Robust error handling and validation framework for production-ready fluid mechanics calculations. Prevents common numerical errors, validates physical bounds, and provides graceful degradation strategies.
Overview
Fluid calculations are prone to numerical instabilities and physical constraint violations. This helper provides comprehensive error handling, input validation, and debugging tools to create production-ready code.
Common Errors in Fluid Calculations
1. Division by Zero Errors
Mach Number at Zero Velocity
# Dangerous - can divide by zero
M = V / a # If a (speed of sound) = 0, this fails