Vibeflow su2

From sunrise-hjx/vibeFlow-skills · View interactive version

Vibeflow su2 is an AI agent skill from the GitHub repository sunrise-hjx/vibeFlow-skills. Use when preparing, running, debugging, post-processing, or extending VibeFlow/VibeCAE SU2 CFD, heat-transfer, adjoint, deformation, and optimization workflows from 0-caseDict/caseDict, including SU2 config files, mesh conversion, history monitoring, restart files, and reusable SU2 case templates.

How to use this skill

Skill file

VibeFlow SU2

This skill is responsible for using SU2 as the compressible/incompressible CFD, aerodynamic analysis, adjoint optimization, mesh deformation, and multiphysics backend for VibeCAE.

When To Use

First Decision: Usage Mode Or Development Mode

What To Read First

Inputs

Outputs

Recommended Structure

C-run/su2/
└── case-1/
    ├── config.cfg
    ├── mesh.su2
    ├── logs/
    ├── results/
    ├── restarts/
    ├── Allrun
    └── Allclean

Usage-Mode Workflow

  1. Map caseDict to SU2 configuration: SOLVER, KIND_TURB_MODEL, MACH_NUMBER, REYNOLDS_NUMBER, boundary markers, CFL, iteration count, and convergence monitoring.
  2. Check whether mesh boundary markers are consistent with caseDict.
  3. Generate config.cfg, keeping comments that explain key physical and numerical choices.
  4. Run a short-iteration smoke test to check configuration parsing and boundary recognition.
  5. Run the full case and monitor residuals, lift/drag, objective functions, or heat flux.
  6. Use post-processing scripts to generate convergence curves, force coefficients, surface distributions, and required field files.
  7. Write outputs, convergence status, and failure reasons back to caseDict.

Development-Mode Workflow

  1. Clarify the development target: configuration template, parameter sweep, adjoint optimization driver, mesh-deformation workflow, or SU2 source extension.
  2. Write the development note first, recording the SU2 version, module commands, configuration interface, inputs, outputs, and validation example.
  3. For template generators, preserve marker mapping and reference-quantity calculation notes.
  4. For source extensions, prefer an independent branch or external directory, and do not directly modify the system installation.
  5. Use at least one official tutorial or minimal case as a smoke test.

Core Rules

Validation

Fallback Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.