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

hi

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 24, 2011, 18:20
Default hi
  #1
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 6
javad814 is on a distinguished road
hi friends
can anyone understand the fallowing error:
reza@reza-N43SN:~/hotradiationroom1$ buoyantSimpleRadiationFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.0-d79727c3fca7
Exec : buoyantSimpleRadiationFoam
Date : Aug 25 2011
Time : 02:39:31
Host : reza-N43SN
PID : 3479
Case : /home/reza/hotradiationroom1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Create mesh for time = 0


Reading g
Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>


--> FOAM FATAL ERROR:
Attempt to return primitive entry ITstream : /home/reza/hotradiationroom1/constant/thermophysicalProperties::mixture, line 20, IOstream: Version 2.0, format ASCII, line 0, OPENED, GOOD
primitiveEntry 'mixture' comprises
on line 20 the word 'air'
on line 20 the label 1
on line 20 the doubleScalar 28.9
on line 20 the label 1000
on line 20 the label 0
on line 20 the doubleScalar 1.8e-05
on line 20 the doubleScalar 0.7
as a sub-dictionary

From function const dictionary& primitiveEntry::dict() const
in file db/dictionary/primitiveEntry/primitiveEntry.C at line 159.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Foam:rimitiveEntry::dict() const in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#3 Foam::dictionary::subDict(Foam::word const&) const in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#4 Foam:ureMixture<Foam::constTransport<Foam::speci eThermo<Foam::hConstThermo<Foam:erfectGas> > > >:ureMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#5 Foam::hPsiThermo<Foam:ureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > >::hPsiThermo(Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#6 Foam::basicPsiThermo::addfvMeshConstructorToTable< Foam::hPsiThermo<Foam:ureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > > >::New(Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#7 Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#8
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/buoyantSimpleRadiationFoam"
#9 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#10
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/buoyantSimpleRadiationFoam"
Aborted
reza@reza-N43SN:~/hotradiationroom1$
javad814 is offline   Reply With Quote

Old   August 25, 2011, 05:46
Default
  #2
New Member
 
Alex
Join Date: Apr 2011
Location: München
Posts: 13
Rep Power: 6
al_pr is on a distinguished road
Hello,
I think the error is caused by your thermophysicalproperties file. The structure of this file has changed in OpenFOAM 2.0.0. Could you maybe post your thermophysicalproperties?

I hope this helps.

Regards,

Alex
al_pr is offline   Reply With Quote

Old   August 29, 2011, 17:03
Default
  #3
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 6
javad814 is on a distinguished road
hello
thanks
I will check it.
this is the file:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

mixture air 1 28.9 1000 0 1.8e-05 0.7;

pRef 100000;


// ************************************************** *********************** //
javad814 is offline   Reply With Quote

Old   August 30, 2011, 01:29
Default
  #4
suh
New Member
 
Suhas
Join Date: Jul 2011
Location: Pune
Posts: 20
Rep Power: 5
suh is on a distinguished road
Hi Javed,

You are using OF 2.0.0 but you are using the old OF 1.7.1 version file for thermoPhysical model. As an example below is file from OF 2.0.0


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>;
mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Cp 1007;
Hf 0;
}
transport
{
As 1.4792e-06;
Ts 116;
}
}

// ******************************** //

Best luck

Regards
Suhas
suh is offline   Reply With Quote

Old   September 9, 2011, 16:47
Default
  #5
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 6
javad814 is on a distinguished road
thanks alot
javad814 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 14:49.