CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Surface area calculation of droplet in Paraview (https://www.cfd-online.com/Forums/paraview/236342-surface-area-calculation-droplet-paraview.html)

mhaghq May 25, 2021 16:27

Surface area calculation of droplet in Paraview
 
I have an OpenFOAM 3D-case. A droplet is initialized inside the computational domain using
Code:

sphereToCell
in
Code:

system/setFieldsDict
.

Now, I want to calculate the surface area of the droplet at several instances of time (lets say 0.1, 0.2). Can anyone please guide me on how can I accomplish this? Few hours digging into the forum and could not find anything specific.

Thanks in advance :)

Ardali January 20, 2022 10:48

This is late response.
This is responded in the forum before. FYI:
scalar bubbleSurfArea = gSum( (gradalpha1.internalField() * mesh.V())() );


All times are GMT -4. The time now is 21:02.