P5-3 instruments: per-region wall loads on saved instants (top / bottom / tip arc / fillets+cylinder — drag, lift, normal-traction mean/min/max; RTX_FSI2O_AUDIT_FACES, RTX_FSI2O_AUDIT_ONLY) and the patch-thickness knobs (RTX_FSI2O_PATCH_OFFSET / _PATCH_ROWS, RTX_OVERSET_PATCH_OFFSET / _PATCH_ROWS; save tags carry the offset) — the overlap band sat at a fixed number of cells (6 h) and moved inward in metres with refinement
CI / Build (macos-latest) (push) Failing after 9s
Documentation / Build API Documentation (push) Canceled after 0s
Documentation / Build User Guide (push) Canceled after 0s
Performance Benchmarks / Run Benchmarks (push) Canceled after 0s
CI / Format Check (push) Canceled after 0s
CI / Clippy Check (push) Canceled after 0s
CI / Build (ubuntu-latest) (push) Canceled after 0s
CI / Test (macos-latest) (push) Canceled after 0s
CI / Test (ubuntu-latest) (push) Canceled after 0s
CI / Build CPU-Only (Explicit) (push) Canceled after 0s
CI / Python Bindings (maturin) (macos-latest) (push) Canceled after 0s
CI / Python Bindings (maturin) (ubuntu-latest) (push) Canceled after 0s
CI / WASM Build + Size Check (push) Canceled after 0s
CI / Distributed Training Tests (push) Canceled after 0s
CI / CI Success (push) Canceled after 0s
CI / Build (macos-latest) (push) Failing after 9s
Documentation / Build API Documentation (push) Canceled after 0s
Documentation / Build User Guide (push) Canceled after 0s
Performance Benchmarks / Run Benchmarks (push) Canceled after 0s
CI / Format Check (push) Canceled after 0s
CI / Clippy Check (push) Canceled after 0s
CI / Build (ubuntu-latest) (push) Canceled after 0s
CI / Test (macos-latest) (push) Canceled after 0s
CI / Test (ubuntu-latest) (push) Canceled after 0s
CI / Build CPU-Only (Explicit) (push) Canceled after 0s
CI / Python Bindings (maturin) (macos-latest) (push) Canceled after 0s
CI / Python Bindings (maturin) (ubuntu-latest) (push) Canceled after 0s
CI / WASM Build + Size Check (push) Canceled after 0s
CI / Distributed Training Tests (push) Canceled after 0s
CI / CI Success (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_0116sg1Qz1gMv9hdcKP1XUam
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
2c1143076e
commit
3e019d1491
@@ -44,7 +44,17 @@ fn fsi2_overset_audit_of_saved_instants() {
|
||||
})
|
||||
.collect();
|
||||
dirs.sort();
|
||||
// `RTX_FSI2O_AUDIT_ONLY=a,b,c`: only the named instants.
|
||||
let only: Option<Vec<String>> = std::env::var("RTX_FSI2O_AUDIT_ONLY")
|
||||
.ok()
|
||||
.map(|v| v.split(',').map(|s| s.trim().to_string()).collect());
|
||||
for d in dirs {
|
||||
if let Some(only) = &only {
|
||||
let name = d.file_name().unwrap().to_string_lossy().to_string();
|
||||
if !only.iter().any(|o| name.contains(o.as_str())) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
let (fluid, dvec, t) =
|
||||
fsi2_harness::overset::OversetFluid::from_instant(case, ny, flag_nx, &d)
|
||||
.expect("instant");
|
||||
@@ -54,6 +64,19 @@ fn fsi2_overset_audit_of_saved_instants() {
|
||||
d.file_name().unwrap().to_string_lossy(),
|
||||
fluid.chain_line()
|
||||
);
|
||||
// `RTX_FSI2O_AUDIT_FACES=1`: the wall load by region (P5-3).
|
||||
if std::env::var("RTX_FSI2O_AUDIT_FACES").is_ok() {
|
||||
let (regions, level) = fluid.wall_regions(&dvec);
|
||||
let uy_tip = dvec[2 * fluid.interface.tip[fluid.interface.tip.len() / 2] + 1];
|
||||
let mut line =
|
||||
format!(" REGIONS t = {t:.4} tip uy {uy_tip:+.4}: p level {level:+.1} Pa |");
|
||||
for (name, n, len, fx, fy, tn_mean, tn_min, tn_max) in regions {
|
||||
line += &format!(
|
||||
" {name}: {n} faces {len:.3} m, drag {fx:+.1}, lift {fy:+.1}, t_n mean {tn_mean:+.0} [{tn_min:+.0}, {tn_max:+.0}] Pa |"
|
||||
);
|
||||
}
|
||||
println!("{line}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user