CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Error trying to access a variable (

ziooscuro September 23, 2009 11:43

Error trying to access a variable
Hello people,
I have a quite strange problem... i had a working (till last week at least) solver, than i decide to upgrade the 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/"
#1 Foam::sigSegv::sigSegvHandler(int) in "/nfs/home/bruno/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/"
#2 ?? in "/lib64/"
#3 main in "/nfs/home/bruno/OpenFOAM/bruno-1.5/applications/bin/linux64GccDPOpt/evoluzione"
#4 __libc_start_main in "/lib64/"
#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;
autoPtr<compressible::LESModel> turbulence

I have no idea what's wrong.... any suggestion??
Thanks a lot

All times are GMT -4. The time now is 15:58.