CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

thermophysicalProperties for molWeight and Chemkin file.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2019, 01:03
Default thermophysicalProperties for molWeight and Chemkin file.
  #1
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 12
massive_turbulence is on a distinguished road
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";
    }
}
massive_turbulence is offline   Reply With Quote

Reply

Tags
chemkin thermo, thermophysicalproperties


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
CHEMKIN file not understood by OpenFOAM kriete OpenFOAM Programming & Development 3 January 13, 2014 09:00
chemkin file yorelchr FLUENT 0 November 21, 2013 04:52
Help About Chemkin Surface Mechanism file import silverra1n FLUENT 1 October 16, 2013 03:32
Convert CHEMKIN file (.inp or .dat) to .f suffix for AVL FIRE amin_u50 AVL FIRE 3 May 3, 2013 04:00
Question on CHEMKIN INTERFACE Rui Yang Phoenics 7 January 30, 2002 04:04


All times are GMT -4. The time now is 23:41.