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

User Defined Scalars - Returning Values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2006, 19:18
Default User Defined Scalars - Returning Values
  #1
Carlos V.
Guest
 
Posts: n/a
Hi Everybody:

I've a problem. I´ve defined two UDS (User - Defined Scalars), each one depending on the other. The first one defines a mass source (sink that simulates the adsorption of a specie) and the second one, the energy equation on a solid. In the mass scalar i've defined the unsteady term and a source term (other terms are null), and for the energy scalar i've defined the unsteady term, the diffusivity term and a source term. I would like to know, how should I do, to introduce this quantities in the fluid phase, since they are all calculated for a solid phase (scalars). I've made two new UDF's using the define_source macro and I've defined and returned each source as beeing equal to the unsteady term of those two scalars. After that, I just selected these UDF's in the Boundary Conditions -> Source Terms -> Mass ; Boundary Conditions -> Source Terms -> Energy. Is This correct?!

Really need help on this!Can anyone help me?Thank you all!

Best regards:

Carlos V.
  Reply With Quote

Reply


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
Creating new user defined material Vidya FLUENT 4 August 26, 2013 10:26
user defined sourcen term xck1986 CFX 1 July 8, 2010 09:35
(DPM) Names for User Scalars (instead of Use Variable 0)? sega Fluent UDF and Scheme Programming 3 April 20, 2010 08:33
plot user defined vector deltamaple Siemens 1 March 12, 2010 11:46
user defined turbulence model manuutin STAR-CD 5 October 14, 2009 06:29


All times are GMT -4. The time now is 13:56.