|
[Sponsors] |
January 15, 2019, 10:40 |
One phase, mixing of two different gases
|
#1 |
New Member
Christian Wolf
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hello!
After reading many threads in forum, I am still not sure, which OF solver to use. I would like to simulate the mixing of 2 gases (air and CH4). Each gas component is entering a separate inlet. At the outlet I would like to evaluate the mixing quality. There is no phase change. Gases enter with different temperatures. Which OF solver is appropriate? Is there a tutorial? I use OF4.1. Thanks. |
|
January 16, 2019, 02:20 |
|
#2 |
New Member
Christian Wolf
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
No hints for my question?
|
|
January 16, 2019, 04:38 |
|
#3 |
Senior Member
|
Hi,
You could have a look at reactingFoam and it's variants. If you turn off chemistry/combustion you will get just the mixing. I would suggest looking at either of: Code:
$FOAM_TUTORIALS/combustion/reactingFoam/laminar/counterFlowFlame2D $FOAM_TUTORIALS/combustion/reactingFoam/laminar/counterFlowFlame2DLTS Regards, Tom |
|
January 18, 2019, 10:38 |
|
#4 |
New Member
Christian Wolf
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hello!
Thanks for reply. I actually managed with simpleReactingParcelFoam. Lagrange off, non-reacting. Regards |
|
July 25, 2023, 09:44 |
|
#5 |
New Member
Join Date: Jun 2023
Location: Brest
Posts: 21
Rep Power: 3 |
||
September 25, 2023, 04:28 |
simpleReactingParcelFoam
|
#6 | |
New Member
Christian Wolf
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Quote:
Hello! It is a long time ago I used OF. My simulation is done with OF41. Maybe it will help. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 4.0 | | \ / A nd | Web: www.OpenFOAM.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default steadyState; } gradSchemes { default Gauss linear; } divSchemes { default none; div(phi,U) bounded Gauss upwind; div(phid,p) bounded Gauss upwind; div(phi,K) bounded Gauss linear; div(phi,h) bounded Gauss upwind; div(phi,k) bounded Gauss upwind; div(phi,epsilon) bounded Gauss upwind; div(phi,omega) bounded Gauss upwind; div(phi,Yi_h) Gauss upwind; div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear uncorrected; } interpolationSchemes { default linear; } snGradSchemes { default uncorrected; } wallDist { method meshWave; } Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 4.0 | | \ / A nd | Web: www.OpenFOAM.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { p { solver GAMG; tolerance 0; relTol 0.05; smoother DICGaussSeidel; maxIter 50; }; Phi { $p; } "(U|Yi|h|k|omega|epsilon)" { solver smoothSolver; smoother GaussSeidel; tolerance 0; relTol 0.1; maxIter 20; } } potentialFlow { nNonOrthogonalCorrectors 5; } SIMPLE { nCorrectors 2; nNonOrthogonalCorrectors 1; rhoMin 0.1; rhoMax 1.5; } relaxationFactors { fields { p 0.3; rho 1; } equations { U 0.7; h 0.7; ".*" 0.7; } } // ************************************************************************* // |
||
Tags |
mixing gases, one phase |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Limitations | tymcme | FLUENT | 6 | August 1, 2022 09:50 |
rhoReactinBuoyantFoam - Buoyant Mixing of two gases | rkc.cfd | OpenFOAM Programming & Development | 0 | July 13, 2014 14:09 |
Please correction give me. 2 Phase flow mixing 2D | realalife | Fluent Multiphase | 0 | September 3, 2013 10:38 |
two Phase column simulation | chemeng | OpenFOAM | 3 | August 18, 2010 13:53 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |