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

keyword cp is undefined in dictionary

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 21, 2014, 20:54
Default keyword cp is undefined in dictionary
  #1
New Member
 
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 3
abdessamad is on a distinguished road
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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.
abdessamad is offline   Reply With Quote

Old   May 22, 2014, 01:54
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by abdessamad View Post
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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;
adambarfi is offline   Reply With Quote

Old   May 22, 2014, 07:54
Default
  #3
New Member
 
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 3
abdessamad is on a distinguished road
Thank you mostafa for your reply
I add cp in my folder but another error occurs:

#0 Foam::error:rintStack(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.
abdessamad 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 10 May 1, 2014 16:26
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


All times are GMT -4. The time now is 21:04.