Wednesday, August 3, 2016

The FOUNTAIN

Hi Everyone,

I saw an interesting video today on youtube titled, "CFD of a fountain pool", done in Fluent using VoF. So This idea then came up to my mind to try solving this in OpenFOAM. And boy, i really did get started with this. The geometry was already there in the video ( thanks to Denis17488, who uploaded the video ) and can be seen below as an image,

Geometry Model

As I like doing most of the things on an open source platform, I used Gmsh to create the geometry and Mesh ( Hex ) as well,

Geometry and Boundary conditions - Gmsh

Hex Mesh generated in Gmsh
InterFoam which a Volume of Fluid (VoF) based solver is used for this analysis.
I have used a ramped sort of boundary condition which allows to change velocity with time. In the Velocity file inside 0 folder, include this boundary condition as shown below

 inlet
{

 type         uniformFixedValue;
 uniformValue    table
    (
    (0 (0 1 0))
    (1 (0 2 0))
    (2 (0 3 0))
    (3 (0 4 0))
    (4 (0 4 0))
    (5 (0 0 0))
    );
}

Simulation was ran for 10 sec. Image shown below is at t = 2sec.


Time = 2 sec
Animation for the same can be found here : https://youtu.be/cPEa4jQAWMA





No comments:

Post a Comment