Vibeflow code aster

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

Vibeflow code aster is an AI agent skill from the GitHub repository sunrise-hjx/vibeFlow-skills. Use when preparing, running, debugging, post-processing, or developing VibeFlow/VibeCAE Code_Aster structural FEM and multiphysics workflows, including MED mesh handoff, .comm/.export files, material and boundary mapping from 0-caseDict/caseDict, run_aster execution, validation, and Code_Aster Pytho

How to use this skill

Skill file

VibeFlow Code_Aster

This skill is responsible for connecting VibeCAE structural FEM, thermo-structural, and multiphysics problems to Code_Aster.

When to Use

First Decide: Usage Mode or Development Mode

What to Read First

Inputs

Outputs

Recommended Structure

C-run/code_aster/case-1/
├── case.export
├── case.comm
├── mesh.med
├── inputs/
├── results/
└── logs/

Usage Mode Workflow

  1. Confirm execution.backend code_aster or that the user explicitly requested Code_Aster.
  2. Check whether the mesh has group_ma/group_no semantics usable by Code_Aster.
  3. Map materials, sections, boundaries, loads, contact, and analysis type from caseDict.
  4. Generate .comm and .export, keeping paths relative to the case directory.
  5. Execute run_aster case.export or a minimal command file.
  6. Check fatal/error/alarm entries in the .mess log and confirm that result files were generated.
  7. Write run status, result files, errors, and limitations into caseDict.

Development Mode Workflow

  1. Define the development target: templates, command fragments, result parsing, MED conversion, material libraries, or contact/nonlinear strategies.
  2. Record reference commands, inputs/outputs, and applicable physical scope.
  3. Maintain templates with small benchmarks; do not debug first on a large case.
  4. Structure .comm generation logic to avoid uncontrolled string concatenation.
  5. When parsing .mess, extract only key errors, iteration status, convergence, and result summaries.
  6. If a general capability is reusable, place it in UDF/ or a Studio adapter; keep the call record in the current case.

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.