CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to specify source term with UDF by TUI (https://www.cfd-online.com/Forums/fluent/130420-how-specify-source-term-udf-tui.html)

lxlxlxt February 25, 2014 17:33

How to specify source term with UDF by TUI
 
Hi all,

I'm having some trouble specifying the following the term in TUI:
Cell zone conditions-->airzone(zone name)-->polymer(phase name)-->source term -->energy source term-->User-defined source term.

I've checked using the following code:
/define/boundary-conditions> fluid
(polymerzone airzone)
zone id/name [polymerzone] airzone
(mixture polymer air)
domain id/name [mixture] polymer
Specify source terms? [no] yes
Number of Mass sources (0 10) [0] 0
Number of X Momentum sources (0 10) [0] 0
Number of Y Momentum sources (0 10) [0] 0
Number of Energy sources (0 10) [0] 1
Use Constant Source 1? [no] no
Specify fixed values? [no] no
Use Profile for Reference Frame X-Origin of Rotation-Axis? [no] no
Reference Frame X-Origin of Rotation-Axis (m) [0] 0
Use Profile for Reference Frame Y-Origin of Rotation-Axis? [no] no
Reference Frame Y-Origin of Rotation-Axis (m) [0] 0
Deactivated Thread [no] no
Porous zone? [no] no

There is not an option to choose user-defined function.
Can anyone help?

lxlxlxt February 25, 2014 21:04

Never mind. I got it
 
Sorry for the trouble. I got it.

robboflea August 21, 2017 10:04

For other people who may be having the same problem the answer is in:

/define/boundary-condition/fluid

(this will allow you to activate source terms for all equations and hook them to the appropriate UDF functions eventually)
Hope it helps

Quote:

Originally Posted by lxlxlxt (Post 476807)
Sorry for the trouble. I got it.



All times are GMT -4. The time now is 06:35.