|
[Sponsors] |
July 17, 2023, 04:29 |
Two species in one phase with two inlets
|
#1 |
New Member
Join Date: Jun 2023
Location: Brest
Posts: 21
Rep Power: 3 |
Hello everyone,
I have searched a bit, but I didn't find a solution, so I hope one can help. I try to simulate dispersion of methane in air, given that I work in molar fraction (mol^-1). The case is the following : Inlet 1 : Air, mol_frac = 1 Inlet 2 : Air, mol_frac = 0.92 & CH4, mol_frac = 0.08 Of course I also impose conditions on speed as well as the turbulent kinetic energy. I guess that to do what I want, I can simply create two dictionaries called "Air" and "CH4" but I would like to tell the solver the density of both gases, but I don't know how to do that. Perhaps in Physical Properties. If I add two species in Physical Properties, do I have to change the viscosity model that is defined as below ? Code:
viscosityModel constant; nu [0 2 -1 0 0 0 0] 1.42e-5; |
|
July 17, 2023, 07:02 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello,
You cannot do this with simpleFoam, a better approach would be to use reactingFoam (without reactions) which will do just what you are trying to achieve. It will allow you to define multiple species, each one having its own thermophysicalProperties. Cheers, Yann |
|
July 17, 2023, 07:07 |
|
#3 |
New Member
Join Date: Jun 2023
Location: Brest
Posts: 21
Rep Power: 3 |
I will try it and tell you if that works. Thanks
|
|
Tags |
definition, density, dispersion, species mixing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Species of each phase | U1990 | ANSYS | 3 | April 9, 2021 07:11 |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 17:12 |
iteration questions in discrete phase | iknowjesus | FLUENT | 4 | March 13, 2015 07:07 |
Three Phase flow into a reservoir... | akjha | Main CFD Forum | 0 | December 15, 2014 08:01 |
Species Transport model Vs discrete phase | Karthick | FLUENT | 0 | April 27, 2004 03:23 |