Multiphase Injector Combustion File Setup Problems
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! :-) |
Follow-up
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! |
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.
|
Hi Scholzc,
How did you resolve the issue of the species not being recognized? |
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++ -*----------------------------------*\ |
It is resolved by adding the species file in the 0 folder.
|
All times are GMT -4. The time now is 11:34. |