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

register a new object sprayRASModel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2009, 05:04
Default register a new object sprayRASModel
  #1
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18
yejungong is on a distinguished road
Hi,

I have build a new object, sprayRASModel (based on RASModel), and it works well in the modified dieselFoam. but if I turn on the modified dispersion model, it keeps telling me that OpenFOAM cannot find the object. The error message has attached in the bottom of this thread.

I noticed that in the dispersion model, they find the object by
-----------------
sm.mesh().lookupObject<compressible::sprayRASModel >
(
"sprayRASProperties"
)
-----------------

is it means that I need register the new object, sprayRASModel, to the mesh? if so, how to do it?

any help is highly appreciated.

Yejun




-----error message of the modified dieselFoam
----------------------------------
Selecting dispersionModel stochasticDispersionRAS
sh: gaddr2line: command not found
sh: gaddr2line: command not found
sh: gaddr2line: command not found
sh: gaddr2line: command not found
sh: gaddr2line: command not found
sh: gaddr2line: command not found
sh: gaddr2line: command not found
sh: gaddr2line: command not found
sh: gaddr2line: command not found

request for sprayRASModel sprayRASProperties from objectRegistry region0 failed
available objects of type sprayRASModel are

0
(
)
#0 Foam::error:rintStack(Foam::Ostream&) addr2line failed
#1 Foam::error::abort() addr2line failed
#2 Foam::compressible::sprayRASModel const& Foam:bjectRegistry::lookupObject<Foam::compressi ble::sprayRASModel>(Foam::word const&) const addr2line failed
#3 Foam::dispersionRASModel::dispersionRASModel(Foam: :dictionary const&, Foam::spray&) addr2line failed
#4 Foam::dispersionModel::adddictionaryConstructorToT able<Foam::stochasticDispersionRAS>::New(Foam::dic tionary const&, Foam::spray&) addr2line failed
#5 Foam::dispersionModel::New(Foam::dictionary const&, Foam::spray&) addr2line failed
#6 Foam::spray::spray(Foam::volPointInterpolation const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::combustionMixture const&, Foam::PtrList<Foam::sutherlandTransport<Foam::spec ieThermo<Foam::janafThermo<Foam:erfectGas> > > > const&, Foam::dictionary const&, Foam::dictionary const&) addr2line failed
#7 main addr2line failed
#8 start addr2line failed


From function objectRegistry::lookupObject<Type>(const word&) const
in file /Network/Servers/controller.cluster/Homedir/yegong/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 142.

FOAM aborting

----------------------------------
yejungong is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 05:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 16:49
Simulation of object in rotation Dothan FLUENT 4 March 25, 2008 04:25
problems with tight flow domain on object jemteo CFX 0 August 3, 2004 07:17


All times are GMT -4. The time now is 05:33.