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

Species Source in COMET

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 20, 2004, 20:13
Default Species Source in COMET
  #1
Derek Coon
Guest
 
Posts: n/a
I would like to make a species source at a Wall boundary in COMET. I am trying to use spesou.f, but getting nowhere. Can someone write a brief example where the faces of region 1 generate 0.001 kg/sec of species 1 please? Thanks in advance.
  Reply With Quote

Old   October 22, 2004, 09:10
Default Re: Species Source in COMET
  #2
4xF
Guest
 
Posts: n/a
EITHER you use spesou.f and in that case you have to set the source term in the cell next to the wall, since spesou.f is called for the fluid domain (in which case you need to switch on the flag -- see the SPECIE command -- to be able to use this subroutine)

OR you use the subroutine userbc.f (in which case you need to set the user subroutine flag on -- see the BDEF command in Cometpp) to set boundary values
  Reply With Quote

Old   October 22, 2004, 11:35
Default Re: Species Source in COMET
  #3
Derek Coon
Guest
 
Posts: n/a
Thank you for your help. I figureed out last night that spesou.f would only specify for cells. Do I use the LK(K) variable to figure out the cell indices?

I would prefer using the wall boundaries themselves as the source, how do I do this using userbc.f? (Which variable?)

Thanks again.
  Reply With Quote

Old   October 24, 2004, 07:05
Default Re: Species Source in COMET
  #4
4xF
Guest
 
Posts: n/a
I think you meant LB(K) for getting the cell next to the wall, where K is the boundary index. For imposing the value at the wall within userbc.f, give the value into cb(ibofs(is)+K) where is is the species index (for the rest, look at the file ListOfVariables in the userprog directory).
  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
species source in star ccm+ jef CD-adapco 3 April 11, 2008 14:46
source of species with UDF, please!!!!!!!!! Jason FLUENT 7 November 12, 2007 13:57
Species Source Term Johannes FLUENT 3 March 30, 2007 17:46
Species source DH FLUENT 0 September 20, 2006 22:47
UDF: species source term Luc FLUENT 2 August 30, 2005 11:50


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