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

error in defining thermophysical properties

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2012, 13:20
Default error in defining thermophysical properties
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
I have defined the air coefficients as below;whats the reason of the error?
---------------------------------------------------------------------------------------
mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Tlow 200;
Thigh 6000;
Tcommon 1000;
lowCpCoeffs(5.009155110 -5.761013730E-3 1.066859930E-5 -7.940297970E-9 2.185231910E-12 -1.767967310E+02 -3.921500990E+00);
highCpCoeffs(5.144558670E+00 -2.138541790E-04 7.065227840E-08 -1.071483490E-11 6.577800150E-16 6.462263190E+03 -8.147408670E+00);
}
transport
{
As 1.4584E-06;
Ts 110.4;
}
}

---------------------------------------------------------------------------------------
PIMPLE: Operating solver in PISO mode

Reading thermophysical properties



--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'lowCpCoeffs(5.009155110' on line 32 and ending at line 45"

file: /home/ehsan/Desktop/thesis_Pimple/constant/thermophysicalProperties at line 45.

From function primitiveEntry::readEntry(const dictionary&, Istream&)
in file lnInclude/IOerror.C at line 132.

FOAM exiting
immortality is offline   Reply With Quote

Old   December 6, 2012, 13:26
Default
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
i also wrote the header as this:
thermoType hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>;
what should I do then?
immortality is offline   Reply With Quote

Old   December 6, 2012, 19:58
Default
  #3
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
There is no space between your lowCp/highCp coeffs keyword and value.
mturcios777 is offline   Reply With Quote

Old   December 7, 2012, 04:37
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
thanks.you right.it was solved.do you know about thermotype?whats psi in this model?how can i change it to hRhoThermo return to hPsiThermo?
Thanks.
immortality is offline   Reply With Quote

Old   December 7, 2012, 12:04
Default
  #5
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Read the OpenFOAM manual, the section on thermophysical models (7.1)
mturcios777 is offline   Reply With Quote

Old   December 7, 2012, 12:33
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
I have read it but it gives error after changing
immortality is offline   Reply With Quote

Old   December 7, 2012, 12:42
Default
  #7
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Which thermo model do you want to use? Some of the thermos are not compatible with certain mixture or transport models. If the error happens in the initial set up of the case before the main solver loop, then you haven't specified the thermo model properly.

If the error happens in the main solver loop, then there is something wrong with your setup (inappropriate choice of thermo model, boundary conditions, etc.). This will take longer to figure out.

Please post the error to make diagnosing the error easier.
mturcios777 is offline   Reply With Quote

Old   December 7, 2012, 13:21
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
thank you.look at this error.I changed BC's to fixedValues but the error is repeated:

Create time

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::ePsiThermo<Foam:ureMixture<Foam::sutherlan dTransport<Foam::specieThermo<Foam::janafThermo<Fo am:erfectGas> > > > >::calculate() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#4 Foam::ePsiThermo<Foam:ureMixture<Foam::sutherlan dTransport<Foam::specieThermo<Foam::janafThermo<Fo am:erfectGas> > > > >::ePsiThermo(Foam::fvMesh const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#5 Foam::basicPsiThermo::addfvMeshConstructorToTable< Foam::ePsiThermo<Foam:ureMixture<Foam::sutherlan dTransport<Foam::specieThermo<Foam::janafThermo<Fo am:erfectGas> > > > > >::New(Foam::fvMesh const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#6 Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
#7
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/rhoCentralFoam"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/rhoCentralFoam"
Floating point exception
immortality is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
thermophysical properties immortality OpenFOAM Running, Solving & CFD 0 December 2, 2012 06:49
chtMultiRegionFoam, error while when defining the thermodynamic properties nakor OpenFOAM Running, Solving & CFD 0 September 12, 2012 15:22
Thermophysical models and properties Gitesh P OpenFOAM Running, Solving & CFD 3 March 9, 2012 09:36
defining volume properties via UDF Ralf Schmidt FLUENT 0 July 17, 2006 10:30
thermophysical properties of ham Alex Ivancic Main CFD Forum 1 November 5, 1998 11:09


All times are GMT -4. The time now is 16:46.