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 in conservation equations. (https://www.cfd-online.com/Forums/fluent-udf/191658-source-term-conservation-equations.html)

rupak504 August 15, 2017 14:40

Source term in conservation equations.
 
How to add source term in conservation equations?

Thanks

CeesH August 16, 2017 02:35

Go to cell zone conditions -> source terms. (be sure to have the cell-zone where you want to add the equations separately declared)

if constant, you can directly add the value there. If the source is variable, you can use a DEFINE_SOURCE UDF to calculate the local value and link that via this menu.

rupak504 August 18, 2017 06:42

Thank you for quick reply. i got that

by the way do you have any source code for energy equation for a VOF multiphase model?


All times are GMT -4. The time now is 05:29.