CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Using Density Gradient C_R_G(c,t), Pressure Based Solver (http://www.cfd-online.com/Forums/fluent-udf/85266-using-density-gradient-c_r_g-c-t-pressure-based-solver.html)

Anirudh_Deodhar February 21, 2011 13:47

Using Density Gradient C_R_G(c,t), Pressure Based Solver
 
Hi all

I am using VOF method in Fluent to model air-water bubble. I need to use the density gradient inside the bubble interface (where 0 < volume fraction < 1) to write one of the source terms in an equation.
But Fluent doesn't allow me to use "C_R_G(c,t)" macro as I am using Pressure Based solver.
Is there a way to make C_R_G work in pressure based solver using some extra text command or anything else?
Or anybody aware of any other macro to calculate density gradient in the cells in interface region.
Thanks,
Anirudh

Isandor October 25, 2013 06:43

Hi,
I am experiencing exactly the same problem. Is there a way to calculate the density gradient in pressure based solver? Is there a workaround or something like that?
Thanks in advance.


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