|
[Sponsors] |
[OpenFOAM] How to extract data from a single time step in paraview? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 22, 2021, 21:58 |
How to extract data from a single time step in paraview?
|
#1 |
Member
|
Hello dear CFD community.
I've done an OpenFOAM simulation. I've got a lot of time steps. I go to my case folder and type paraFoam. This command loads all the time steps into the Paraview and then opens a new Paraview window. Question: how do I load only one time step, not all of them? Thank you in advance. Ivan |
|
September 29, 2021, 13:45 |
|
#2 |
Member
|
If anybody is interested, we figured two options how to load only one time step.
I raised this question in the discussion under this post. The suggested solution is to copy your case folder keeping only one time step. Then just run paraFoam from within this copied folder and you get you results at one time step only. Another solution suggested in that post and repeated under my post on Research Gate, is to use foamToVTK -time $100 command where 100 is the desired time step (it can be any, e.g., 50 or any other time step you want). Still, I haven't figured how to use this command properly. Every time I use it, I get all the time steps loaded not just one. Just to clarify: I type foamToVTK -time $100 from within my case directory, then I type paraview & to launch a Paraview window. Then I go to the Paraview window and load my dummy .foam file. Then I would notice that all my time steps are loaded, not just the 100th step as I want. |
|
February 23, 2022, 04:51 |
|
#3 |
Senior Member
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10 |
Hello, here is how to load only the steps of your interest:
STEP 1: foamToVTK -time 100 (or whatever is the time step of your interest) STEP 2: open paraview STEP 3: in paraview click in open and choose: VTK/*_100.VTK Following these steps, you should have only the steps of your interest loaded. The mistake you made is you download .foam file instead of the generated .vtk file. |
|
Tags |
openfoam 1.7.x, paraview 4.2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" | bigphil | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 686 | December 22, 2022 10:10 |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 17, 2019 00:12 |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 03:05 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |