OneFLOW Scientific Computing
OneFLOW is an open-source codebase for computational fluid dynamics (CFD) and scientific computing. It brings together a C++ runtime, mesh generation and conversion, numerical methods, case-based verification, and engineering workflow tools.
This documentation serves three audiences: people getting OneFLOW built and running, users preparing and checking cases, and developers working on the runtime or engineering tools. OneFLOW is evolving; the code, tests, and runbooks for the revision in use determine which capabilities are currently supported. Roadmap items and build options alone do not establish implementation completeness.
Project links
Getting started
Start with the project overview, then follow the installation and build instructions for your platform.
OneFLOW — project scope and documentation map.
Install — installation and environment setup.
Repository README — current build, test, and command-line instructions.
Using OneFLOW
Mesh and engineering workflows
Geometry Asset Architecture — format-independent geometry assets, definitions, representations, provenance and derivation.
OneFLOW Mesh Architecture — mesh information levels, snapshots, and format adapters.
OneFLOW Native STL Surface I/O — native C++ STL ASCII/Binary I/O, facet semantics, and reader/writer verification.
Gmsh MSH Interface — Gmsh MSH 4.1-first input adapter, version support, semantic mapping, and conversion validation.
Planar STL to Gmsh 2D Geometry — planar STL boundary extraction, explicit CFD boundary groups, and Gmsh 2D generation.
3D STL-to-Gmsh Volume Cases — cube STL volume reconstruction, fixed HEXA_8/TETRA_4 topology, and automatic tetrahedral meshing.
STL Geometry Generation for 3-D Mesh Cases — parameterized STL geometry library, GUI workflow, sphere/spheroid/cylinder construction, patch identity, units and artifact policy.
STL Geometry Assets and STL-to-Gmsh Pipeline — geometry asset preparation, STL validation, C++/Python adapters, Gmsh reconstruction and CFD handoff.
Generic STL Surface Cutting — blind-input STL cutting with two arbitrary planar sections and generated end caps.
STL Unit Sphere to Gmsh 3D Tetrahedral Mesh — unit-sphere STL validation, Gmsh surface reconstruction, tetrahedral volume generation, commands, and evidence.
6:1 Prolate Spheroid STL to Gmsh — 6:1 prolate spheroid STL, automatic tetrahedral meshing, and Mesh-to-CFD smoke route.
STL to Gmsh: 3-D Volume Mesh Command — copy-and-run commands for generating 3-D tetrahedral meshes from closed STL surfaces and controlling mesh size.
Boundary Condition Architecture — physical boundary semantics, Gmsh/CGNS/OneFLOW mappings, required state data, and verification boundaries.
Grid Conversion Cases — runnable mesh conversion Cases, topology coverage, and format-route matrix.
Development Case Methodology — how to design, implement, document, and verify reusable 2D/3D Development Cases.
Grid Topology and Validation — topology contracts, boundary normalization, and derived connectivity.
Face Stage Pipeline — staged face write path, BC export, reorder contract, identity vs orientation.
Grid case guide — mesh cases and conversion workflows.
OneFLOW Workbench 用户手册 — Chinese user guide for the optional Workbench GUI.
Case Parameter Design and GUI Editing — case parameter files and GUI editing design.
Case parameter resolution and construction — file-independent parameter overrides and Case construction plans.
Engineering nomenclature and semantic cross-reference — source-backed cross-software CFD terminology, variable aliases, units, and semantic caveats.
Workbench module reference — detailed current behavior, paths, and service tests.
Developer resources
OneFLOW Change Preflight — repository-wide contract, evidence, and Python test-registration checks before committing.
Test Inventory and Contract Data — source-discovered test catalog, separated by framework, with input/expected/result contracts.
CMake Build Architecture — module source discovery, compatibility rules, dependency boundaries, and CMake self-tests.
OneFLOW Runtime Architecture and Development Guide — runtime entry points, configuration boundaries, execution flow, and refactoring rules.
OneFLOW Runtime Environment and Dependency Information — runtime dependency introspection, CGNS version evidence, CLI JSON, and Workbench display.
Runtime Case Lifecycle and Production Entry — production CLI-to-case execution sequence, configuration ingestion, cleanup ownership, and integration evidence.
Database Architecture and Data Access Contracts — parameter ownership, type-erased storage, const access, field pointer registration, and serialization contracts.
Evolutionary Scientific-Computing Architecture — computation-unit contracts, intermediate representations, and the long-term algorithm/dataflow evolution model.
OneFLOW Architecture Review and Development Principles — whole-system CFD/CAE architecture checklist, major cross-cutting risks, and AI-assisted development review prompts.
Development principles and regression-prevention checklist — durable engineering rules, recurring defect patterns, and pre/post-change checks.
OneFLOW Architecture Priority Roadmap — ranked investment sequence by system-wide return, verification cost, and cross-subsystem leverage.
Verification and Evidence Lifecycle — how claims, tests, runs, artifacts, numerical results, and references form an auditable evidence chain.
AI project context and refactoring handoff — current focus, verified findings, open gaps, and next actions for continuing work.
OneFLOW Workbench Architecture — Workbench concepts, service boundaries, run lifecycle, and shared Parameter contracts.
Contract Workbench Information Architecture — shared Contract Workbench navigation with typed Formula, Case, Runtime, Workflow, Mesh, Geometry, and Algorithm knowledge.
Verification Contract Workbench proposal — proposed shared model for numerical, geometry, runtime, workflow, and case evidence; not yet an implementation claim.
Regression test guide — CFD and grid regression checks.
Documentation organization plan — document ownership and consolidation status.
Runtime refactoring roadmap — staged goals, acceptance criteria, and implementation evidence.
Reference library
The existing reference library covers programming languages, build systems, parallel computing, numerical methods, visualization, and related tools. It remains available below; the curated entry points above are intended to help readers find a starting point without replacing that material.