CFD Online Logo CFD Online URL
Home > Forums > FLUENT

DEFINE_SOURCE for methane injection

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

LinkBack Thread Tools Display Modes
Old   April 24, 2007, 06:09
Default DEFINE_SOURCE for methane injection
Posts: n/a
Sponsored Links

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
Sponsored Links

Old   April 24, 2007, 14:00
Default Re: DEFINE_SOURCE for methane injection
Allan Walsh
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
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

  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
surface injection or point injection? sukura_1984 FLUENT 0 September 2, 2009 09:26
Urgent help needed with spray injection nick Siemens 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

Sponsored Links

All times are GMT -4. The time now is 03:33.