An external library for OpenFOAM, containing a custom boundary condition for a velocity field behind cylinder.
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.
When using the wakeFoam library the net.pt and wake_BC files must be present in the simulations folder.
cd $WM_PROJECT_USER_DIR
git clone https://github.com/ComputationalDomain/wakeFoam.git
cd wakeFoam
wmakeflowSpeedDefines the flowspeed outside of the wake (Note: the velocity should be adjusted according to parameterDsuch that the Reynolds number stays equal to 100).locationYDefines the location of the center axis in spanwise direction.locationStreamwiseDefines the distance of inlet surface from the cylinder (e.g. 8 diameters behind cylinder).DDiameter of the cylinder.streamwisestreamwise axis (e.g. x).spanwisespanwise axis (e.g. y).
There are tutorials located in wakeFoam/tutorials.
This repository is licensed under MIT as given in LICENSE.