openfoam-51-y-verification

Sub-skill of openfoam: 5.1 y+ Verification (+5).

5 stars

Best use case

openfoam-51-y-verification is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of openfoam: 5.1 y+ Verification (+5).

Teams using openfoam-51-y-verification should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/51-y-verification/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/cfd/openfoam/51-y-verification/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/51-y-verification/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How openfoam-51-y-verification Compares

Feature / Agentopenfoam-51-y-verificationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of openfoam: 5.1 y+ Verification (+5).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 5.1 y+ Verification (+5)

## 5.1 y+ Verification


```bash
# Compute y+ post-hoc
simpleFoam -postProcess -func yPlus -latestTime
```

Or add to controlDict:
```cpp
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 |


## 5.2 Mass Conservation


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 |


## 5.3 Residual Convergence Criteria


**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.


## 5.4 Benchmark Cases


Available locally at `/usr/lib/openfoam/openfoam2312/tutorials/`:

**Lid-Driven Cavity (icoFoam):**
```bash
# 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):**
```bash
# 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):**
```bash
# Path: tutorials/multiphase/interFoam/laminar/damBreak/damBreak/
blockMesh && setFields && interFoam
# Validates: VOF, free surface, interFoam
```

**motorBike (simpleFoam + snappyHexMesh):**
```bash
# Path: tutorials/incompressible/simpleFoam/motorBike/
# Full parallel workflow with snappyHexMesh
# Validates: complex geometry meshing, parallel execution, force coefficients
```


## 5.5 Function Objects for Monitoring


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/`


## 5.6 Export for ParaView


```bash
foamToVTK                                # all times -> VTK/ directory
foamToVTK -latestTime                    # latest only
foamToVTK -fields '(U p)'               # specific fields
foamToVTK -time '100:200'               # time range
```

---

Related Skills

subagent-write-verification

5
from vamseeachanta/workspace-hub

Independently verify subagent-claimed file writes with filesystem and git checks before treating the artifact as real, before committing it, and before referencing the path in downstream prompts.

tdd-verification-and-adversarial-review

5
from vamseeachanta/workspace-hub

Verify pre-written TDD tests pass, conduct adversarial code review on committed diffs, and route findings to existing issues

tax-form-navigation-verification

5
from vamseeachanta/workspace-hub

Systematic workflow for verifying tax software calculations against entry guide specifications

portable-pattern-verification-workflow

5
from vamseeachanta/workspace-hub

Multi-package implementation with verification strategy for cross-platform configuration hardening

multi-year-tax-filing-verification-workflow

5
from vamseeachanta/workspace-hub

Verify and reconcile complex multi-form tax filings by cross-referencing source documents, identifying data dependencies, and validating line-by-line against authoritative records.

plan-review-handoff-verification

5
from vamseeachanta/workspace-hub

Verify a parked GitHub issue plan-review handoff across live labels, local markers, README rows, canonical review artifacts, and stale plan-body evidence before reporting next action.

overnight-worktree-verification-fallback

5
from vamseeachanta/workspace-hub

Verify overnight multi-worktree Codex batches when auto-sync, duplicate-lane convergence, and sandbox-blocked review create misleading local state or review provenance.

verification-loop

5
from vamseeachanta/workspace-hub

Six-phase quality gate for code changes. Runs build, typecheck, lint, test, security, and diff-review in sequence. Supports JavaScript/TypeScript, Python, and Rust with auto-detection and skip conditions.

targeted-artifact-commit-verification

5
from vamseeachanta/workspace-hub

Verify whether the exact files from a just-completed task are still uncommitted before creating another commit, especially in dirty repos with unrelated churn.

artifact-commit-verification

5
from vamseeachanta/workspace-hub

Class-level artifact and commit verification for claimed agent work, exact file diffs, and closeout evidence.

artifact-verification

5
from vamseeachanta/workspace-hub

Orchestrator checklist to verify worker outputs against the approved plan before accepting artifacts. Phase 2 of orchestrator/worker context enforcement (#2020).

discipline-refactor-verification-checklist

5
from vamseeachanta/workspace-hub

Sub-skill of discipline-refactor: Verification Checklist.