|
[Sponsors] |
October 20, 2004, 21:13 |
Species Source in COMET
|
#1 |
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.
|
|
October 22, 2004, 10:10 |
Re: Species Source in COMET
|
#2 |
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 |
|
October 22, 2004, 12:35 |
Re: Species Source in COMET
|
#3 |
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. |
|
October 24, 2004, 08:05 |
Re: Species Source in COMET
|
#4 |
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).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF: species source term | Luc | FLUENT | 3 | July 30, 2019 08:38 |
Species source | DH | FLUENT | 1 | April 19, 2017 14:16 |
species source in star ccm+ | jef | Siemens | 3 | April 11, 2008 15:46 |
source of species with UDF, please!!!!!!!!! | Jason | FLUENT | 7 | November 12, 2007 13:57 |
Species Source Term | Johannes | FLUENT | 3 | March 30, 2007 18:46 |