Vibeflow nektar

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

Vibeflow nektar is an AI agent skill from the GitHub repository sunrise-hjx/vibeFlow-skills. Use when preparing, running, debugging, post-processing, or extending VibeFlow/VibeCAE Nektar++ spectral/hp element workflows from 0-caseDict/caseDict, including XML session files, high-order meshes, incompressible/compressible solvers, FieldConvert/NekMesh, boundary conditions, polynomial order, fi

How to use this skill

Skill file

VibeFlow Nektar++

This skill treats Nektar++ as the high-order spectral/hp element CFD and PDE backend for VibeCAE. It is suitable for high-accuracy flow, wave, stability, and controlled-scale high-order discretization studies.

When to Use

First Decide: Usage Mode or Development Mode

What to Read First

Input

Output

Recommended Structure

C-run/nektar/
`-- case-1/
    |-- mesh.xml
    |-- session.xml
    |-- logs/
    |-- results/
    |-- Allrun
    `-- Allclean

Usage-Mode Workflow

  1. Map caseDict to the Nektar++ session: solver, parameters, variables, boundary regions, initial conditions, time integration, filters, and I/O.
  2. Prepare or convert the mesh, and check that composites and boundary regions match the caseDict boundaries.
  3. Choose polynomial order, quadrature/integration rules, time step, and stabilization settings.
  4. Run a short-time or short-iteration smoke test.
  5. Use FieldConvert to convert .fld/.chk to .vtu or to extract profiles.
  6. Post-process residuals, energy, force coefficients, field views, and error metrics.
  7. Write the run status and results back to caseDict.

Development-Mode Workflow

  1. Define the development target: session template, high-order mesh pipeline, solver parameter sweep, FieldConvert post-processing, or Nektar++ module extension.
  2. Write the development note first, recording the Nektar++ version, commands, XML interface, boundary-region mapping, and validation example.
  3. For high-order mesh workflows, record curved-boundary order and geometry error.
  4. For solver extensions, start from official examples and do not directly modify the system installation.
  5. Validate at least solver startup and FieldConvert on a small mesh.

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.