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

fixed conc. B C

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2003, 05:13
Default fixed conc. B C
  #1
umesh
Guest
 
Posts: n/a
Hi

1. I want to specify conc. of oxygen as constant at the inlet of a vessel. i.e. C_YI(c,t,0)= Constant at mass flow inlet.

As this is a constant value and not a flux..i cant specify this in BC panel.. I may have to use some UDF. How can i do this?
  Reply With Quote

Old   August 30, 2003, 11:05
Default Re: fixed conc. B C
  #2
Andrew Garrard
Guest
 
Posts: n/a
I don't think that you need a UDF to do this. If you enabel sepecies in Fluent 6 and go to your inlet boundary condtion panel then there is a "Specify Mass Fraction" for the n-1 species. Here you can specify the mixture components. If you want to make a UDF to put here in the case that you do not want a fixed mass fraction then I believe you require a DEFINE_PROFILE(name, thread, i) macro, of which there is a good explanation in the the manual.
  Reply With Quote

Old   September 1, 2003, 12:50
Default Re: fixed conc. B C
  #3
umesh
Guest
 
Posts: n/a
Dear Andrew, thanks for your response

My problem is that.. If i specify the mass fraction in the Inlet BC as you suggested, then IT IS THE MASS FRACTION FOR THE FEED TO THE VESSEL

I just want a Constant Conc. of Oxygen at the Inlet of the Vessel. I dont need a FLUX of oxygen at inlet.

I had written a source term to specify the consumption of oxygen in the vessel as:

DEFINE_SOURCE(oxy_source, c, t, dS, eqn)

{

dS[eqn]=0;

return kac*( Coxy_eqm - C_YI(c,t,0)*1000/32 ) - k*C_YI(c,t,3)*1000/180;

}

How can i modify this UDF or write another UDF to specify C_YI(c,t,0) = constant; at the inlet of vessel
  Reply With Quote

Old   September 1, 2003, 18:45
Default Re: fixed conc. B C
  #4
Greg Perkins
Guest
 
Posts: n/a
Sounds strange to me.

At an inlet - you DON'T want a FLUX of Oxygen???

Then why do you want it to be an inlet. Specify it as a wall with constant mass fraction and temperature to give you the appropriate concentration - if that is what you really want!

Are you sure this boundary condition is appropriate?

Greg
  Reply With Quote

Old   September 2, 2003, 02:00
Default Re: fixed conc. B C
  #5
umesh
Guest
 
Posts: n/a
Dear Greg, Thanks for your response,

I will have to give some details for my case,

I am modelling a Biofiltration process, which involves the flow of fluid through a porous bed,

Inside the bed, various biodegradation is involved which needs the supply of oxygen.

This oxygen is available through natural convection only..i.e. at the inlet of the cylinderical bed, Coxygen = Constant.

this oxygen then diffuses to the bed by conc. gradient.

so, If i specify the mass fraction of oxygen in Mass-flow inlet, it takes the oxygen flux,,depending on the flow rate of fluid.

It is somewhat tricky case...but I am sure some option must be available for that..

Any suggestion is welcome.

_Umesh

  Reply With Quote

Old   September 2, 2003, 21:24
Default Re: fixed conc. B C
  #6
Greg Perkins
Guest
 
Posts: n/a
Sounds to me you don't have a mass flow inlet as such but that you have a wall with a fixed mass fraction (concentration if you prefer but note the link through say the equation of state ie temperature and pressure).

Have you tried specifying a wall and fixed oxygen fraction??

I've simulated some natural convection problems using a simialr approach (not quite the same since I had a porous wall through which gas was supplied and wrote some udfs to handle the mass flux). But it turns out to be very similar for low mass flux application sin which case the natural convection dominates.

Do you have a fixed temperature at the wall/inlet where your oxyegn is? If so then I'd try a wall bc and see what happens.

Greg
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed mean temperature boundary condition for developing flow mohsen cheraghi OpenFOAM 2 July 24, 2011 14:06
Fan Boundary Condition OR Fixed Values or Source Terms SolarX FLUENT 1 June 9, 2011 05:13
Replace Species Conc. with UDF conc. umesh FLUENT 1 October 14, 2003 08:29
UDF: source, fixed value for a given region Ming FLUENT 1 March 4, 2003 18:23
Has the pressure to be fixed at one node? Steve Song Main CFD Forum 5 February 9, 2003 14:14


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