CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   available objects for fieldAverage (http://www.cfd-online.com/Forums/openfoam-post-processing/100522-available-objects-fieldaverage.html)

Mat_fr April 26, 2012 10:08

available objects for fieldAverage
 
Dear all,

I'm working on lagrangian particles.
In this context, I'm using the variable kinematicCloudTheta, which is computing in KimenaticCloudI.H. And I've modified the code, to create the file kinematicCloudTheta at each output time. The problem is that I also wish to compute the time average of this variable with the function fieldAverage, and I get then the following error :


Quote:

--> FOAM FATAL ERROR:

request for volScalarField kinematicCloudTheta from objectRegistry region0 failed
available objects of type volScalarField are

9
(
nut
rho
k
p_rgh
nu
gh
p
mu
epsilon
)


From function objectRegistry::lookupObject<Type>(const word&) const
in file /students/rm_11_12/specklin/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 131.

FOAM aborting

Does somebody has an idea about how to get rid of this error?
My variable is only computed in the source files, and is not created in the createFields of the solver. (and it should be like that)

Best,

Mat


All times are GMT -4. The time now is 12:30.