CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   testDataEntry (https://www.cfd-online.com/Forums/openfoam/83509-testdataentry.html)

Farshad_Noravesh January 1, 2011 08:35

testDataEntry
 
Hi,
I just did one of the test cases (testDataEntry) which is inside test folder .
It is about using dictionary but it simply gives me the error:
[farshad@farshad dataEntry]$ testDataEntry
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.1-03e7e056c215
Exec : testDataEntry
Date : Jan 01 2011
Time : 16:56:17
Host : farshad
PID : 5859
Case : /home/farshad/OpenFOAM/farshad-1.7.1/applications/test/dataEntry
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create mesh for time = 0



--> FOAM FATAL IO ERROR:
Attempt to return dictionary entry as a primitive

file: /home/farshad/OpenFOAM/farshad-1.7.1/applications/test/dataEntry/constant/dataEntryProperties::dataEntry from line 19 to line 20.

From function ITstream& primitiveEntry::stream() const
in file db/dictionary/dictionaryEntry/dictionaryEntry.C at line 82.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/home/farshad/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::IOerror::abort() in "/home/farshad/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::dictionaryEntry::stream() const in "/home/farshad/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#3 Foam::DataEntry<double>::New(Foam::word const&, Foam::dictionary const&) in "/home/farshad/OpenFOAM/farshad-1.7.1/applications/bin/linux64GccDPOpt/testDataEntry"
#4
in "/home/farshad/OpenFOAM/farshad-1.7.1/applications/bin/linux64GccDPOpt/testDataEntry"
#5 __libc_start_main in "/lib64/libc.so.6"
#6
in "/home/farshad/OpenFOAM/farshad-1.7.1/applications/bin/linux64GccDPOpt/testDataEntry"
Aborted (core dumped)
[farshad@farshad dataEntry]$
------------------------------------------
Thanks


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