CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   problem running the sonicFoam (https://www.cfd-online.com/Forums/openfoam-solving/76532-problem-running-sonicfoam.html)

subash May 28, 2010 00:08

problem running the sonicFoam
 
Hi,

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/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/research/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::basicThermo::e() in "/home/research/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libbasicThermophysicalModels.so"
#3 main in "/home/research/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/sonicFoam"
#4 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#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

~/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/basic/basicThermo/basicThermo.C

The error leads to this section of code.

Foam::volScalarField& Foam::basicThermo::e()
{
notImplemented("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 15:49.