CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Energy SOurce(HELP)

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

LinkBack Thread Tools Display Modes
Old   May 20, 2007, 12:54
Default Energy SOurce(HELP)
Posts: n/a
I want to add an energy source term in fluid domain at some particular co-ordinate. i have been writing a udf for it but i am facing problems. Geometry is axisymmetric. and height 150 and width 25. i want to commpute source term only at z=42.

i have wriiten a UDF with if statements as follows: if (x[1]==42) { ds[eqn]=.......; source=.......; } else { source = 0; } return source;

but if does not get into the if statements. i dont know y. Plz help soon.


  Reply With Quote

Old   May 22, 2007, 15:12
Default Re: Energy SOurce(HELP)
Prasad Dudhgaonkar
Posts: n/a
Are you sure, you want to incorporate an energy source at a particular "point" in domain? Given the axisymmetric approch, it will not be possible to do it unless the point lies on the axis itself. I suggest you to try 3D approach.

  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
energy spectra from LES simulations kumar OpenFOAM Post-Processing 2 February 23, 2016 13:25
volumetric reaction and energy balance? m.beh FLUENT 1 October 17, 2011 17:21
energy in sonicFoam joern OpenFOAM Running, Solving & CFD 0 June 16, 2009 15:53
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06
question about energy equation zhou FLUENT 0 February 24, 2004 00:55

All times are GMT -4. The time now is 01:02.