Skip to content

About

A streamlined OpenFOAM generation tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

AmpersandCFD

A user-friendly OpenFOAM case generation tool

Ampersand Interface

Overview

Ampersand streamlines the OpenFOAM case file generation process through an intuitive interface. It handles both external and internal incompressible flows with minimal user input, automatically managing mesh parameters, boundary conditions, and numerical schemes.

Installation

Prerequisites

  • OpenFOAM (ESI version)
  • Python 3.x
  • Git

Quick Install

pip install git+https://github.com/thawtar/ampersandCFD#egg=ampersandCFD

Development Setup

git clone https://github.com/thawtar/ampersandCFD.git
cd ampersandCFD
pip install -r requirements.txt

Compatibility

  • Supports OpenFOAM ESI versions (v2206, v2212, and newer)
  • Should work with v1912, v2006 (untested)

Usage

Create New Case

cd ampersandCFD/src
ampersandcfd --create

Modify Existing Case

cd ampersandCFD/src
ampersandcfd --open

Key Features

Automated Workflow

  • Simple question-based interface
  • Automatic mesh sizing and y+ calculation
  • Optimized boundary conditions
  • Pre-configured numerical schemes

Supported Applications

  • External aerodynamics
  • Internal flow machinery
  • Multi-region simulations

Example Applications

Internal Flow: Multi-region Tank Mesh

Tank Mesh

External Flow: DrivAer Simulation

DrivAer

External Flow: Formula One

F1 Car

Resources

Contributing

Contributions are welcome! Please check our contribution guidelines before submitting pull requests.

About

A streamlined OpenFOAM generation tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages