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/)
-   -   Source term UDF overall concentration (https://www.cfd-online.com/Forums/fluent-udf/243614-source-term-udf-overall-concentration.html)

fluentuser10000 June 28, 2022 04:34

Source term UDF overall concentration
 
Hello all,

I would appreciate if some one can help me with this:

I want to claculate the overal concentration of an species in my source term UDF so that I can write a condition based on that.

I have 4 species and a multi phase (gas-liquid) system.

C_YI(c,t, 1) gives me the mass fraction of my id=1 species. But how can I calculate the overall concentration of this species in the whole liquid domain (or the region source term is applied)?

Thanks,
Shaya


All times are GMT -4. The time now is 10:13.