|
[Sponsors] |
April 23, 2015, 07:11 |
|
#21 | |
New Member
Jignesh Chokshi
Join Date: Aug 2011
Posts: 7
Rep Power: 15 |
Quote:
Can you please send this working case to chokshirl@gmail.com ? Many thanks !! |
||
April 23, 2015, 07:14 |
|
#22 |
New Member
Jignesh Chokshi
Join Date: Aug 2011
Posts: 7
Rep Power: 15 |
||
May 20, 2020, 07:14 |
|
#23 |
New Member
Hendrik von Schöning
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Hello everyone,
I had the same problem (multi-fluid-mixing flow, single phase, compressible, stationary). I combined rhoSimpleFoam and reactingFoam to a new solver, which integrates in rhoSimpleFoam. I called it rhoMixingSimpleFoam. It is attached to this post. EDIT: Please keep in mind, that this solver is not well tested or validated in any way! Also: In this solver the turbulent species transport is modelled via alphat and is thus equal to the turbulent heat fluxes. This is not always the case! Installation: Just copy the dir "rhoMixingSimpleFoam" to the rhoSimpleFoam-directory (/path_to_Openfoam/applications/solvers/compressible/rhoSimpleFoam/), enter it and run wmake. Also attached is the following thermophysicalProperties which is used by this solver: Code:
thermoType { type heRhoThermo; mixture multiComponentMixture; transport sutherland; thermo janaf; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } inertSpecie air; species (air CO2); air { specie { nMoles 1; molWeight 28.965; // (refprop) } equationOfState { pRef 1e6; } thermodynamics { Tlow 200; Thigh 6000; Tcommon 1000; highCpCoeffs ( 3.08792717E+00 1.24597184E-03 -4.23718945E-07 6.74774789E-11 -3.97076972E-15 -9.95262755E+02 5.95960930E+00 ); lowCpCoeffs ( 3.56839620E+00 -6.78729429E-04 1.55371476E-06 -3.29937060E-12 -4.66395387E-13 -1.06234659E+03 3.71582965E+00 ); // no source, sorry } transport { As 1.460846342e-06; // (White - Viscous Fluid Flow) Ts 111; } } CO2 { specie { nMoles 1; molWeight 44.01; // (refprop) } equationOfState { pRef 1e6; } thermodynamics { Tlow 200; Thigh 3500; Tcommon 1000; highCpCoeffs ( 3.85746029E+00 4.41437026E-03 -2.21481404E-06 5.23490188E-10 -4.72084164E-14 -4.87591660E+04 2.27163806E+00 ); lowCpCoeffs ( 2.35677352E+00 8.98459677E-03 -7.12356269E-06 2.45919022E-09 -1.43699548E-13 -4.83719697E+04 9.90105222E+00 ); //http://combustion.berkeley.edu/gri-mech/data/nasa_plnm.html } transport { As 1.503425096e-06; // (White - Viscous Fluid Flow) Ts 222; } } Last edited by HVonSch; June 2, 2020 at 08:30. Reason: Added information about validity and assumptions |
|
May 31, 2020, 16:15 |
|
#24 | |
New Member
Kamal Khemani
Join Date: Feb 2019
Location: India
Posts: 2
Rep Power: 0 |
Quote:
|
||
June 2, 2020, 08:33 |
|
#25 |
New Member
Hendrik von Schöning
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Hello Kamal,
Is the simulation fully converged? Please provide more information about your case and the way you are using the species mixing (species, phases) to track down if the error is caused by the solver modification. Best regards, Hendrik |
|
June 15, 2020, 16:59 |
|
#26 |
Member
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 66
Rep Power: 14 |
Hi Hendrik, I'm checking out your solver (nice work btw.). How do you prescribe boundary conditions for the individual species? Is it in the same way as in case of reactingFoam i.e. by individual files in constant/ dir as e.g. "air" and "CO2"?
|
|
June 16, 2020, 03:04 |
|
#27 |
New Member
Hendrik von Schöning
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Hello Petr,
thank you! Yes, BCs are prescribed as in reactingFoam. For example for CO2: Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object CO2; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { INLET { type fixedValue; value uniform 0; } OUTLET { type inletOutlet; value uniform 0; inletValue uniform 0; } PLENUM_INLET { type fixedValue; value uniform 1; } PLENUM_OUTLET { type inletOutlet; value uniform 1; inletValue uniform 1; } WALL { type zeroGradient; } } // ************************************************************************* // Best, Hendrik |
|
August 13, 2020, 13:40 |
|
#28 |
Member
Nikhil
Join Date: May 2020
Location: Freiburg
Posts: 43
Rep Power: 6 |
Hallo Foamers,
can you suggest me a solver for, propane jet leak in to air. Right now, i am using reactingbuoyantfoam, but i want to add dynamic mesh, which is not supported by reactingFoam. any suggestions?. cheers, nm. |
|
Tags |
compressible flow, mixing gases |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
smoothSolver diverges - solution in using PBiCG solver? | makaveli_lcf | OpenFOAM Running, Solving & CFD | 3 | September 11, 2013 13:44 |
Getting too many iterations by velocity solving (aborting). Changing U - Solver? | suitup | OpenFOAM Running, Solving & CFD | 0 | January 20, 2010 08:45 |
mixing 4 kind of fluids | ranap | CFX | 2 | September 19, 2008 12:55 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |
Error during Solver | cfd guy | CFX | 4 | May 8, 2001 07:04 |