用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill cfd-pipeline-openfoam-case-setup-from-mesh命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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
基于 SOC 职业分类
| name | cfd-pipeline-openfoam-case-setup-from-mesh |
| description | Sub-skill of cfd-pipeline: OpenFOAM Case Setup from Mesh (+2). |
| version | 1.0.1 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
# After meshing, set up the solver case:
# 1. Copy 0/ boundary conditions (must match mesh patches)
# 2. Configure system/controlDict
# 3. Configure system/fvSchemes and system/fvSolution
# 4. Set physical properties in constant/
# Check that boundary names in 0/ match polyMesh/boundary
grep -r "type" constant/polyMesh/boundary | grep -v "//"
ls 0/ # Should have U, p, k, omega, etc.
def check_bc_consistency(case_dir):
"""Verify boundary conditions match mesh patches."""
from pathlib import Path
import re
# Get mesh patches
boundary_file = Path(case_dir) / 'constant' / 'polyMesh' / 'boundary'
boundary_text = boundary_file.read_text()
mesh_patches = set(re.findall(r'^\s+(\w+)\s*$', boundary_text, re.MULTILINE))
# Get BC patches from 0/ files
zero_dir = Path(case_dir) / '0'
issues = []
for bc_file in zero_dir.glob('*'):
if bc_file.is_file():
content = bc_file.read_text()
bc_patches = set(re.findall(r'^\s+(\w+)\s*\{', content, re.MULTILINE))
# Remove non-patch entries
bc_patches -= {'boundaryField', 'internalField', 'FoamFile', 'dimensions'}
missing = bc_patches - mesh_patches
if missing:
issues.append(f"{bc_file.name}: references non-existent patches: {missing}")
return issues
# Serial execution
simpleFoam -case /path/to/case 2>&1 | tee log.simpleFoam
# Parallel execution
decomposePar -case /path/to/case
mpirun -np 4 simpleFoam -parallel -case /path/to/case 2>&1 | tee log.simpleFoam
reconstructPar -case /path/to/case