CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Storage format and visualization for 2D carthesian grid in C++

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2022, 16:20
Default Storage format and visualization for 2D carthesian grid in C++
  #1
Member
 
Anders Aamodt Resell
Join Date: Dec 2021
Location: Oslo, Norway
Posts: 66
Rep Power: 4
ander is on a distinguished road
Hi

I'm implementing a 2D cartesian Euler solver in C++. I have gotten to the point where I have to decide on how I am going to store and plot the data. My plan at this point is to run the simulation in C++, store it in some text format and then plot it with python's matlplotlib. Is there some standardized storage format that I should use? Or is it "acceptable" to just make up something that works? CGNS is a standard that I've heard about, but not sure if it would be unnecessary to figure this one out for my simple grid.

Thanks!
ander is offline   Reply With Quote

Old   January 5, 2022, 17:37
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,190
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Take the chance to learn to write the output for an actual postprocessor. I suggest vtk or whatever paraview reads (say, ensight)
ander likes this.
sbaffini 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] Visualization of parallel case with collated format AqeelAhmed168 ParaView 10 September 8, 2020 14:21
Cut Cell Method nkalkote Main CFD Forum 4 August 26, 2017 08:20
OpenFOAM native format data visualization and workflow zeliboba OpenFOAM Post-Processing 0 September 12, 2008 09:44
[General] PARAVIEW Grid visualization simone Marras ParaView 2 January 23, 2007 09:05


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