|
[Sponsors] |
[OpenFOAM] Saving ParaView .foam post-processing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 26, 2023, 02:43 |
Saving ParaView .foam post-processing
|
#1 |
New Member
Sam Dougherty
Join Date: Jun 2022
Posts: 3
Rep Power: 4 |
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) |
|
October 26, 2023, 03:02 |
|
#2 |
New Member
Sam Dougherty
Join Date: Jun 2022
Posts: 3
Rep Power: 4 |
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.
|
|
October 26, 2023, 08:16 |
|
#3 |
Senior Member
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13 |
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. |
|
Tags |
openfoam, paraview, post-processing, wsl2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error Message while post processing using paraview | kazzy | OpenFOAM Post-Processing | 2 | September 5, 2023 03:35 |
post processing discrete phase with paraview | mighelone | FLUENT | 3 | March 9, 2021 05:34 |
[OpenFOAM] Paraview 3.12 memory allocation problem while saving animation | jgomez | ParaView | 17 | September 14, 2013 18:03 |
Automated post processing using CFD Post | shreyasr | ANSYS | 0 | January 28, 2013 07:21 |
[OpenFOAM] is parallel processing available in parafoam for post processing? | sachinlb | ParaView | 1 | August 14, 2012 10:52 |