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/)
-   -   implement a diffusion term in the source (https://www.cfd-online.com/Forums/fluent-udf/100230-implement-diffusion-term-source.html)

chenxizh April 22, 2012 02:55

implement a diffusion term in the source
 
I want to implement the diffusion of a scalar \nabla\bullet(\nabla\Phi) in the source term , my ideal is use another scalar in DEFINE_ADUST, then get the gradient of the scalar by C_UDSI_G in the DEFINE_SOURCE finally use NV_DOT(C_UDSI_G,A);
can that be possible? has anybody done it before ?
any suggestion is appreciate !
thaks


All times are GMT -4. The time now is 03:31.