cfd-pipeline-openfoam-case-setup-from-mesh

Sub-skill of cfd-pipeline: OpenFOAM Case Setup from Mesh (+2).

5 stars

Best use case

cfd-pipeline-openfoam-case-setup-from-mesh is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of cfd-pipeline: OpenFOAM Case Setup from Mesh (+2).

Teams using cfd-pipeline-openfoam-case-setup-from-mesh 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/openfoam-case-setup-from-mesh/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/engineering/workflows/cfd-pipeline/openfoam-case-setup-from-mesh/SKILL.md"

Manual Installation

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

How cfd-pipeline-openfoam-case-setup-from-mesh Compares

Feature / Agentcfd-pipeline-openfoam-case-setup-from-meshStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of cfd-pipeline: OpenFOAM Case Setup from Mesh (+2).

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

# OpenFOAM Case Setup from Mesh (+2)

## OpenFOAM Case Setup from Mesh


```bash
# 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.
```


## Boundary Condition Consistency Check


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


## Solver Execution


```bash
# 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
```

Related Skills

teams-meeting-pipeline

5
from vamseeachanta/workspace-hub

Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

solidworks-to-blender-pipeline

5
from vamseeachanta/workspace-hub

Use when converting SolidWorks .sldprt/.sldasm geometry to Blender for rendering, animation, or visualization, including questions about STEP export settings, FreeCAD as a bridge, or which mesh format (STL/OBJ/GLTF) to choose.

tax-filing-session-setup-with-github-tracking

5
from vamseeachanta/workspace-hub

Structured workflow for preparing and tracking a tax filing session using prepared documents, task checklist, and GitHub issue cross-referencing

tax-filing-session-setup-with-github-traceability

5
from vamseeachanta/workspace-hub

Structured workflow for setting up a multi-file tax filing session with GitHub issue tracking and prepared-file validation

multi-role-agent-contract-review-pipeline

5
from vamseeachanta/workspace-hub

Execute a 4-role agent team (Planner/Architect/Reviewer/Integrator) pipeline for self-reviewing knowledge artifacts before delivery

awk-range-pattern-edge-case-debugging

5
from vamseeachanta/workspace-hub

Debugging technique for awk range patterns that collapse when start line matches end pattern

gtm-prospect-pipeline-phased-execution

5
from vamseeachanta/workspace-hub

Phased execution pattern for

nextflow-pipelines

5
from vamseeachanta/workspace-hub

Run nf-core bioinformatics pipelines (rnaseq, sarek, atacseq) on sequencing data for gene expression, variant calling, and chromatin accessibility analyses.

orcawave-mesh-generation

5
from vamseeachanta/workspace-hub

Panel mesh generation for OrcaWave diffraction analysis. Use when converting CAD/STL to panel mesh, validating mesh quality, running convergence studies, or generating GDF files for hydrodynamic computations.

orcaflex-vessel-setup

5
from vamseeachanta/workspace-hub

Configure 6-DOF vessels in OrcaFlex with hydrodynamic properties, RAO import from AQWA, and vessel type creation. Covers initial position, orientation, calculation settings, and motion options.

hermes-windows-setup

5
from vamseeachanta/workspace-hub

Install and configure a repo-centric Hermes agent workspace on Windows. Covers prerequisites, repo cloning, Python/uv environment, skills system, memory bridge, and multi-agent coordination — the Windows equivalent of the Linux workspace-hub pattern.

gh-issue-creation-full-repo-and-batch-setup

5
from vamseeachanta/workspace-hub

Create multiple related GitHub issues safely by resolving full OWNER/REPO, checking duplicates and labels first, and verifying each created issue.