CFD Online Logo CFD Online URL
Home > Forums > FLUENT

User Defined Scalars - Returning Values

Register Blogs Members List Search Today's Posts Mark Forums Read

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

I've a problem. Ive 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


Thread Tools
Display Modes

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

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