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? |
Never mind. I got it
Sorry for the trouble. I got it.
|
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:
|
All times are GMT -4. The time now is 06:35. |