CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   3D simulation of bubble boiling in paraview (https://www.cfd-online.com/Forums/openfoam-post-processing/219382-3d-simulation-bubble-boiling-paraview.html)

Fahmida July 25, 2019 03:37

3D simulation of bubble boiling in paraview
 
Hello everyone,
I am new in this forum and field too so i am just still learning. I am trying to simulate nucleate boiling in 3D with VOF and also I am at my initial stage. Initially I wanted to create just a semi-spherical bubble at the bottom plane of a cube.

The problem is the bubble does not show when I try to visualize it in paraview. I tried reducing the opacity. But nothing showed up.
Any help would be appreciated.

Here is my blockMesh file:

Code:

convertToMeters 1;

vertices
(
    (0 0 0)
    (0.031 0 0)
    (0.031 0.031 0)
    (0 0.031 0)
    (0 0 0.031)
    (0.031 0 0.031)
    (0.031 0.031 0.031)
    (0 0.031 0.031)
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (10 10 10) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    bottom
    {
        type wall;
        faces
        (
            (1 5 4 0)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (3 7 6 2)
        );
    }
    walls
    {
        type wall;
        faces
        (
            (0 4 7 3)
            (2 6 5 1)
        );
    }
);

mergePatchPairs
(
);

and here is my toposetDict:

Code:

actions
(
    {
        name c0;
        type cellSet;
        action new;
        source sphereToCell;
        sourceInfo
        {
            centre (0.0155 0.0155 0);
            radius 0.001;
        }
    }

    {
        name c0;
        type cellSet;
        action delete;
        source boxToCell;
        sourceInfo
        {
         
              box (0.0145 0.0145 -0.001) (0.0165 0.0165 0);
        }
    }

);

Also here is the setFieldDict file:

Code:

defaultFieldValues
(
        volScalarFieldValue alpha1 1
        volScalarFieldValue T 559.95
        volVectorFieldValue U (0 0 0)
);

regions
(

    boxToCell
    {
        box (0 0.026 0) (0.031 0.031 .031);
        fieldValues
        (
            volScalarFieldValue alpha1 0
            volScalarFieldValue T 559.95
            volVectorFieldValue U (0 0 0)
        );
    }
 
    cellToCell
    {
        set c0;

        fieldValues
        (
            volScalarFieldValue alpha1 0
            volScalarFieldValue T 559.95
            volVectorFieldValue U (0 0 0)
        );
    }
);

The simulation ran properly but I really do not know where the bubble has gone when I visualize this in paraview

guin July 25, 2019 03:58

NOTE: Already answered in https://www.cfd-online.com/Forums/op...tml#post739967

Fahmida July 25, 2019 04:46

Thank you :)


All times are GMT -4. The time now is 16:47.