CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Diffusion source and user defined boundary conditions.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2017, 04:30
Talking Diffusion source and user defined boundary conditions.
  #1
New Member
 
Tianyi Wang
Join Date: Mar 2017
Posts: 2
Rep Power: 0
Elizabeth Wang is on a distinguished road
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
Elizabeth Wang is offline   Reply With Quote

Reply

Tags
boundary condition, porous medium

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32


All times are GMT -4. The time now is 09:50.