|
[Sponsors] |
November 12, 2003, 20:14 |
On how to initialize a UDS
|
#1 |
Guest
Posts: n/a
|
Hello,
I am currently trying to simulate photolysis in an annular reactor. (H2O2+I --> 2OH). I would like to fix a pre calculated gradient in a part of the grid. Eg. 2D case, rectangular RK: entry zone (square)- reaction zone (square)- outflow zone(square) where I is a mirrored gradient in the reaction zone. Water+H2O2 enters and is (partialy)converted to OH in the raction zone. My understanding is that I should be able to Initialize a UDS using DEFINE_INIT, unhook the UDS from the solver and use I as a fixed source through a DEFINE_VR_RATE macro. Question: I can't find out how to use DEFINIE_INIT on a UDS. Do I just loop over al the cells in the reaction_zone thread? is there a way to read the distance of the cell to the center of the square and write I as a function of that distance? Sorry if I'm asking obvious stuff, and thanks for any help. Angelo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDS Flux Function Choice | Yang Chung | FLUENT | 1 | November 17, 2015 01:14 |
PEM modeling UDS diffusivity in mixture | gemini | FLUENT | 6 | August 7, 2012 07:37 |
Doubts UDS Flux, UDS Unsteady for VOF model | kel85uk | FLUENT | 0 | March 17, 2010 08:53 |
set UDS value at interior BC | Simon | FLUENT | 0 | December 12, 2008 13:14 |
Associating profile files for the UDS though a UDF | Bharath | FLUENT | 0 | December 1, 2006 15:58 |