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

DEFINE_SOURCE for methane injection

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 24, 2007, 06:09
Default DEFINE_SOURCE for methane injection
  #1
Vitali
Guest
 
Posts: n/a
Hi,

i do in my topic with premixid combustion some injection of methane in marked cells. with UDM I use DEFINE_SOURCE makro for it. for example, if I need injection 10 g/s in cell, I calculate source

source = (0.001/C_VOLUME(c,t))

but if I do the massbalance and calculate flow rate of methane , it show, that it was more injected as 10 g/s. Does somebady know, what is the correct way for calculate "source"?

Thanks! Vitali
  Reply With Quote

Old   April 24, 2007, 14:00
Default Re: DEFINE_SOURCE for methane injection
  #2
Allan Walsh
Guest
 
Posts: n/a
You are probably making your problem more difficult by using define_source. What are the units in your "source" calculation?

Why don't you just use the "boundary condition" panel to go to the region of the fluid you want to set the source in, check source, then enter the mass source. You can use Fluent to get the volume of the region if you don't already have it from before.

If you just want to have a methane source in part of the domain, make sure you define that as a separate fluid region in Gambit.

Good luck.
  Reply With Quote

Old   April 26, 2007, 03:09
Default Re: DEFINE_SOURCE for methane injection
  #3
Vitali
Guest
 
Posts: n/a
yes, I use "boudary condition" and I activated "Source Terms" in GUI. Then I can see in the list all species that I use (CH4, O2, CO2 and H20), mass (kg/m3-s), axial momentum and more. After I set my DEFINE_SOURCE in UDF to the methane in the list. I use UDF, because my ijected mass of methan must be change. But my problem is it, I cann't understand, how must I calculate the value of source.

source has units [kg/(m3*s)], so I use formel

source = mass flow of Methan that I inject [kg/s] / C_VOLUME(c,t)[ m3]

But If I calculate in this way, I get to many injected methane. Dose somebody know, what is it wrong? Thanks

Vitali
  Reply With Quote

Reply

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
surface injection or point injection? sukura_1984 FLUENT 0 September 2, 2009 09:26
Urgent help needed with spray injection nick CD-adapco 14 June 29, 2008 18:48
On DPM injection properties. akr FLUENT 4 October 23, 2006 10:54
DPM, UDF, Injection Type Zhang FLUENT 0 June 8, 2005 15:51
using injection file and parallel process Cindy Jones FLUENT 0 January 23, 2003 13:40


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