Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Example: geometry_integration_demo

Figure 15.6 — Example: Geometry Integration Demo

Source: crates/cfd-1d/examples/geometry_integration_demo.rs
Crate: cfd-1d

Overview

Full pipeline: generate bifurcation geometry via cfd-schematics, convert to ChannelSpec/NodeSpec, build and solve the 1D network, visualize flow rate distribution, export results to JSON.

Key API

Uses AnalysisOverlay for typed CFD field visualization (no raw cfd_1d::domain::channel imports — fully schema-driven).

Run

cargo run -p cfd-1d --example geometry_integration_demo
```text

## Part Reference

Part VIII — 2-D and Schematic Examples