Error trying to access a variable
I have a quite strange problem... i had a working (till last week at least) solver, than i decide to upgrade the version......it compiles properly, the problem is that when i run a case (a case who was also running with the previous implementation) i get a segmentation error:
1#0 Foam::error::printStack(Foam::Ostream&) in "/nfs/home/bruno/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/nfs/home/bruno/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 ?? in "/lib64/libc.so.6"
#3 main in "/nfs/home/bruno/OpenFOAM/bruno-1.5/applications/bin/linux64GccDPOpt/evoluzione"
#4 __libc_start_main in "/lib64/libc.so.6"
#5 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/nfs/home/bruno/OpenFOAM/bruno-1.5/applications/bin/linux64GccDPOpt/evoluzione"
I run a LES simulation, and the problem occurs when i try to access the filter width in the line:
const volScalarField delta= turbulence->delta() ;
of course in my createFields there is:
Info << "Creating turbulence model.\n" << nl;
I have no idea what's wrong.... any suggestion??
Thanks a lot
|All times are GMT -4. The time now is 04:41.|