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

[General] Importing CGNS file to python and extracting data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2024, 20:20
Default Importing CGNS file to python and extracting data
  #1
New Member
 
Nafiz Ahmed Khan
Join Date: Nov 2023
Location: Canada
Posts: 18
Rep Power: 2
Nafiz375 is on a distinguished road
Question:1
I've got a CGNS file that is extracted from Paraview. Now, I want to extract some data from that CGNS file. How can I import that in Python so that I can extract some data. ?
I tried to import the CGNS file into Python, but I couldn't succeed. I intend to import in python and extract data from that. But showing that error.
1.PNG

Question:2
Basically, my CGNS file comes from this particular image. Is it possible to extract data specially all the velocity in both x and y directions can be extracted as shown in the below figure??
And if not, after importing the CGNS file into Python, how can I extract data only from the marked zone in the image?

vel_mag.jpg

Your response in this regard is highly appreciated. Thanks in advance.

Regards, Nafiz
Nafiz375 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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
Extracting boundaries of solid objects while exporting planar data in StarCCM srijit STAR-CCM+ 1 November 30, 2021 03:30
[OpenFOAM] Python to show row data in spreadsheet view JensD ParaView 0 August 18, 2016 03:40
Extracting parameters to the python wrapper Arad SU2 0 August 9, 2016 06:41
[Other] Extracting Element Connectivity Data bushcs OpenFOAM Meshing & Mesh Conversion 0 July 1, 2014 16:04


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