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

[OpenFOAM] Structure does not match. You must use CopyStructure before calling this method.

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By chegdan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2014, 01:01
Default Structure does not match. You must use CopyStructure before calling this method.
  #1
Member
 
Christian Butcher
Join Date: Jul 2013
Location: Japan
Posts: 85
Rep Power: 12
chrisb2244 is on a distinguished road
When opening an OpenFOAM case in ParaView (4.2.0, from git) in parallel (using multiple cores on my local computer via 'mpirun -np 8 pvserver --use-offscreen-rendering') I receive the error in the question title, more fully:

ERROR: In /home/christian/Applications/source/git-sources/ParaView/VTK/Common/DataModel/vtkDataObjectTree.cxx, line 377
vtkMultiBlockDataSet (0x3321a30): Structure does not match. You must use CopyStructure before calling this method.

This error appears repeatedly in the console and ParaView's 'Output Messages' window. The directory given is that of the sources, and not the installation directory (which is /home/christian/Applications/{bin,lib,...} )

The error does not occur if the case is opened on one core.

My ParaView installation no longer has a `use multiple cores` option - previous versions did? However it does have a `Auto-MPI` option, which although enabled (and following restarts of PV, as instructed by a prompt in the Edit->Settings window) this doesn't appear to trigger. (Perhaps I configured it badly?)

The same error is mentioned in this post (http://www.cfd-online.com/Forums/ope...te-errors.html) for PV-4.0.0, and no mention of parallel processing is given there. It is unclear which reader is used (built-in, or plugin). The solution given is regarding the `dimensions` field for the fields in the 0 directory. All of the dimensions fields in my case have 7 digits.

There is an open bug report (http://vtk.org/Bug/print_bug_page.php?bug_id=14473) for both VTK and ParaView regarding what might be the same issue, although the linked report makes no mention of parallel running.

Does anyone know where (or how many times) I've messed up here?
The VTK was installed as a part of ParaView. I also receive an error on startup regarding 'top level window's, from Qt, but I imagine this is unrelated - certainly, it makies no obvious changes or flaws appear.
chrisb2244 is offline   Reply With Quote

Old   November 20, 2015, 09:29
Default Error
  #2
New Member
 
Join Date: Nov 2015
Posts: 1
Rep Power: 0
caljones is on a distinguished road
I am in a similar situation. Im dealing with a large dataset, so i enabled the multi core option.

When trying to open to (Helyx) OpenFoam case, the same error message appears for me.

Again, I can open the file (albeit slowly) in serial.

Has anyone got some information on this error?
caljones is offline   Reply With Quote

Old   November 26, 2015, 07:43
Default
  #3
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
This error is seen when you have auto MPI enabled in ParaView and the auto MPI limit is larger than the number of domains you have decomposed. For example, if your auto MPI limit is 10 and you are looking at a reconstructed case or a decomposed case of less than 10 sub-domains, you will see this error.
David*, blttkgl, kostnermo and 3 others like this.
chegdan is offline   Reply With Quote

Old   January 27, 2023, 05:44
Default
  #4
Senior Member
 
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7
lukasf is on a distinguished road
Hi,


I notice that when I use ParaView with 1 core that there is no issue.


Using e.g. 10 cores and ParaView in parallel I am not able to apply the extractBlock command "Structure does not Match. You must use CopyStructure before calling this method". There is not CopyStructure filter.



What would be the solution to this problem?





Quote:
Originally Posted by chegdan View Post
This error is seen when you have auto MPI enabled in ParaView and the auto MPI limit is larger than the number of domains you have decomposed. For example, if your auto MPI limit is 10 and you are looking at a reconstructed case or a decomposed case of less than 10 sub-domains, you will see this error.
lukasf is offline   Reply With Quote

Old   March 30, 2023, 10:59
Default
  #5
Senior Member
 
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7
lukasf is on a distinguished road
I "solved" it by postprocessing in serial mode...



Quote:
Originally Posted by lukasf View Post
Hi,


I notice that when I use ParaView with 1 core that there is no issue.


Using e.g. 10 cores and ParaView in parallel I am not able to apply the extractBlock command "Structure does not Match. You must use CopyStructure before calling this method". There is not CopyStructure filter.



What would be the solution to this problem?
lukasf is offline   Reply With Quote

Reply

Tags
openfoam 2.3.x, paraview


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
[ANSYS Meshing] How to match mesh elements in fluid structure interface faraday34 ANSYS Meshing & Geometry 0 June 18, 2013 17:24
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
New ANSYS forum structure, what do you think? Peter FLUENT 10 February 6, 2009 04:07
New ANSYS forum structure, what do you think? Peter CFX 5 February 4, 2009 11:59
Data Structure for the unstructured finite volume method Anthony Main CFD Forum 4 February 2, 1999 19:24


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