CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

error - mesh.lookupObject<incompressible::LESModel>("LESPr operties");

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2014, 13:40
Default error - mesh.lookupObject<incompressible::LESModel>("LESPr operties");
  #1
Senior Member
 
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13
aylalisa is on a distinguished road
Dear Foamers,

I'd like to access nuEff in a utility and use this code:

Quote:
const incompressible::LESModel& model =
mesh.lookupObject<incompressible::LESModel>("LESPr operties");

const volScalarField nuEff(model.nuEff());
const volScalarField nuLam(model.nu());
file constant/LESProperties:

Quote:
LESModel dynamicSmagorinsky; //by Alberto Pasquale

delta cubeRootVol;

printCoeffs on;
file constant/turbulenceProperties:
Quote:

simulationType LESModel;

turbulenceModel dynamicSmagorinsky;

turbulence on;
I use A. Pasquale's version of dynamicSmagorinsky already successfully in other cases. The lib is located in $FOAM_USER_LIBBIN.

If I try to run the utility for latestTime I receive this error (already commented in another thread):
Quote:
p, li { white-space: pre-wrap; } Time = 1000
Calculating wall distance


Writing wall distance to field y


Reading field U


Reading field WallShearStressLES


Reading/calculating face flux field phi






--> FOAM FATAL ERROR:


request for LESModel LESProperties from objectRegistry region0 failed
available objects of type LESModel are
0()


From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/elisabeth/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 198.


FOAM aborting


#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2
Foam::incompressible::LESModel const& Foam:bjectRegistry::lookupObject<Foam::incompres sible::LESModel>(Foam::word const&) const at ??:?
#3
at ??:?
#4 __libc_start_main in "/lib64/libc.so.6"
#5
at /home/abuild/rpmbuild/BUILD/glibc-2.18/csu/../sysdeps/x86_64/start.S:125
Das Programm ist abgestürzt.
/home/aylalisa/OpenFOAM/OpenFOAM-2.3.0/bin/foamExec ist abgestürzt

Can anybody help?

Best regards,
Aylalisa
aylalisa 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



All times are GMT -4. The time now is 21:35.