CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   finding volume fraction from Lagrangian tracking (https://www.cfd-online.com/Forums/openfoam-programming-development/119167-finding-volume-fraction-lagrangian-tracking.html)

JamR June 11, 2013 06:48

finding volume fraction from Lagrangian tracking
 
Dear All,
I need to calculate volume fraction of bubbles as a field variable. I am trying to find the position of bubbles from a Lagrangian solver and therefore, need to convert the results of Lagrangian solver to volume fraction. Does anybody have experience about this? Or even knows how to couple the cloud data to be used as field variables.

I highly appreciate your help,

Best wishes,

JamR

charles4allme July 22, 2019 06:00

Hi,

Were you able to figure out the problem.

Regards,
Okorie

Mat_fr March 10, 2020 05:57

Hi all,


You can get the Eulerian volume fraction from your Lagrangian solver by adding the desired function in kinematicCloudProperties file:



Code:

cloudFunctions
{
    voidFraction
    {
        type voidFraction;
    }
}


The volume fraction will be available then through the kinematicCloudTheta scalar field in your results files.


Hope this helps,
Mat


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