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

Postprocessing the simulation output VTU file with Python

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2022, 12:59
Default Postprocessing the simulation output VTU file with Python
  #1
New Member
 
J Powell
Join Date: Feb 2022
Posts: 12
Rep Power: 2
miraboreasu is on a distinguished road
Hello, I want to explore more in my VTU file (attached) besides using Paraview, I try to write a Python script (attached) to read my VTU file, like store all the results to lists, so I can do some analysis.

I have tried both two packages from this link,

https://stackoverflow.com/questions/...w-vtk-vtu-file

and they don’t work for me. Anyone can please provide a good package?

VTU looks like (too big to upload)

<?xml version='1.0'?>
<VTKFile type='UnstructuredGrid' version='0.1' byte_order='LittleEndian' compressor='vtkZLibDataCompressor'>
<UnstructuredGrid>
<Piece NumberOfPoints='1368' NumberOfCells='342'>
<PointData>
</PointData>
<CellData Scalars='area failure mode length opening 0 opening 1 opening 2 property id slip 0 slip 1 slip 2 '>
<DataArray Name='area' type='Float64' NumberOfComponents='1' format='appended' offset='0'></DataArray>
<DataArray Name='failure mode' type='Float32' NumberOfComponents='1' format='appended' offset='200'></DataArray>
<DataArray Name='length' type='Float64' NumberOfComponents='1' format='appended' offset='256'></DataArray>
<DataArray Name='opening 0' type='Float64' NumberOfComponents='1' format='appended' offset='448'></DataArray>
<DataArray Name='opening 1' type='Float64' NumberOfComponents='1' format='appended' offset='636'></DataArray>
<DataArray Name='opening 2' type='Float64' NumberOfComponents='1' format='appended' offset='824'></DataArray>
<DataArray Name='property id' type='Int32' NumberOfComponents='1' format='appended' offset='1020'></DataArray>
<DataArray Name='slip 0' type='Float64' NumberOfComponents='1' format='appended' offset='1076'></DataArray>
<DataArray Name='slip 1' type='Float64' NumberOfComponents='1' format='appended' offset='1272'></DataArray>
<DataArray Name='slip 2' type='Float64' NumberOfComponents='1' format='appended' offset='1468'></DataArray>
</CellData>
<Points>
<DataArray type='Float64' NumberOfComponents='3' format='appended' offset='1660'></DataArray>
</Points>
<Cells>
<DataArray Name='connectivity' type='Int32' NumberOfComponents='1' format='appended' offset='10776'></DataArray>
<DataArray Name='offsets' type='Int32' NumberOfComponents='1' format='appended' offset='13384'></DataArray>
<DataArray Name='types' type='UInt8' NumberOfComponents='1' format='appended' offset='14032'></DataArray>
</Cells>
</Piece>
</UnstructuredGrid>
<AppendedData encoding='base64'>
_AQAAALAKAACwCgAAhAAAAA==eNpr8DcqZXpZZtcApW95CHzSO 8FlD6NVuL8oGBfdsIPRwXbbjZ+ZCdjD6Mib3D+dtU7awWiHG9P jF+afg9OdutumeNeK2MPoR+1xk/d7ssBpbq6sCHHfx3Yw+sreC8IxLY/g9C/jUsu5/tfhNMMoGAWjYBSMglEwCkbBKBhRAACS00s5AQAAAFgFAABYBQA AFwAAAA==eNpjYGiwZ6AJHgWjYBSMgpEJAOkSEGs=AQAAALAKA ACwCgAAfAAAAA==eNp7ZJNWoPOyzP4RlF4jdGuP0eRGOB0lErJ E7Eg5nF7JmB5hiURLHzLa7/20Ak7nnJfpu97XAqfLFVXVHno2wukTTHbueyZVw+ndLvulrYHm wGilNVYy/Mo1cNqXN/him1k1nGYYBaNgFIyCUTAKRsEoGAUjCgAAE19IRQ==AQAAALAK AACwCgAAeQAAAA==eNprjTjM5qv1x64VSquteWx552KtPYxmQA NWsjnBVdbN9jB620H/d2Ln7eF06YH9patfF8PptCvbnJ9kdMLp71dywpkTy+F0gpclV7 RnFJzOS30z0etRCJzWuVobZ7nNC04zjIJRMApGwSgYBaNgFIyC EQUAe7BI/w==AQAAALAKAACwCgAAegAAAA==eNpT2OnKWrLynJ0ClN6wMHC SQ1WxPYwumiNx1VQyC07/ux/44/mHPjjNJaZg/L3AAU4zoIENXm2F84Vr7WH0hNINm/W2lcNp2SrvqdobIuG0zPRzV7KtQ+H0zJiubbUyPnCaYRSMglEw CkbBKBgFo2AUjCgAAAGTRmk=AQAAALAKAACwCgAAfwAAAA==eN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jf4AxKIwAQhKMEITghCEorQhCEs4QhPBCISichEISrRiE4MYhK L2MQhLvGITwISkojEJCEpyUhOClKSitSkIS3pSE8GMpKJzGQhK 9nITg5ykovc5CEv+chPAQpSiMIUoSjFKE4JSlKK0pShLOUoTwU qUonKVKEq1ahODWpSi9rUoS71qE8DGtKIxjShKc1oTgta0orWt KEt7WhPBzrSic50oSvd6E4PetKL3vShL/3ozwAGMojBDGEowxjOCEYyitGMYSzjGM8EJjKJyUxhKtOYzgxm Mot/+JfZzGEu85jPAhayiMUsYSnLWM4KVrKK1axhLetYzwY2sonNbG Er29jODnayi93sYS/72M8BDnKIwxzhKMc4zglOcorTnOEs5zjPBS5yictc4SrXuM4Nb nKL29zhLve4zwMe8ojHPOEpz3jOC17yite84S3veM8HPvKJz3z hK9/4zg9+8ovf/OHvf8++gAQiMEEISjCCE4KQhCI0YQhLOMITgYhEIjJRiEo0ohO DmMQiNnGISzzik4CEJCIxSUhKMpKTgpSkIjVpSEs60pOBjGQiM 1nISjayk4Oc5CI3echLPvJTgIIUojBFKEoxilOCkpSiNGUoSzn KU4GKVKIyVahKNarzP3UXmEs=AQAAAFgFAABYBQAA1AEAAA==e NoNz5GyKgoAQNHefefOBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEE QBEEQBEEQBEEQBEEQBEEQBEEQBEFwIAjumtnrA/ZPIBAIEiJMhCgx4iRIkiJNhiw58hQoUqJMhSo16jRo0qJNhy49 +gwYMmLMhCkz5ixYsmLNhi079hw4cuLMhSs37jx48uLNLx++BP 4LBH4IEiJMhCgx4iRIkiJNhiw58hQoUqJMhSo16jRo0qJNhy49 +gwYMmLMhCkz5ixYsmLNhi079hw4cuLMhSs37jx48uLNLx++BP 74J0iIMBGixIiTIEmKNBmy5MhToEiJMhWq1KjToEmLNh269Ogz YMiIMROmzJizYMmKNRu27Nhz4MiJMxeu3Ljz4MmLN798+BL43z 9BQoSJECVGnARJUqTJkCVHngJFSpSpUKVGnQZNWrTp0KVHnwFD RoyZMGXGnAVLVqzZsGXHngNHTpy5cOXGnQdPXrz55cOXwI8IEi JMhCgx4iRIkiJNhiw58hQoUqJMhSo16jRo0qJNhy49+gwYMmLM hCkz5ixYsmLNhi079hw4cuLMhSs37jx48uLNLx++BP76J0iIMB GixIiTIEmKNBmy5MhToEiJMhWq/ANGp6RoAQAAAFYBAABWAQAADQAAAA==eNrj4BgF1AcAKqcKsQ= =
</AppendedData>
</VTKFile>

Last edited by miraboreasu; February 12, 2022 at 13:00. Reason: python
miraboreasu is offline   Reply With Quote

Old   February 22, 2022, 06:36
Default
  #2
Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 87
Rep Power: 3
joshwilliams is on a distinguished road
I have found this package named Vedo to be very good for VTK operations -- not sure how it works for VTU, but worth trying.
joshwilliams is offline   Reply With Quote

Old   June 24, 2022, 18:18
Default
  #3
New Member
 
Join Date: Jun 2022
Posts: 1
Rep Power: 0
foo_bar is on a distinguished road
You can also checkout VTUinterface for I/O. It uses the standard VTK wrapper for Python, but is simpler to use and also has some added functionalities.
foo_bar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


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