CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Problem in using DEFINE_SOURCE for continuity (http://www.cfd-online.com/Forums/fluent/48862-problem-using-define_source-continuity.html)

zbpeng July 25, 2008 05:19

Problem in using DEFINE_SOURCE for continuity
 
I have calculated the variation in the mass for a phase during a time step, the unit of which is 'kg'. According to the UDF guide for unsing DEFINE_SOURCE, I get the source term as a mass generation-rate/volume value, with the cell volume and time step divided. After integrated in Fluent, it makes the calculation unconverged. However, if only divided by the cell volume, the calculation can converge. Anyone could tell me the right way to deal with the source term for continuity equation?


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