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

Error in reactingFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 11, 2015, 22:24
Default Error in reactingFoam
  #1
New Member
 
Join Date: Jul 2013
Posts: 9
Rep Power: 12
okstatecheme is on a distinguished road
I'm trying to run a species tracking simulation using reactingFoam with noComubustion reaction model. My thermophysicalProperties dictionary appears to be correct but I keep getting this error:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.3.1-bcfaaa7b8660
Exec   : reactingFoam
Date   : Jan 11 2015
Time   : 21:17:45
Host   : "brett-ubuntu"
PID    : 6271
Case   : /home/brett/Desktop/stack2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading g
Creating reaction model

Selecting combustion model noCombustion<psiThermoCombustion>


--> FOAM FATAL IO ERROR: 
"ill defined primitiveEntry starting at keyword 'mu' on line 55 and ending at line 55"

file: /home/brett/Desktop/stack2/constant/thermophysicalProperties at line 55.

    From function primitiveEntry::readEntry(const dictionary&, Istream&)
    in file lnInclude/IOerror.C at line 132.

FOAM exiting

brett@brett-ubuntu:~/Desktop/stack2$
Any ideas on what is going on? Attached is the thermophysicalProperties dict.

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
    type            hePsiThermo;
    mixture         multiComponentMixture;
    transport       const;
    thermo          hConst;
    energy          sensibleInternalEnergy;
    equationOfState perfectGas;
    specie          specie;
}

species 
(
    N2
    O2
    CO2
    H2S
    CH4
    H2O
);

inertSpecie        ;

O2
{
    specie
    {
        nMoles          1;
        molWeight       31.9988;
    }
    thermodynamics
    {
        Cp             918;
    Hf        0;
    }
    transport
    {
        mu              2.02-05;
        Pr              0.7;
    }
}

H2O
{
    specie
    {
        nMoles          1;
        molWeight       18.0153;
    }
    thermodynamics
    {
        Cp        3985;
    Hf        0;
    }
    transport
    {
        mu              1.8-05;
        Pr              0.7;
    }
}

CH4
{
    specie
    {
        nMoles          1;
        molWeight       16.0428;
    }
    thermodynamics
    {
        Cp        1000;
    Hf        0;
    }
    transport
    {
        mu              1.8-05;
        Pr              0.7;
    }
}

CO2
{
    specie
    {
        nMoles          1;
        molWeight       44.01;
    }
    thermodynamics
    {
        Cp             3640;
    Hf        0;
    }
    transport
    {
        mu              1.48-05;
        Pr              0.7;
    }
}

N2
{
    specie
    {
        nMoles          1;
        molWeight       28.0134;
    }
    thermodynamics
    {
        Cp        1040;
    Hf        0;
    }
    transport
    {
        mu              1.75-05;
        Pr              0.7;
    }
}

H2S
{
    specie
    {
        nMoles          1;
        molWeight       34.0758;
    }
    thermodynamics
    {
        Cp        1176;
    Hf        0;
    }
    transport
    {
        mu              1.13-05;
        Pr              0.7;
    }
}


// ************************************************************************* //
Attached Files
File Type: txt thermophysicalProperties.txt (2.6 KB, 10 views)
okstatecheme is offline   Reply With Quote

 

Tags
reactingfoam


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
calculate flame speed using reactingFoam IColin OpenFOAM Running, Solving & CFD 0 February 4, 2014 15:14
reactingFoam crashing rishibigghe OpenFOAM Running, Solving & CFD 0 June 14, 2011 17:50
Constant Volume Combustion with reactingFoam Alish1984 OpenFOAM Running, Solving & CFD 2 May 8, 2011 08:51
reactingFoam wedge handling wrong U dhondupant OpenFOAM Bugs 1 December 9, 2010 07:34
reactingFoam - turbulent reacting flow hamburgFoam OpenFOAM 0 December 7, 2009 12:57


All times are GMT -4. The time now is 09:32.