コンテンツにスキップ

forest-stl

英語 | 日本語

« Home · « 層流・解析解による検証

Flow around an ARBITRARY STL body on the FOREST (block-AMR) solver -- the auto-voxelization driver (docs/design/stl-voxelization-design.md §5.2). Cloned from benchmarks/forest_sphere.cpp with exactly one thing swapped: the analytic SphereGeom predicate is replaced by StlGeom (BVH + angle-weighted pseudonormal signed distance over a user STL). Because StlGeom exposes the SAME implicit interface, EVERYTHING downstream -- forest_build_wall_data (solid mask + Bouzidi qlink bisection), the surface-band sensor, MRT/RR/HRR collide, the momentum-exchange force, the y=0 slice dump, time-averaging and the mass-drift monitor -- is IDENTICAL to the sphere driver (the design's whole point: the STL path exercises byte-identical, already-validated code).

概要: 任意の STL 形状を自動ボクセル化して解くドライバ。単体では QoI を持たず、球 STL で forest_sphere とバイト一致することをもって経路の正しさを確認する。

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-forest-stl

Validation

Tier T3 — デモ(定量ゲートなし)
QoI Cd(STL 経路の同一性)
Reference forest_sphere とバイト一致で判定
Gate — ゲートなし

Source & run details

View source

Item Value
Target orheo-forest-stl
Source native/benchmarks/forest_stl.cpp
Lattice —
GPU twin yes (orheo-forest-stl-gpu)
Modules ahmed_solver.hpp, forest_mesh_spec.hpp, forest_regrid.hpp, forest_step.hpp, stl_geom.hpp
Gallery run まだ実行していない(図・ログなし)