UDF for VOF
For my free falling, single, deformable drop problem (unsteady, VOF), I want to write an UDF to calculate the falling velocity of my drop dynamically,and use that as the moving grid velocity. By this UDF, I hope to be able to fixed my drop in the domain (according to the ref. frame of an observer). My idea is to calculate the mass-weighted-average of y-velocity(y: vertical axis) for all the cells within the drop for each time step and then to define it as the moving grid velocity. The question is, I am not sure which macros I need to manage those, and this idea will really work. Does anyone has a suggestion for me?
|All times are GMT -4. The time now is 23:51.|