Snapshot WIP: solver HP epic progress, BPHX/HX physics, BMAD skill refresh.
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
Capture uncommitted solver robustness work (regularization, domain errors, linear solver lifecycle, tube DP/MSH), web workbench updates, and synced BMAD skills across IDE agent folders before starting BPHX pressure-drop. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -733,7 +733,7 @@ impl Compressor<Connected> {
|
||||
self.port_suction.enthalpy(),
|
||||
)
|
||||
.map_err(|e| {
|
||||
ComponentError::CalculationFailed(format!("Failed to compute suction state: {}", e))
|
||||
ComponentError::from_fluid_error_context("Failed to compute suction state", e)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -749,10 +749,7 @@ impl Compressor<Connected> {
|
||||
self.port_discharge.enthalpy(),
|
||||
)
|
||||
.map_err(|e| {
|
||||
ComponentError::CalculationFailed(format!(
|
||||
"Failed to compute discharge state: {}",
|
||||
e
|
||||
))
|
||||
ComponentError::from_fluid_error_context("Failed to compute discharge state", e)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -2227,7 +2224,7 @@ mod tests {
|
||||
assert!(result.is_ok(), "jacobian error: {:?}", result);
|
||||
|
||||
// Should have at least some entries
|
||||
assert!(jacobian.len() > 0);
|
||||
assert!(!jacobian.is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user