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/)
-   -   add source term to energy equation by udf (https://www.cfd-online.com/Forums/fluent-udf/88055-add-source-term-energy-equation-udf.html)

tomas May 6, 2011 20:33

add source term to energy equation by udf
 
hi,
i want to include source term in energy equation,i write a UDF to include a source term ,what can i do to implemented in the fluent.
thanks alot

m.reza May 7, 2011 11:37

energy-eq
 
go to boundary condition,next go to fluid-set-active source-then add your source code

tomas May 7, 2011 21:23

thank you

tomas May 7, 2011 21:25

thank you m.reza

calvin May 8, 2011 04:02

hi all,
i m able to build and compile my "source" udf on linux fluent 6.3
but it doesnot show up in the uds source hook
everything works fine on windows but on linux i get the aforementioned problem.
has anybody faced similar problems.
pl help
tnx n regards
calvin

m.reza May 8, 2011 11:16

you're welcome
Tomas did you apply C_UDSI(c,t,i) or C_UDSI_G(c,t,i) in your udf for energy Eq. ?

tomas May 9, 2011 02:25

It is wrong to do this?

dinesh September 10, 2013 02:08

Quote:

Originally Posted by tomas (Post 306558)
hi,
i want to include source term in energy equation,i write a UDF to include a source term ,what can i do to implemented in the fluent.
thanks alot

hi
I also wan to add soure term in my problem of solidification and melting, can you share with me your source code of energy equation.


All times are GMT -4. The time now is 10:36.