CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to calculate molWeight for reactants and products in XiFoam??

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sm0226

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2019, 01:16
Default How to calculate molWeight for reactants and products in XiFoam??
  #1
New Member
 
Sangmin Kim
Join Date: Aug 2019
Posts: 6
Rep Power: 6
sm0226 is on a distinguished road
Hi OpenFOAMers!!

I am looking for the way to set the thermophysiclProperties for wet hydrogen premixed combustion. (H2 + Air + Steam)

If I set the mixture type to homogeneousMixture, only can set the category for reactants and products. (not fuel - oxidant - burntProducts)
As like tutorials/combustion/XiFoam/RAS/moriyoshiHomogeneous/constant/thermophysiclProperties

For this, how to calculate molWeight for reactants and products for this mixture (10% H2 + 65% Air + 25% Steam)??

(I`m very sorry about not attach example thermophysiclProperties file.)
ugata88 likes this.
sm0226 is offline   Reply With Quote

Old   November 27, 2021, 15:50
Unhappy How to create a thermoType for premixed gas mixtures in XiFoam?
  #2
New Member
 
Uğur
Join Date: Nov 2021
Location: Ankara
Posts: 3
Rep Power: 4
ugata88 is on a distinguished road
Quote:
Originally Posted by sm0226 View Post
Hi OpenFOAMers!!

I am looking for the way to set the thermophysiclProperties for wet hydrogen premixed combustion. (H2 + Air + Steam)

If I set the mixture type to homogeneousMixture, only can set the category for reactants and products. (not fuel - oxidant - burntProducts)
As like tutorials/combustion/XiFoam/RAS/moriyoshiHomogeneous/constant/thermophysiclProperties

For this, how to calculate molWeight for reactants and products for this mixture (10% H2 + 65% Air + 25% Steam)??

(I`m very sorry about not attach example thermophysiclProperties file.)
Hi,

I am also suffering from a similar situation. I want to burn 90% methane - 10% hydrogen gas mixture as pre-mixed by enriching oxygen at different rates. Equivalence ratio 0,7 and Su is constant

The reactants consist of 90% methane - 10% hydrogen, air and additional oxygen gas.


How can I determine lower, upper and common temperature values and high temperature coeff and low temperature coeff values for reactants and products?

I couldn't figure out how to create thermo properties in the constant/thermophysicalProperties directory in XiFoam solver.

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
type heheuPsiThermo;
mixture homogeneousMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy absoluteEnthalpy;
}

stoichiometricAirFuelMassRatio
stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] ???????;

reactants
{
specie
{
nMoles ?????;
molWeight ?????;
}
thermodynamics
{
Tlow ???;
Thigh ????;
Tcommon ????;
highCpCoeffs
(
?????????????
);
lowCpCoeffs
(
????????????
);
}
transport
{

As 1.67212e-06;
Ts 170.672;
}
}

products
{
specie
{
nMoles 1;
molWeight ?????;
}
thermodynamics
{
Tlow ???;
Thigh ????;
Tcommon ????;
highCpCoeffs
(
?????????????
);
lowCpCoeffs
(
?????????????
);
}
transport
{
As 1.67212e-06;
Ts 170.672;
}
}


//
ugata88 is offline   Reply With Quote

Old   March 6, 2022, 20:25
Default
  #3
New Member
 
Dilshan Casseer
Join Date: Jan 2018
Posts: 15
Rep Power: 8
casseer15 is on a distinguished road
Quote:
Originally Posted by ugata88 View Post
Hi,

I am also suffering from a similar situation. I want to burn 90% methane - 10% hydrogen gas mixture as pre-mixed by enriching oxygen at different rates. Equivalence ratio 0,7 and Su is constant

The reactants consist of 90% methane - 10% hydrogen, air and additional oxygen gas.


How can I determine lower, upper and common temperature values and high temperature coeff and low temperature coeff values for reactants and products?

I couldn't figure out how to create thermo properties in the constant/thermophysicalProperties directory in XiFoam solver.

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
type heheuPsiThermo;
mixture homogeneousMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy absoluteEnthalpy;
}

stoichiometricAirFuelMassRatio
stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] ???????;

reactants
{
specie
{
nMoles ?????;
molWeight ?????;
}
thermodynamics
{
Tlow ???;
Thigh ????;
Tcommon ????;
highCpCoeffs
(
?????????????
);
lowCpCoeffs
(
????????????
);
}
transport
{

As 1.67212e-06;
Ts 170.672;
}
}

products
{
specie
{
nMoles 1;
molWeight ?????;
}
thermodynamics
{
Tlow ???;
Thigh ????;
Tcommon ????;
highCpCoeffs
(
?????????????
);
lowCpCoeffs
(
?????????????
);
}
transport
{
As 1.67212e-06;
Ts 170.672;
}
}


//
Hope you found the answer. If not drop me an email at casseer15@gmail.com
casseer15 is offline   Reply With Quote

Old   March 6, 2022, 20:35
Default
  #4
New Member
 
Dilshan Casseer
Join Date: Jan 2018
Posts: 15
Rep Power: 8
casseer15 is on a distinguished road
For anyone who are still looking for an answer, How you calculate the molWeight is,


molWeight = ΣWiXi, where Wi is molar weight of individual species and Xi is mol fraction of that species.


To find the janaf coefficients, you can use databases from GRI MEch or Burcats. These databases have the 14 coefficients listed. (They will have 15 coefficients, disregard the last one of third row). They are in 3 rows, don't be afraid, its just one row after the other. The 1st 7 are highCp and the next 7 are lowCp.



Find the coefficients for individual species from these files and use a similar calculation to above to find the JANAF coefficients for a mixture.



The Thigh qnd Tlow a should be at the begining of each element in these files (ie 200.000 6000.000).



You can also use adiabaticFlame T to calculate the janaf coefficients.
Type

cd $FOAM_UTILITIES/thermophysical/adiabaticFlameT


then
adiabaticFlameT controlDict


you will get a file with data for each stoicheometric ratio calcualted.


By default, controlDict has selected values for H2.

the lines
$H2;
// $CH4;
// $PROPANE;
specieis the fuel in this.
casseer15 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Temperature calculation from total enthalpy in OpenFOAM (XiFOAM) sharifi OpenFOAM Running, Solving & CFD 1 October 8, 2020 09:16
XiFoam floating point error..mut error? achinta OpenFOAM 8 July 31, 2012 04:48
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


All times are GMT -4. The time now is 04:17.