用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill openfoam-51-y-verification命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
Write outbound email and external messages in Vamsee Achanta's voice — a subtle offer to help, never bold or rash claims. Load before drafting ANY email, LinkedIn/Collide reply, proposal note, or outreach sent under his name.
Save/publish analysis or computation results from ANY ecosystem repo to Hugging Face as a queryable, viewer-renderable dataset. Use when the user wants to "save results to hugging face", "publish dataset to HF", "hugging face data saving", "save analysis results", "hf dataset", "make results queryable", or "render via datasets-server API". Reshapes nested results into flat parquet tables, writes a dataset card with a viewer `configs:` block and provenance, applies license/public-vs-private routing, enforces a domain data-quality gate (faithful-to-source != correct), publishes to `aceengineer/<repo>-<projection>`, and verifies via the datasets-server API.
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
正在显示 SKILL.md
| name | openfoam-51-y-verification |
| description | Sub-skill of openfoam: 5.1 y+ Verification (+5). |
| version | 1.0.0 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
# Compute y+ post-hoc
simpleFoam -postProcess -func yPlus -latestTime
Or add to controlDict:
functions { #includeFunc yPlus }
Target y+ ranges:
| Approach | y+ target | When to use |
|---|---|---|
| Wall-resolved (low-Re) | < 1 | Accurate wall heat transfer, separation |
| Wall functions (high-Re) | 30-300 | Industrial flows, coarser meshes |
| Buffer layer (avoid) | 5-30 | Neither model accurate here |
Parse continuity errors from log:
time step continuity errors : sum local = 1.23e-07, global = -2.34e-15, cumulative = -5.67e-14
| Metric | Acceptable |
|---|---|
| sum local | < 1e-4 (typical: 1e-6 to 1e-8) |
| global | < 1e-10 (should be near machine precision) |
| cumulative | Should not grow unbounded |
Steady-state (simpleFoam):
| Field | Typical target | Tight target |
|---|---|---|
| p | initial residual < 1e-4 | < 1e-5 |
| U | initial residual < 1e-4 | < 1e-5 |
| k, epsilon, omega | initial residual < 1e-4 | < 1e-5 |
Convergence: residuals should decrease monotonically. Oscillating residuals indicate numerical issues.
Transient: Final residuals within each time step should reach solver tolerance. Initial residuals should not grow over successive time steps.
Available locally at /usr/lib/openfoam/openfoam2312/tutorials/:
Lid-Driven Cavity (icoFoam):
# Path: tutorials/incompressible/icoFoam/cavity/cavity/
blockMesh && icoFoam
# Validates: PISO, basic BCs
# Expected: single primary vortex at Re=100, compare with Ghia et al. (1982)
Backward-Facing Step — pitzDaily (simpleFoam):
# Path: tutorials/incompressible/simpleFoam/pitzDaily/
blockMesh && simpleFoam
# Validates: SIMPLE, k-epsilon turbulence, wall functions
# Expected: reattachment at ~6-7 step heights downstream
Dam Break (interFoam):
# Path: tutorials/multiphase/interFoam/laminar/damBreak/damBreak/
blockMesh && setFields && interFoam
# Validates: VOF, free surface, interFoam
motorBike (simpleFoam + snappyHexMesh):
# Path: tutorials/incompressible/simpleFoam/motorBike/
# Full parallel workflow with snappyHexMesh
# Validates: complex geometry meshing, parallel execution, force coefficients
Include in controlDict functions {}:
| Name | Purpose |
|---|---|
#includeFunc yPlus | Wall y+ field |
#includeFunc CourantNo | Courant number field |
#includeFunc fieldMinMax | Min/max of all fields |
#includeFunc solverInfo | Residual data per timestep |
#includeFunc wallShearStress | Wall shear stress |
#includeFunc vorticity | Vorticity field |
#includeFunc Q | Q criterion for vortex identification |
All function object templates at: /usr/lib/openfoam/openfoam2312/etc/caseDicts/postProcessing/
foamToVTK # all times -> VTK/ directory
foamToVTK -latestTime # latest only
foamToVTK -fields '(U p)' # specific fields
foamToVTK -time '100:200' # time range