|
[Sponsors] |
January 6, 2024, 10:40 |
Total Volume of a phase interFoam
|
#1 |
New Member
Volkan Atar
Join Date: Oct 2022
Posts: 23
Rep Power: 4 |
Hello Foamers,
i wanted to ask. How can i write into a file of the total volume of a phase (lets say water) for the specific time steps in the whole domain. Should i use functions in controlDict? I did something like that but how should i modify it? functions { waterVolume { type volFieldValue; libs (fieldFunctionObjects); writeControl timeStep; writeInterval 1; writeFields false; writeToFile true; log true; regionType all; operation sum; fields ( V()*alpha.water ); } }; Thanks in advance |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 05:37 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 22:14 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |
help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 24, 2001 00:16 |