|
[Sponsors] |
Multiphase Injector Combustion File Setup Problems |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 16, 2016, 16:29 |
Multiphase Injector Combustion File Setup Problems
|
#1 |
New Member
Join Date: Feb 2016
Posts: 3
Rep Power: 10 |
I am trying to setup a case which models a triplet injector. I have defined each of the species (reacting and products) in separate thermophysicalProperties files, and input the appropriate corresponding parameters for each (I am not sure if this is the best way to do it since I am relatively new to OpenFOAM). I am trying to model a Methane Reaction (CH4(liquid) & O2(liquid) reactants, CO2 & H2O biproducts), but as soon as the compilation (when attempting to run) reaches the O2 properties (which uses a reacting Mixutre instead of a pureMixture for the biproducts), it goes to reference the "reactions" file. I have looked at the BubbleColumnEvaporatingReacting tutorial and files, which have provided some guidance, but it seems that my model (which is running reactingMultiphaseEulerFoam) is requiring a different setup, or something is ill defined. It is only recognizing O2 as a viable species to refer to, and when including other species in the list it gives:
--> FOAM FATAL ERROR: CO2 not found in table. Valid entries: 1(O2) From function HashTable ... If I remove all other species, it says that the "sum of mass fractions is zero for species 1(O2)". I have defined all of the species in phaseProperties & thermo.compressibleGas. Are there files I am missing or not attending to here? How can I resolve this issue? Thank you! :-) |
|
March 17, 2016, 16:07 |
Follow-up
|
#2 |
New Member
Join Date: Feb 2016
Posts: 3
Rep Power: 10 |
I was able to resolve the species not being recognized. I am now have issue with the following error:
Sum of mass fractions is zero for species Does anyone know where this is resolved? Thanks! |
|
March 19, 2016, 16:34 |
|
#3 |
Member
Vinícius da Costa Ávila
Join Date: Jul 2015
Location: Porto Alegre, Brazil
Posts: 62
Rep Power: 11 |
Hi, I have never dealt with this specific solver. But have you tried to modify just the phases names and proprieties from tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/mixerVessel2D ? This case seems to be pretty well settled for 4 phases.
__________________
Vinícius dC.A. |
|
December 29, 2018, 14:50 |
|
#4 |
New Member
Join Date: Oct 2018
Posts: 1
Rep Power: 0 |
Hi Scholzc,
How did you resolve the issue of the species not being recognized? |
|
June 17, 2020, 02:19 |
|
#5 |
Senior Member
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10 |
Hi All,
I am also facing the same error of "Sum of mass fractions is zero for species 2(N2 H2O)". I am using sprayFoam solver in OpenFoam-v1912. My thermophysicalProperties file looks like this. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType { type hePsiThermo; mixture multiComponentMixture; transport const; thermo hConst; energy sensibleEnthalpy; equationOfState perfectGas; specie specie; } species (N2 H2O); N2 { specie { molWeight 28; Y 0.5; } thermodynamics { Cp 1000; Hf 0; } transport { mu 1.5e-5; Pr 0.7; } } H2O { specie { molWeight 28; Y 0.5; } thermodynamics { Cp 4187; Hf 0; } transport { mu 1e-6; Pr 0.7; } } inertSpecie N2; liquids { H2O { defaultCoeffs yes; } } solids {} // ************************************************************************* // |
|
June 18, 2020, 00:13 |
|
#6 |
Senior Member
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10 |
It is resolved by adding the species file in the 0 folder.
|
|
Tags |
combustion, injector, reacting flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X | gschaider | OpenFOAM Installation | 136 | October 10, 2017 18:25 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[Other] How to use finite area method in official OpenFOAM 2.2.0? | Detian Liu | OpenFOAM Meshing & Mesh Conversion | 4 | November 3, 2015 04:04 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |