CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   objectRegistry error with Postprocessing Function Objects (http://www.cfd-online.com/Forums/openfoam/130703-objectregistry-error-postprocessing-function-objects.html)

iuginio March 3, 2014 06:47

objectRegistry error with Postprocessing Function Objects
 
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 March 4, 2014 12:43

solved!

Code:

mirrorMesh -noFunctionObjects


All times are GMT -4. The time now is 01:51.