|
[Sponsors] |
December 6, 2012, 14:20 |
error in defining thermophysical properties
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
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 |
|
December 6, 2012, 14:26 |
|
#2 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
i also wrote the header as this:
thermoType hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>; what should I do then? |
|
December 6, 2012, 20:58 |
|
#3 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
There is no space between your lowCp/highCp coeffs keyword and value.
|
|
December 7, 2012, 05:37 |
|
#4 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
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. |
|
December 7, 2012, 13:04 |
|
#5 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Read the OpenFOAM manual, the section on thermophysical models (7.1)
|
|
December 7, 2012, 13:33 |
|
#6 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
I have read it but it gives error after changing
|
|
December 7, 2012, 13:42 |
|
#7 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
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. |
|
December 7, 2012, 14:21 |
|
#8 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thermophysical properties | immortality | OpenFOAM Running, Solving & CFD | 0 | December 2, 2012 07:49 |
chtMultiRegionFoam, error while when defining the thermodynamic properties | nakor | OpenFOAM Running, Solving & CFD | 0 | September 12, 2012 16:22 |
Thermophysical models and properties | Gitesh P | OpenFOAM Running, Solving & CFD | 3 | March 9, 2012 10:36 |
defining volume properties via UDF | Ralf Schmidt | FLUENT | 0 | July 17, 2006 11:30 |
thermophysical properties of ham | Alex Ivancic | Main CFD Forum | 1 | November 5, 1998 12:09 |