Skip to content

An external library for OpenFOAM, containing a custom boundary condition for a velocity field behind cylinder.

License

Notifications You must be signed in to change notification settings

mohamedalysayed/wakeFoam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wakeFoam

An external library for OpenFOAM, containing a custom boundary condition for a velocity field behind cylinder.

OpenFOAM v2106 OpenFOAM 8

Table of Contents

  1. Introduction
  2. Implementaion
  3. License

Introduction

WakeFoam library contains a custom inflow boundary condition, which uses a trained Neural Network to simulate the velocity field of a cylinder wake at the inflow boundary.

Implementation

When using the wakeFoam library the net.pt and wake_BC files must be present in the simulations folder.

Installation

cd $WM_PROJECT_USER_DIR
git clone https://github.com/ComputationalDomain/wakeFoam.git
cd wakeFoam
wmake

Parameters

  1. flowSpeed Defines the flowspeed outside of the wake (Note: the velocity should be adjusted according to parameter D such that the Reynolds number stays equal to 100).
  2. locationY Defines the location of the center axis in spanwise direction.
  3. locationStreamwise Defines the distance of inlet surface from the cylinder (e.g. 8 diameters behind cylinder).
  4. D Diameter of the cylinder.
  5. streamwise streamwise axis (e.g. x).
  6. spanwise spanwise axis (e.g. y).

Usage

There are tutorials located in wakeFoam/tutorials.

License

This repository is licensed under MIT as given in LICENSE.

About

An external library for OpenFOAM, containing a custom boundary condition for a velocity field behind cylinder.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.8%
  • C 0.2%