CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   writing specified cells each time step (

nikos_fb16 December 18, 2009 11:19

writing specified cells each time step
Hi all,

during the calculation with interFoam I want to collect information which cells in the whole domain are completely filled with liquid for at least one time during the run, i.e. in which cells is gamma=1. This should be checked for each time step, the simulation is performed in parallel.

Can somebody give me a starting point?

I thought i could try to do it, by including a cellSet operation in the controlDict and perform a fieldToCell utility there (like it is done with the probe or fieldAverage functions) but it was not that easy :-)

I guess because cellSet is not a FunctionObject?

All times are GMT -4. The time now is 01:08.