CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   How to write UDF to add a source term to the new transport equation ? (http://www.cfd-online.com/Forums/fluent-udf/108341-how-write-udf-add-source-term-new-transport-equation.html)

89566008 October 20, 2012 03:14

How to write UDF to add a source term to the new transport equation ?
 
please help me to write UDF for this type of source term

S=-d/dx(AZ+B)
where A and B are constant and Z is the new scalar.

mvee October 22, 2012 06:31

Please describe your problem.
Why do want scalar equation and how its source term exist?
How do you couple its solution with NS equation?

Best wishes
Mvee

89566008 October 22, 2012 07:23

the scalar equation is for ion density in ESP .
the source term is in below form :
S=d/dx(constant1*uds0*grad_uds1+constant2)
uds0 is the current scalar that the source term is for it
and uds1 is the scalar that defined separate
thanks
IVI


All times are GMT -4. The time now is 20:00.