CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   DEFINING A SOURCE (https://www.cfd-online.com/Forums/fluent/46583-defining-source.html)

Jacob November 10, 2007 09:01

DEFINING A SOURCE
 
Hi;

I want to define some species mass source through one of my WALL B.Cs. I know the quantity of my source for each face, but I don't know by which macro (DEFINE_?) I can do it?

I know about DEFINE_SOURCE macro but it works for all the domain.

CAN ANYONE GIVE ME SOME ADVICE?

Thanks in advace.

Jacob November 12, 2007 11:09

Re: COULD ANYONE HELP?
 
PLEASE!

Aris November 19, 2007 05:45

Re: DEFINING A SOURCE
 
The DEFINE_SOURCE is the correct UDF.

You should obtain the thread of the wall via it's id (visible in boundary condition panel in Fluent). Lookup thread() is the way to obtain it (look Fluent's user Guide). After that you should run a loop over this thread


All times are GMT -4. The time now is 00:47.