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

[OpenFOAM] Saving ParaView .foam post-processing

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2023, 01:43
Default Saving ParaView .foam post-processing
  #1
New Member
 
Sam Dougherty
Join Date: Jun 2022
Posts: 3
Rep Power: 3
scd62 is on a distinguished road
Hi all,
I'm new to OpenFOAM and I'm currently doing the 3-week tutorials, using a Ubuntu WSL2 connection through Visual Studio Code. I can run simulations just fine, but my problem is with post-processing, as my ParaView is downloaded on Windows. I can copy my OpenFOAM results files over to windows just fine and the create contours for my simulation, but when I save this Post file as a .hdf and then try open it again, my .foam files are not being plotted. Any idea why this is? Am I not saving the ParaView postprocessing file correctly?

(I can still see the .foam files on left tree when I reopen, but can't select properties or press apply to show geometry)
scd62 is offline   Reply With Quote

Old   October 26, 2023, 02:02
Default
  #2
New Member
 
Sam Dougherty
Join Date: Jun 2022
Posts: 3
Rep Power: 3
scd62 is on a distinguished road
I think I may have figured it out but would like it if someone could confirm I am doing this correctly. So it seems to work if I choose to Save State instead of clicking Save As. If this is the case, do I still need to Save As, or will choosing Save State save all geometry, property, and post-processing view information? Thanks in advance.
scd62 is offline   Reply With Quote

Old   October 26, 2023, 07:16
Default
  #3
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
Yes, typically you save a state file. It stores all filters in their current state and hard-codes the location for any file that you loaded in.
States have the advantage, that you can easily switch your post-processing to another source (another simulation case for example) by opening a fresh Paraview window and opening a saved state. Then there will be a dialog asking you where the data sources are coming from, giving you the opportunity to use the stored ones or replace them with new data that you specify the location for.
scd62 likes this.
AtoHM is offline   Reply With Quote

Reply

Tags
openfoam, paraview, post-processing, wsl2


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
Error Message while post processing using paraview kazzy OpenFOAM Post-Processing 2 September 5, 2023 02:35
post processing discrete phase with paraview mighelone FLUENT 3 March 9, 2021 04:34
[OpenFOAM] Paraview 3.12 memory allocation problem while saving animation jgomez ParaView 17 September 14, 2013 17:03
Automated post processing using CFD Post shreyasr ANSYS 0 January 28, 2013 06:21
[OpenFOAM] is parallel processing available in parafoam for post processing? sachinlb ParaView 1 August 14, 2012 09:52


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