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:
/*---------------------------------------------------------------------------*\ Does anyone experienced a similar problem? Thank you! |
solved!
Code:
mirrorMesh -noFunctionObjects |
Has anyone managed to get this working properly? I see the same error when I try to use this function object to calculate field averages in cellZones in a parallel case with a single region:
Quote:
Quote:
|
[volIntegrate] Unable to integrate over cellZone
Hello everyone,
I stumbled upon the exact same problem, just wanted to ask again, maybe someone will be able to help in 2021 :) I am using interFoam to simulate wave breaking on coastal structures. To measure how much water has crossed a particular structure, I would like to calculate "downstream" of the structure, using the volFieldValue and the volIntegrate operation. Because I only want to measure the volume of water in a type of sink downstream of the structure, I followed the documentation and added a new cellZone using topoSetDict : Code:
{ Code:
waterVolume Code:
--> FOAM Warning : I get the same error message when running in sequential (not in parallel). I have no idea where this could come from, as I have never encountered the "objectRegistry" word before. Cheers, Victor |
I think, you problem is this line
Code:
region bac; See e.g. https://github.com/OpenFOAM/OpenFOAM...oneAverage#L21 |
Thanks Joachim, using "name" worked perfectly.
I just checked the documentation (https://www.openfoam.com/documentati...ieldValue.html), it turns out "name" was the correct entry to use. I don't know how I came up with "region"... Would not have been mad if I had received a RTFM... :) |
All times are GMT -4. The time now is 18:14. |