CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   implementation of a new surface tension force model (https://www.cfd-online.com/Forums/fluent/251370-implementation-new-surface-tension-force-model.html)

Pengfei Yu August 11, 2023 22:37

implementation of a new surface tension force model
 
Hi, guys. I want to modify the built-in surface tension model (the CSF model) in FLUENT. But I had some difficulty understanding the implementation of the original CSF model. This is the literature about the CSF model
(https://www.sciencedirect.com/scienc...2199919290240Y), in which the authors said that face-centered values of Fsv are needed for the computation of fluid acceleration due to surface tension in the MAC method, since MAC acceleration is calculated at cell faces. Which macro in FLUENT UDF can help me? I think DEFINE_SOURCE may be useful, but it is imposed on the cell centroid, so what should I do to link between the CSF model and the DEFINE_SOURCE macro? Can somebody help me?


All times are GMT -4. The time now is 12:37.