CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   error to check simulation result: could not find valid OpenFOAM mesh (http://www.cfd-online.com/Forums/openfoam/103236-error-check-simulation-result-could-not-find-valid-openfoam-mesh.html)

xiaoyoyo June 14, 2012 10:16

error to check simulation result: could not find valid OpenFOAM mesh
 
Hi everyone,

I am doing some simulation using chtMultiRegionFoam. I created a mesh with three regions using ICEM, and then run a simple case. everything is good.
Then I tried another case, in which everything is the same except that I used groovyBC to set up the temperature profile of main air inlet. Then simulation is running without any problem. While when I tried to check the result using paraFoam, the paraview didn't work and I got this error message:

Quote:

ERROR: In /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/vtkPV3FoamReader.cxx, line 215
vtkPV3FoamReader (0x33b7ab0): could not find valid OpenFOAM mesh


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/Filtering/vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (0x33d3310): Algorithm vtkPV3FoamReader(0x33b7ab0) returned failure for request: vtkInformation (0x33c4a70)
Debug: Off
Modified Time: 74306
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0

Segmentation fault

I noticed that in the error message, the path of the openFoam is /home/opencfd/OpenFOAM
while I believe that the openFOam and paraView are both installed in root/opt folder
Is this the possible reason?

Anyone can help?
thanks a lot!

dhruv June 14, 2012 10:23

Hi,

Have you created the three separate files for paraview post-processing, for the three different regions?

Dhruv.

Quote:

Originally Posted by xiaoyoyo (Post 366467)
Hi everyone,

I am doing some simulation using chtMultiRegionFoam. I created a mesh with three regions using ICEM, and then run a simple case. everything is good.
Then I tried another case, in which everything is the same except that I used groovyBC to set up the temperature profile of main air inlet. Then simulation is running without any problem. While when I tried to check the result using paraFoam, I got this error message:



Anyone can help?
thanks a lot!


xiaoyoyo June 14, 2012 10:27

Quote:

Originally Posted by dhruv (Post 366469)
Hi,

Have you created the three separate files for paraview post-processing, for the three different regions?

Dhruv.

yes, I did it
Actually, I checked the former simulation (the one I didn't using groovyBC), even though I got the same error message, I still can open the result. It is so strange!

gschaider June 14, 2012 14:37

Quote:

Originally Posted by xiaoyoyo (Post 366471)
yes, I did it
Actually, I checked the former simulation (the one I didn't using groovyBC), even though I got the same error message, I still can open the result. It is so strange!

It is really strange, especially as paraFoam compares about not finding a mesh. And reading the mesh has to come before reading the fields and only when the fields are read will groovyBC kick in.

Some questions:

a) is hat you wrote in the original posting ALL the output?

b) are you REALLY sure that the case is the same apart from groovyBC? Try the following: comment out groovyBC and put in "type zeroGradient". Also comment out the libs-entry in controlDict. See if paraview still fails

c) have you tried the builtin OpenFOAM-reader in paraview? Just create one stub-file foo.foam in the case and when opening that it should recognize all the regions


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