CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   writing specified cells each time step (http://www.cfd-online.com/Forums/openfoam-solving/71190-writing-specified-cells-each-time-step.html)

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 21:34.