|
[Sponsors] |
January 16, 2018, 06:15 |
Solver for Diffusion of Species
|
#1 |
New Member
manu ebn
Join Date: Aug 2015
Location: Switzerland
Posts: 18
Rep Power: 11 |
Hi to everyone
Could you please give me an advice to choose the right solver? Case: I have a domain which is filled with oxygen (< 200ppm) and nitrogen (>99.9%). Furthermore there is an outlet and an inlet. Through the inlet pure nitrogen flows into the domain, at the outlet nitrogen flows out of the domain (with Reynoldsnumber lower than 50). But, and here comes the tricky part, oxygen flows from the environment into the domain (probably by diffusion) - at the end i would like to have a steady state solution (laminar). I could simulate this with a scalarTransportFoam, but there wouldn't be any interaction between the different species and in a steady-state solution everything would be just nitrogen. So which solver would you advice? Thanks for every single answer! Triggin |
|
January 19, 2018, 16:28 |
|
#2 |
New Member
manu ebn
Join Date: Aug 2015
Location: Switzerland
Posts: 18
Rep Power: 11 |
If someone could help me with this one, i would be very thankful.
Like i sad, scalarTransport could be an option, but i would like to know if it's possible to solve the interaction of a binary mixture? I think it could be tricky, because to simulate the interaction of particels in flow is already demanding. This information would already be helpful. Best wishes Triggin |
|
January 22, 2018, 05:42 |
|
#3 |
New Member
Sebastian
Join Date: Feb 2017
Posts: 22
Rep Power: 9 |
Hi Triggin,
I am a little bit confused. You are writing that you want to use scalarTransportFoam, however, later you write that you have interaction of particles. Usually scalarTransportFoam works with the concentration of the quantity of interest and not with single particles. Sticking to concentration, you might have to look for a multiphase flow solver. I don't know if interFoam could be a suitable solver for your case. Concerning the inflow oxygen: If you can not model it as a classical inflow, you might add a source term, possibly using fvOptions. Regards Sebastian |
|
January 22, 2018, 09:58 |
|
#4 | ||
New Member
manu ebn
Join Date: Aug 2015
Location: Switzerland
Posts: 18
Rep Power: 11 |
Hi Sebastian
Thank you for your comments. Quote:
I am not very familiar with multi-gas simulations (therefore i also thought about reactingFoam - without reactions). I thought the different gases (nitrogen and oxygen) might interact and turbulences even at low reynoldsnumbers can occur. But assuming that i have only a very low oxygen concentration and the flow is mainly influenced by nitrogen, i can use a modified scalarTransportFoam for steady state cases. Quote:
Code:
outlet { type pressureInletOutletVelocity; value $internalField; } Code:
outlet { type inletOutlet; inletValue uniform 0.23; value $internalField; } Thank you for your comments! |
|||
December 28, 2022, 04:45 |
|
#5 | |
New Member
孙睿
Join Date: Dec 2022
Posts: 2
Rep Power: 0 |
Quote:
|
||
Tags |
diffusion, laminar, nitrogen, solver, steady-state |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hybrid discretisation - blend factor | gcoopermax | CFX | 5 | September 23, 2016 09:05 |
Creating New Solver: For particle-laden compressible jets | sankarv | OpenFOAM Running, Solving & CFD | 17 | December 3, 2014 20:41 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
Creating New Solver: For particle-laden compressible jets | sankarv | OpenFOAM | 0 | April 4, 2010 19:06 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |