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

Error trying to access a variable

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 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 04: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 20:09


All times are GMT -4. The time now is 18:44.