|
[Sponsors] |
November 10, 2007, 10:01 |
DEFINING A SOURCE
|
#1 |
Guest
Posts: n/a
|
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. |
|
November 12, 2007, 12:09 |
Re: COULD ANYONE HELP?
|
#2 |
Guest
Posts: n/a
|
PLEASE!
|
|
November 19, 2007, 06:45 |
Re: DEFINING A SOURCE
|
#3 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |