协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
hpc-openfoam【开发与工程】Generate, review, debug, and recover OpenFOAM case files for CFD workflows. Use when working with OpenFOAM dictionaries, case structure, turbulence fields, boundary conditions, decomposition, numerics, or OpenFOAM runtime errors. Also covers RANS/LES turbulence setup, wall functions, y+ targeting, conjugate heat transfer, compressible flows, VOF mult…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Follow a progressive loading workflow.
references/case-setup.md before creating or editing any OpenFOAM case.references/solver-selection.md when selecting a solver family or pressure convention.references/boundary-condition-playbook.md for concrete BC syntax (fixedValue, inletOutlet, wall functions, etc.).references/turbulence-bc-recipes.md for turbulence model setup, inlet value estimation, and wall function selection with y+ guidance.references/numerics-and-schemes-guide.md for fvSchemes and fvSolution tuning with scheme selection tables.references/case-recipes.md for complete case configurations (internal flow, external aero, VOF, PIMPLE, buoyant).references/function-object-recipes.md for probes, forces, yPlus monitoring.references/validation-parallel-and-observability.md for validation, post-processing, and parallel execution.references/cluster-execution-playbook.md for scheduler-backed cluster execution.references/error-recovery.md for diagnostic commands, decision tree, and fix sequences.Load the relevant recipe when the task involves:
references/numerics-and-schemes-guide.md — fvSchemes convection/gradient/time schemes, fvSolution solver settings, relaxation factors, SIMPLE/PISO/PIMPLE algorithm controls, progressive scheme upgrade strategyreferences/heat-transfer-and-compressible-cases.md — thermophysicalProperties (Boussinesq, ideal gas, Sutherland), buoyant solvers, conjugate heat transfer (chtMultiRegionFoam), solid properties, fluid-solid coupling BCsreferences/multiphase-vof-recipes.md — interFoam setup, alpha transport, MULES settings, maxAlphaCo, phase initialization (setFields), VOF boundary conditionsreferences/mesh-quality-and-generation-guide.md — checkMesh thresholds and interpretation, blockMesh grading, snappyHexMesh workflow, y+ targeted layer meshing0/, constant/, and system/. Do not edit one layer in isolation if it changes the required fields elsewhere.simpleFoam or foamRun -solver incompressibleFluid: steady incompressible; expect U, p, and turbulence fields if RAS.pimpleFoam or foamRun -solver incompressibleFluid with transient/PIMPLE settings: transient incompressible; review timestep control and outer correctors.interFoam or foamRun -solver incompressibleVoF: multiphase; control both maxCo and maxAlphaCo.buoyantSimpleFoam / buoyantPimpleFoam: heat transfer; add T, p_rgh, alphat, thermophysicalProperties, g.chtMultiRegionFoam: conjugate heat transfer; multi-region setup with fluid and solid.blockMesh or the mesh generatorcheckMesh — non-orthogonality > 70° needs correctors, > 85° needs remeshingnumberOfSubdomains match the intended MPI rank countscotch for complex geometries unless the user requests a manual layoutsimpleFoam/pimpleFoam/interFoam exists, it is valid to run directlyfoamRun -solver <moduleName> and verify the module loadsLoad these on demand:
references/mesh-and-blockmeshdict-manual.md for mesh generation, vertex ordering, and mesh-quality workflowreferences/turbulence-and-numerics.md for turbulence model matching and decomposition choicesreferences/fvsolution-and-residual-control.md for algorithm loops, solver blocks, and case termination logicreferences/field-and-dictionary-matrix.md for solver-to-field and file-to-parameter matricescheckMesh warnings as optional if the log is already diverging.p when the solver expects p_rgh (buoyant/VOF), or vice versa.ISMEAR=-5 equivalent (tetrahedron) — this is a VASP concept, not OpenFOAM.linear (central differencing) for alpha convection in VOF — it is unbounded.consistent yes).Use assets/templates/ when a concrete case skeleton is needed:
simplefoam-minimal/ — minimal steady incompressible case with inline comments explaining scheme and solver choices, plus turbulence upgrade instructionsinterfoam-minimal/ — multiphase checklist placeholder (not a self-contained runnable case)openfoam-parallel-slurm.sh — minimal scheduled parallel run scaffoldProduce a short case summary that states: