CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   keyword cp is undefined in dictionary (https://www.cfd-online.com/Forums/openfoam-solving/136041-keyword-cp-undefined-dictionary.html)

abdessamad May 21, 2014 20:54

keyword cp is undefined in dictionary
 
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : interFoam
Date : May 22 2014
Time : 01:42:24
Host : "abdessamad-Aspire-E1-571"
PID : 4236
Case : /home/abdessamad/Bureau/supp
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


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian


--> FOAM FATAL IO ERROR:
keyword cp is undefined in dictionary "/home/abdessamad/Bureau/supp/constant/transportProperties.water"

file: /home/abdessamad/Bureau/supp/constant/transportProperties.water from line 22 to line 38.

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

FOAM exiting


// please, someone can help me.

adambarfi May 22, 2014 01:54

Quote:

Originally Posted by abdessamad (Post 493460)
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : interFoam
Date : May 22 2014
Time : 01:42:24
Host : "abdessamad-Aspire-E1-571"
PID : 4236
Case : /home/abdessamad/Bureau/supp
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


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian


--> FOAM FATAL IO ERROR:
keyword cp is undefined in dictionary "/home/abdessamad/Bureau/supp/constant/transportProperties.water"

file: /home/abdessamad/Bureau/supp/constant/transportProperties.water from line 22 to line 38.

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

FOAM exiting


// please, someone can help me.

you didn't define the cp in transportProperties file. you can define it as follows:
Code:

    Cp              1007;

abdessamad May 22, 2014 07:54

Thank you mostafa for your reply
I add cp in my folder but another error occurs:

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::incompressibleTwoPhaseMixture::incompressibl eTwoPhaseMixture(Foam::GeometricField<Foam::Vector <double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/lib/libincompressibleTransportModels.so"
#4
at /home/opencfd/OpenFOAM/OpenFOAM-2.3.0/applications/solvers/multiphase/interFoam/createFields.H:53
#5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#6
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/interFoam"
Erreur de segmentation (core dumped)

can you give me some hint about that.


All times are GMT -4. The time now is 18:10.