|
[Sponsors] |
Extracting surfaces in Paraview to post-process |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2020, 05:09 |
Extracting surfaces in Paraview to post-process
|
#1 |
New Member
Join Date: Mar 2018
Posts: 5
Rep Power: 8 |
Hello Everyone,
I am reading flow.vtk file in paraview. In the mesh file(cgns format) I have given Markers (wall, fairfield etc.) to different surfaces. And I would like to use them for post-processing. But unfortunately, in the Volume (.vtk) file. They are not explicitly mentioned when opened in Paraview. Could you help me, is there any way I can extract surfaces to be used for specific post-processing. or is there any way i can import them along with .vtk file. I tried taking those surfaces in surface.vtk but all the surfaces are connected to each other and i cant isolate a single surface to post-process I have attached an Image, which could explain problem better. |
|
September 7, 2020, 06:54 |
|
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
Try the PARAVIEW_MULTIBLOCK output format (i.e. add that to the list of OUTPUT_FILES).
|
|
September 7, 2020, 09:25 |
|
#3 |
New Member
Omkar Mirji
Join Date: Sep 2020
Posts: 3
Rep Power: 6 |
Hi Pedro.
Thanks a lot for suggestion. I included PARAVIEW_MULTIBLOCK in output file. It has created a .vtm file and different .vtu files with marker names. When i tried opening files in paraview. It is giving following error message. ERROR: C:\bbd\8fbebceb\build\superbuild\paraview\src\VTK\ IO\XML\vtkXMLUnstructuredDataReader.cxx, line 681 vtkXMLUnstructuredGridReader (000002279FEB5CB0): Cannot read cell connectivity from Cells in piece 0 because the "offsets" array is not monotonically increasing or starts with a value other than 0. Could you please let me know, is there any other way to read files. (NOTE: I use PARAVIEW_ASCII to generate flow.vtk, I tried PARAVIEW_MULTIBLOCK_ASCII but it didnt work) |
|
September 7, 2020, 16:28 |
|
#4 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
Ah, if you are on Windows there is an issue with the paraview binary outputs (Problem opening vtu-file in Paraview)
I think we fixed it for the next release (I don't have a Windows machine to be completely sure) you can try using the nightly build binaries https://github.com/su2code/SU2/actions/runs/203927718 until then. |
|
September 8, 2020, 03:45 |
|
#5 |
New Member
Omkar Mirji
Join Date: Sep 2020
Posts: 3
Rep Power: 6 |
Hi Pedro,
Yes. I am using windows machine. Pardon me, I am new to SU2 and github repository. In the link that you have provided, there is no download option. Could you please guide me from where to download code and run it. I have tried running on v7.0.4 but still, Paraview is not able to read vtu files. Advanced Thanks for help |
|
September 8, 2020, 05:09 |
|
#6 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
My bad, I only see the download options when I log in to github, I don't know if that is enough or if being a member of SU2 is also required.
If 7.0.4 does not work maybe there are other issues, can you post the config of your case? |
|
September 8, 2020, 05:34 |
|
#7 |
New Member
Omkar Mirji
Join Date: Sep 2020
Posts: 3
Rep Power: 6 |
I was able to download the file after I logged in. Thanks for that.
I ran the config file with nightly version. It generated .vtu file. But again Paraview reads the same error. I am attaching .config file for your reference. |
|
September 9, 2020, 16:59 |
|
#8 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
Ok I'll try to find a Windows machine to test this (we had one report that the problem was solved but maybe not entirely...).
Meanwhile here are your options: - Use the slice function in Paraview to separate the surfaces. - Run SU2_SOL multiple times, with different surface names in MARKER_PLOTTING to separate the surfaces. |
|
September 10, 2020, 14:12 |
|
#9 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
I got my hands on a friend's PC with Windows and I tried dowloading the binaries (no MPI) I mentioned, running the Quickstart case, and opening the vtu file in Paraview 5.8.1 (no MPI).
Everything worked, and the Multiblock file also worked... Is there a chance you ran a different SU2 binary? |
|
March 16, 2021, 13:16 |
|
#10 |
New Member
Brandon Gleeson
Join Date: Apr 2018
Posts: 26
Rep Power: 8 |
Is anyone aware of other considerations needed to enable PARAVIEW_MULTIBLOCK to function?
I run into this error when adding it to my OUTPUT_FILES list: Error in "void CConfig::SetConfig_Parsing(char*)":I'm Running: v7.0.0 Blackbird on Ubuntu 18.04, build from source Have tried: original .cgns grid, also tried it converted to .su2. It is a single-zone problem, but had tried various settings for MULTIZONE_MESH = YES/NO with NZONES=1 Thanks, Brandon |
|
March 16, 2021, 18:59 |
|
#11 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 |
We are up to version 7.1.1...
|
|
March 18, 2021, 11:26 |
|
#12 |
New Member
Brandon Gleeson
Join Date: Apr 2018
Posts: 26
Rep Power: 8 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem regarding producing streamlines from surfaces in Ansys CFD post | gauthamnarayan | Visualization & Post-Processing | 0 | April 23, 2015 17:07 |
CFX Post _ extracting a volume region | majal | CFX | 0 | April 7, 2015 03:39 |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 08:11 |
cfx post process help | musman | CFX | 3 | May 19, 2009 06:01 |
post process to get an arbitrary face data | oniboy | Siemens | 2 | February 28, 2008 23:12 |