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. |
Try using ePsiThermo instead of hPsiThermo
|
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. |