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: Simple Cavitation Model

Figure 6.3 — Example: Simple Cavitation

Crate: cfd-suite (workspace root) Run: cargo run --example simple_cavitation Source: examples/simple_cavitation.rs

What This Example Demonstrates

Minimal cavitation inception and pressure recovery workflow on a constricted channel.

APIPurpose
cfd_core::physics::cavitationCavitation number σ = 2(p - pv) / ρU²
VenturiScreeningInputCavitation number σ = 2(p - pv) / ρU²
evaluate_venturi_screeningCavitation number σ = 2(p - pv) / ρU²

Physics Background

Cavitation number σ = 2(p - pv) / ρU². Pressure recovery from inception through collapse.

Book Chapter

← Part III — Turbulence and Multiphase