CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to specify source term with UDF by TUI

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By robboflea

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2014, 18:33
Default How to specify source term with UDF by TUI
  #1
New Member
 
Michigan
Join Date: Jan 2013
Posts: 10
Rep Power: 12
lxlxlxt is an unknown quantity at this point
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 is offline   Reply With Quote

Old   February 25, 2014, 22:04
Default Never mind. I got it
  #2
New Member
 
Michigan
Join Date: Jan 2013
Posts: 10
Rep Power: 12
lxlxlxt is an unknown quantity at this point
Sorry for the trouble. I got it.
lxlxlxt is offline   Reply With Quote

Old   August 21, 2017, 11:04
Default
  #3
Senior Member
 
Join Date: Nov 2011
Posts: 109
Rep Power: 15
robboflea is on a distinguished road
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 View Post
Sorry for the trouble. I got it.
lxlxlxt likes this.
robboflea is offline   Reply With Quote

Reply

Tags
source term, tui


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for energy source term engloly Fluent UDF and Scheme Programming 11 June 25, 2017 07:05
UDF Source Term Christian FLUENT 4 August 1, 2009 06:53
The source term of UDF summer FLUENT 0 August 24, 2006 18:44
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 14, 2000 00:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 04:43


All times are GMT -4. The time now is 14:52.