error in defining thermophysical properties
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 |
i also wrote the header as this:
thermoType hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>; what should I do then? |
There is no space between your lowCp/highCp coeffs keyword and value.
|
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. |
Read the OpenFOAM manual, the section on thermophysical models (7.1)
|
I have read it but it gives error after changing
|
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. |
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::printStack(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::pureMixture<Foam::sutherlan dTransport<Foam::specieThermo<Foam::janafThermo<Fo am::perfectGas> > > > >::calculate() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so" #4 Foam::ePsiThermo<Foam::pureMixture<Foam::sutherlan dTransport<Foam::specieThermo<Foam::janafThermo<Fo am::perfectGas> > > > >::ePsiThermo(Foam::fvMesh const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so" #5 Foam::basicPsiThermo::addfvMeshConstructorToTable< Foam::ePsiThermo<Foam::pureMixture<Foam::sutherlan dTransport<Foam::specieThermo<Foam::janafThermo<Fo am::perfectGas> > > > > >::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 |
All times are GMT -4. The time now is 14:30. |