CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   problem running the sonicFoam (

subash May 28, 2010 00:08

problem running the sonicFoam

I tried to simulate a supersonic flow over a ramp, for this I selected the thermophysical models to be

hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>

when I use the above models I get the following error

Not implemented#0 Foam::error::printStack(Foam::Ostream&) in "/home/research/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/"
#1 Foam::error::abort() in "/home/research/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/"
#2 Foam::basicThermo::e() in "/home/research/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/"
#3 main in "/home/research/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/sonicFoam"
#4 __libc_start_main in "/lib/tls/i686/cmov/"
#5 _start at /build/buildd/eglibc-2.10.1/csu/../sysdeps/i386/elf/start.S:122

can anyone help me to decode this error message.

Thank you.

Ruehri June 25, 2010 06:39

Try using ePsiThermo instead of hPsiThermo

tfurlong July 28, 2010 14:23

basicThermo error
I have been getting the same error using hPsiThermo.

I have tracked it back to


The error leads to this section of code.

Foam::volScalarField& Foam::basicThermo::e()
return const_cast<volScalarField&>(volScalarField::null() );

I was able to get my program working by switching to ePsiThermo, but shouldn't it work equally well with hPsiThermo?

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