|
[Sponsors] |
January 6, 2024, 09:40 |
Total Volume of a phase interFoam
|
#1 |
New Member
Volkan Atar
Join Date: Oct 2022
Posts: 19
Rep Power: 3 |
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 04:37 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 05:42 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |
help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 23, 2001 23:16 |