chore: remove deprecated flow_boundary and update docs to match new architecture

This commit is contained in:
Sepehr
2026-03-01 20:00:09 +01:00
parent 20700afce8
commit d88914a44f
105 changed files with 11222 additions and 2994 deletions

View File

@@ -95,14 +95,17 @@ impl MovingBoundaryCache {
pub struct MovingBoundaryHX {
inner: HeatExchanger<EpsNtuModel>,
geometry: BphxGeometry,
correlation_selector: CorrelationSelector,
_correlation_selector: CorrelationSelector,
refrigerant_id: String,
secondary_fluid_id: String,
fluid_backend: Option<Arc<dyn entropyk_fluids::FluidBackend>>,
// Discretization parameters
n_discretization: usize,
cache: RefCell<MovingBoundaryCache>,
last_htc: Cell<f64>,
last_validity_warning: Cell<bool>,
// Internal state caching
_last_htc: Cell<f64>,
_last_validity_warning: Cell<bool>,
}
impl Default for MovingBoundaryHX {
@@ -120,14 +123,14 @@ impl MovingBoundaryHX {
Self {
inner: HeatExchanger::new(model, "MovingBoundaryHX"),
geometry,
correlation_selector: CorrelationSelector::default(),
_correlation_selector: CorrelationSelector::default(),
refrigerant_id: String::new(),
secondary_fluid_id: String::new(),
fluid_backend: None,
n_discretization: 51,
cache: RefCell::new(MovingBoundaryCache::default()),
last_htc: Cell::new(0.0),
last_validity_warning: Cell::new(false),
_last_htc: Cell::new(0.0),
_last_validity_warning: Cell::new(false),
}
}