CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Cloud Function Objects question? (https://www.cfd-online.com/Forums/openfoam-solving/112612-cloud-function-objects-question.html)

jiejie January 31, 2013 22:45

Cloud Function Objects question?
 
Dear foamers

I just wonder whether anyone used the VoidFraction under the src/lagrangian/intermediate/submodels/CloudFunctionObjects?

I have a set of two phase flow data (bubble/fluid) with lagrangian tracking and I am trying to calculate the void fraction of the flow field.

I have put the followings in the kinematicCloudProperties:
Code:

cloudFunctions
{
  voidFraction;
}

However, I got the void fraction is zero everywhere in the kinematicCloudTheta:
Code:

dimensions      [0 0 0 0 0 0 0];

internalField  uniform 0;

boundaryField
{
    movingWall
    {
        type            calculated;
        value          uniform 0;
    }
    walls
    {
        type            calculated;
        value          uniform 0;
    }
}

I am not sure where I got it every. I really appreciate any advice suggested.

haakon May 1, 2013 07:57

I have the exact same issue as you, and cannot get it to work either. I have filed a bug report on it: http://www.openfoam.org/mantisbt/view.php?id=829

vishal_s April 10, 2018 09:53

Hello,

Hello Jie, Did you solved the void fraction issue in CollidingParcel case ? can you please share their file or suggest me where and how to incorporate the line " td.cloud().functions().postMove(p, cellI, dt);" in CollidingParcel.C. Moreover, dt is not mention in the CollidingParcel.H file. so it will give an error while compiling

I am using OF-2.2.2.


All times are GMT -4. The time now is 18:43.