CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] VTK error running paraView

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2015, 17:16
Default VTK error running paraView
  #1
New Member
 
Grzegorz Karpiński
Join Date: Nov 2014
Location: Olsztyn, Poland
Posts: 6
Rep Power: 11
greg_karp is on a distinguished road
Hello All,
I'm not sure if "Mesh Utilities" is good section to post my thread:

- I'm using OF 1.6-ext and trying to run tutorial "SimpleEngineStem.tar.gz" from:
http://cfd-online.com/Forums/openfoa...changes-4.html

- I ran: 'sh ./Allrun' and after finish calculations 'paraFoam'
- after click on 'apply' in paraView window mesh displayed well.
- after click on "play button" (trying to move one or multiple steps) mesh disappeared and following message appeard:
p, li { white-space: pre-wrap; } FORWARD_DIRECTION: 0

On shell appeared following error message:

"grzegorz@grzegorz-Lenovo-G700:~/Pulpit/simpleEngineStem$ paraFoam
created temporary 'simpleEngineStem.foam'

Warning: In /build/buildd/paraview-4.0.1/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 4725
vtkOpenFOAMReaderPrivate (0x23cdcb0): Numbers of faces in faces 11015 and owner 10955 does not match


ERROR: In /build/buildd/paraview-4.0.1/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 754
vtkPVCompositeDataPipeline (0x23c57d0): Algorithm vtkPOpenFOAMReader(0x23ba2d0) returned failure for request: vtkInformation (0x2e3e940)
Debug: Off
Modified Time: 182665
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0"
////////////////////////////////////////////////////



Message Numbers of faces in faces 11015 and owner 10955 does not match suggest me that error can be somewhere in mesh (that's why I post here my thread).

Do you have any idea where is the problem? I appreciate of any help

Best Regards
Grzegorz
Attached Files
File Type: gz simpleEngineStem.tar.gz (10.5 KB, 1 views)
greg_karp is offline   Reply With Quote

Old   May 16, 2015, 02:08
Default
  #2
New Member
 
Grzegorz Karpiński
Join Date: Nov 2014
Location: Olsztyn, Poland
Posts: 6
Rep Power: 11
greg_karp is on a distinguished road
Obviously it is not mesh problem - I'm real newbie. Solution for other beginners:

foamToVTK
cd VTK
paraview


best regards
Grzegorz
greg_karp is offline   Reply With Quote

Old   October 16, 2015, 13:30
Default
  #3
Member
 
Join Date: Sep 2013
Posts: 46
Rep Power: 12
ma-tri-x is on a distinguished road
Quote:
Originally Posted by greg_karp View Post
Obviously it is not mesh problem - I'm real newbie. Solution for other beginners:

foamToVTK
cd VTK
paraview


best regards
Grzegorz
Hi Grzegorz,

did you find a solution?

Greetings,
Max
ma-tri-x is offline   Reply With Quote

Old   October 18, 2015, 03:43
Default
  #4
Member
 
Join Date: Sep 2013
Posts: 46
Rep Power: 12
ma-tri-x is on a distinguished road
Quote:
Originally Posted by greg_karp View Post
Hello All,
I'm not sure if "Mesh Utilities" is good section to post my thread:

- I'm using OF 1.6-ext and trying to run tutorial "SimpleEngineStem.tar.gz" from:
http://cfd-online.com/Forums/openfoa...changes-4.html

- I ran: 'sh ./Allrun' and after finish calculations 'paraFoam'
- after click on 'apply' in paraView window mesh displayed well.
- after click on "play button" (trying to move one or multiple steps) mesh disappeared and following message appeard:
p, li { white-space: pre-wrap; } FORWARD_DIRECTION: 0

On shell appeared following error message:

"grzegorz@grzegorz-Lenovo-G700:~/Pulpit/simpleEngineStem$ paraFoam
created temporary 'simpleEngineStem.foam'

Warning: In /build/buildd/paraview-4.0.1/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 4725
vtkOpenFOAMReaderPrivate (0x23cdcb0): Numbers of faces in faces 11015 and owner 10955 does not match


ERROR: In /build/buildd/paraview-4.0.1/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 754
vtkPVCompositeDataPipeline (0x23c57d0): Algorithm vtkPOpenFOAMReader(0x23ba2d0) returned failure for request: vtkInformation (0x2e3e940)
Debug: Off
Modified Time: 182665
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0"
////////////////////////////////////////////////////



Message Numbers of faces in faces 11015 and owner 10955 does not match suggest me that error can be somewhere in mesh (that's why I post here my thread).

Do you have any idea where is the problem? I appreciate of any help

Best Regards
Grzegorz
Hi Grzegorz,

Maybe this is interesting not only for you. I encountered the same problem that you've had. It strangely appeared when I re-ran an older case of mine with a new foam version. If this error appears, have a look, whether decomposePar created a directory
Code:
processor0/constant/polyMesh
if not, you should find the directory
Code:
processor0/0/polyMesh
however paraview does not make use of this folder obviously. So after decomposePar in your Allrun script add the following:
Code:
if [ ! -d processor0/constant/polyMesh ]
then
    mkdir -p processor0/constant
    for coreDir in processor* ; do 
      cp -r $coreDir/0/polyMesh $coreDir/constant
    done
fi
This solved the case for me.

Regards,
Max

edit:
this only works for some cases. I still have one case where the error occurs and I cannot view the mesh... please, if anyone finds a solution, please tell us.

edit2:
I posted a solution (work around) here:
http://www.cfd-online.com/Forums/ope...fext3-1-a.html

Last edited by ma-tri-x; November 4, 2015 at 09:24.
ma-tri-x is offline   Reply With Quote

Old   November 9, 2015, 09:58
Default
  #5
New Member
 
Grzegorz Karpiński
Join Date: Nov 2014
Location: Olsztyn, Poland
Posts: 6
Rep Power: 11
greg_karp is on a distinguished road
Below you can see solution for my problem:

foamToVTK
cd VTK
paraview


best regards
Grzegorz
greg_karp is offline   Reply With Quote

Old   November 10, 2015, 06:50
Default
  #6
Member
 
Join Date: Sep 2013
Posts: 46
Rep Power: 12
ma-tri-x is on a distinguished road
Quote:
foamToVTK
cd VTK
paraview
Hi Grzegorz!

I know that solution you've posted, but it didn't work for my case (you could just view the mesh but not the timesteps).

Thanks anyway!

Regards,
Max
ma-tri-x is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Paraview problem: loading the VTK cellSets changes the time anon_q ParaView 1 November 3, 2018 20:53
[General] Creating VTK image compatible to Paraview Visualizer het ParaView 0 January 7, 2016 08:20
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
[General] paraview ignores SPACING in STRUCTURED_POINTS vtk data? jaffar ParaView 0 November 27, 2012 09:36
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 11:54.