|
[Sponsors] |
Diffusion source and user defined boundary conditions. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 5, 2017, 05:30 |
Diffusion source and user defined boundary conditions.
|
#1 |
New Member
Tianyi Wang
Join Date: Mar 2017
Posts: 2
Rep Power: 0 |
Hi, everyone,
I have two questions about Fluent UDF when I was using it. I would like to share them with you, and hopefully someone can help me out. The first question is about the boundary conditions. In my simulations, methane enters in porous medium through bottom pressure-inlet and reacts with oxygen in porous medium. Because of incomplete reaction, some methane flows out of pressure outlet. What counts is the oxygen diffuses in this porous medium through top out-let boundary conditions since the gradient of concentration. How to set a suitable boundary condition which can be an in-let and out-let at the same time? To solve the first problem, I wrote a UDF oxygen constant source and hooked it in porous medium zone. Then I found a mistake. The flux of oxygen is an unknown variable, and I can’t use a constant to replace it in the reaction. The other question is related to oxygen source. How to write this kind of diffusion source ? Any suggestion or comment is welcome and will be greatly appreciated. Elizabeth Wang |
|
Tags |
boundary condition, porous medium |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source | silvan | CFX | 3 | June 16, 2014 10:49 |
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error | FerdiFuchs | OpenFOAM Community Contributions | 27 | April 16, 2014 16:14 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |