CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   AeroFoam problems (http://www.cfd-online.com/Forums/openfoam/90721-aerofoam-problems.html)

Vorobus July 19, 2011 10:20

AeroFoam problems
 
Hi,
I've tried to use AeroFoam 1.7.1 solver for the OpenFoam 1.7.1 tutorial case ObliqueShock, and I 've done all the correctoins which are given in the AEROFOAM QUICK START paper www.aero.polimi.it/freecase/?download=AeroFoam_QuickStart.pdf
but after entering AeroFoam I see the following message:
vadim.vorobyov@oslo:~/OF171/compressible/aeroFoam/forwardStep$ AeroFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.x-3776603e4c6c
Exec : AeroFoam
Date : Jul 19 2011
Time : 18:00:56
Host : oslo
PID : 15382
Case : /home/vadim.vorobyov/OF171/compressible/aeroFoam/forwardStep
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create mesh for time = 0

========================================
Reading Thermodynamic Properties...
========================================


--> FOAM FATAL IO ERROR:
keyword R is undefined in dictionary "/home/vadim.vorobyov/OF171/compressible/aeroFoam/forwardStep/constant/thermodynamicProperties"

file: /home/vadim.vorobyov/OF171/compressible/aeroFoam/forwardStep/constant/thermodynamicProperties from line 18 to line 43.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 395.

FOAM exiting
------------------------------------

I've tried to put R universal gas constant into the corresponding file/ here is how my
"thermodynamicProperties" looks like

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

thermoType ePsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>;

// Note: these are the properties for a "normalised" inviscid gas
// for which the speed of sound is 1 m/s at a temperature of 1K
// and gamma = 7/5
mixture
{
specie
{
gamma 1.4;
R 287;
nMoles 1;
molWeight 11640.3;
}
thermodynamics
{
R 287;
Cp 2.5;
Hf 0;

}
transport
{
mu 0;
Pr 1;
R 287;
}
}
////////////////
Does anyone has an idea why I have this error ?:confused:

Please, Help!
Thank you very much in advance! :)

aerothermal December 5, 2011 16:00

bump

no answer?


All times are GMT -4. The time now is 22:05.