Skip to content

FOSSEE/pyvnt_llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


FoamGen

FoamGen is a command-line tool that lets you generate OpenFOAM case files simply by describing your simulation in natural language. Powered by large language models (LLMs) via the Together AI API, FoamGen can answer OpenFOAM-related questions, generate case files, and help automate CFD workflows. It supports interactive and batch modes, multiple LLM models, and easy API key management.

  • Example usage:

    cd foamgen
    python3 main.py ask-q "Create a lid-driven cavity case with Reynolds number 1000"
  • Features:

    • Natural language to OpenFOAM case file generation
    • Multi-model support (Meta-Llama, Mistral, etc.)
    • Interactive and batch CLI
    • API key management and model configuration
  • Full documentation:
    FoamGen README


OpenFOAM ↔ pyvnt Converter

The converter is an AI-powered tool for seamless conversion between OpenFOAM case files and pyvnt Python code structures. Using Google Gemini AI, it can translate in both directions with high accuracy and proper formatting. The converter features an interactive CLI, context file support, and organized output directories.

  • Example usage:

    cd converter
    python3 converter.py
  • Features:

    • Bidirectional conversion: OpenFOAM case files ↔ pyvnt Python code
    • Uses Google Gemini AI for intelligent, context-aware conversions
    • Interactive CLI with animated loading indicators
    • Context file support for improved accuracy
    • Organized output directories
  • Full documentation:
    Converter README


Both tools are designed to accelerate and simplify CFD workflows by leveraging the latest in AI technology.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published