January 3, 2019, 01:03
|
thermophysicalProperties for molWeight and Chemkin file.
|
#1
|
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 11
|
Right now I have the following thermophysicalProperties file
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}
CHEMKINFile "<case>/chemkin/chem.inp";
CHEMKINThermoFile "<case>/chemkin/therm.dat";
CHEMKINTransportFile "<case>/chemkin/transportProperties";
newFormat yes;
inertSpecie Cs;
Cs
{
specie
{
nMoles 1;
molWeight 132.90543;
}
}
What I wanted to know is if I needed to declare " inertSpecie Cs;" if I declare it again below that line for Cs. I have my other declaration in a chemkin file but none of them have the molWeight for Cs? I'm not really certain if maybe it should be more like this instead
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}
newFormat yes;
Cs
{
specie
{
nMoles 1;
molWeight 132.90543;
}
transport
{
CHEMKINTransportFile "<case>/chemkin/transportProperties";
}
thermo
{
CHEMKINThermoFile "<case>/chemkin/therm.dat";
}
}
|
|
|