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

objectRegistry error with Postprocessing Function Objects

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

Like Tree1Likes
  • 1 Post By iuginio

Reply
 
LinkBack Thread Tools Display Modes
Old   March 3, 2014, 06:47
Default objectRegistry error with Postprocessing Function Objects
  #1
New Member
 
eugenio l
Join Date: Feb 2014
Posts: 3
Rep Power: 3
iuginio is on a distinguished road
Hello,

I am a new OpenFoam user and I am simulating a valve with icoFoam solver.
The cylindrical housing is modelled with blockMesh followed by a double call to MirrorMesh, then the plate geometry is imported through .stl file and SnappyHexMesh.
The meshing process and the simulation worked fine.

Since I need to calculate the forces on the plate, I used the PostProcessing function Objects "forces", adding the corresponding entries in controlDict. With the introduction of these mirrorMesh reports an error:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.3.0-f5222ca19ce6
Exec   : mirrorMesh
Date   : Mar 03 2014
Time   : 11:10:47
Host   : "eugenio-desktop"
PID    : 7743
Case   : /home/eugenio/OpenFOAM/eugenio-2.3.0/run/tutorials/incompressible/icoFoam/checkValve_cylinderSnappy
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



--> FOAM FATAL ERROR: 

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

    From function objectRegistry::lookupObject<Type>(const word&) const
    in file db/objectRegistry/objectRegistryTemplates.C at line 198.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::objectRegistry const& Foam::objectRegistry::lookupObject<Foam::objectRegistry>(Foam::word const&) const at ??:?
#3  Foam::OutputFilterFunctionObject<Foam::forces>::allocateFilter() at ??:?
#4  Foam::OutputFilterFunctionObject<Foam::forces>::start() at ??:?
#5  Foam::functionObjectList::read() at ??:?
#6  Foam::functionObjectList::timeSet() at ??:?
#7  Foam::Time::operator++() at Time.C:?
#8  Foam::Time::operator++(int) at ??:?
#9  
 at ??:?
#10  __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#11  
 at ??:?
Aborted (core dumped)
It seems to complain about "regions", but I haven't done any partitioning in my mesh domain. When excluding the entry "functions {..}" from controlDict and reintroducing it after the meshing process, the problem arises with the icoFoam solver.

Does anyone experienced a similar problem?

Thank you!
iuginio is offline   Reply With Quote

Old   March 4, 2014, 12:43
Smile
  #2
New Member
 
eugenio l
Join Date: Feb 2014
Posts: 3
Rep Power: 3
iuginio is on a distinguished road
solved!

Code:
mirrorMesh -noFunctionObjects
andrejssab likes this.
iuginio is offline   Reply With Quote

Reply

Tags
functionobject, mirrormesh, objectregistry, openfoam 2.2.x

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
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 05:06
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23


All times are GMT -4. The time now is 16:22.