CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Error trying to access a variable

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 23, 2009, 11:43
Default Error trying to access a variable
  #1
New Member
 
Danilo
Join Date: Mar 2009
Location: Munich, Germany
Posts: 10
Rep Power: 8
ziooscuro is on a distinguished road
Hello people,
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:rintStack(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;
autoPtr<compressible::LESModel> turbulence
(
compressible::LESModel::New
(
rho,
U,
phi,
thermo()
)
);

I have no idea what's wrong.... any suggestion??
Thanks a lot
Danilo
ziooscuro is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas Main CFD Forum 1 May 30, 2008 04:35
Error : access : Unknown variable & Phase-domain MKP FLUENT 0 August 28, 2006 03:40
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 05:27
Error: access: unbound variable cfd-novice FLUENT 0 April 3, 2003 04:53
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 06:48.