Recently I've been simulating fluidized beds using the TFM method, and I need to report an X-Y plot of the height of the fluidized bed layer as a function of time during fluidization, which may require the use of a UDF?
Are you looking at liquid or gaseous fluidization: i.e. bubbling or quiescent beds? Before bubble-formation the voidage is related to gas velocity and the Richardson Zaki formula is often used. Bubbling bed expansion is far more difficult and depends on the static bed depth as well as particle and fluid properties.
One way can be to pre-define a surface, which you can call bed (all the cells with the appropriate solids packing in range say 0.02 to 0.6 which is (min packing of bed) to ( max packing of bed)). You need to get the max y- coordinate of this surface domain reported at each time interval. That will be the bed height. Set up this monitor with case, and it plots automatically as the simulation progresses.
A manual way is to first save time interval data files and to examine contours of solids packing at each time interval to directly see the height. If you click at the top of bed surface, you can get the y-coord.
ANSYS FLUENT has the capabilities for all this. We have made such surfaces in or papers 'Mesh size effect on CFD simulation of gas-fluidized Geldart A particles' and Fine Mesh Computational Fluid Dynamics Study on Gas-Fluidization of Geldart A Particles: Homogeneous to Bubbling Bed.