CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   About units of mass source term (http://www.cfd-online.com/Forums/fluent/36235-about-units-mass-source-term.html)

bg2306 April 1, 2005 11:46

About units of mass source term
 
Hello,

I have a question about Source terms (mass) with UDF. I want to simulate a sink for a species on a wall. This sink model seems as c'=k*c. Both have units [kg/m]. c' is the concentration on the wall and c is the concentration in the air. This means that the concentration on the wall depends on the concentration in the air. I want to write a UDF with macro DEFINE_SOURCE for mass source in Boundary condition of this wall. It is defined as fluid. Because in Fluent, the units of mass source must be [kg/ms], my question is, how can I change the units for mass source from [kg/m] in [kg/ms].

Thanks in advance!

Bin


All times are GMT -4. The time now is 06:57.