CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF mixture fraction gradient (https://www.cfd-online.com/Forums/fluent-udf/191391-udf-mixture-fraction-gradient.html)

mitko August 9, 2017 05:49

UDF mixture fraction gradient
 
Hello, everyone!

I am writing an UDF to calculated the turbulent Schmidt number based on flow variables and thus not use a constant one for my simulation. But the problem which I am experiencing is that I need the mixture/mass fraction gradient for the last step of my calculations.

Is there a way in which I can access this values or calculate them? I tried using the cell macro C_YI_G(c,t), but it is aplicable only for density-based solvers and mine is pressure-based.

Thanks in advance!


All times are GMT -4. The time now is 01:14.