|
[Sponsors] |
[OpenFOAM] loop through vtk-files (different time step samples) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 9, 2013, 09:20 |
loop through vtk-files (different time step samples)
|
#1 |
New Member
Martin Söder
Join Date: Jun 2011
Posts: 8
Rep Power: 14 |
Hi,
I use sample (both run-tima and as post) to create vtk files. Which creates files in the following structure surface/time/U_surfName.vtk where time = 0, 0.1, 0.2, .... Now I which to loop through these time steps what I have found is that im supposed to execute pvbatch test.py where test.py is a python script. Please help me with this script =) If possible I would like to "annote time". If I need to sample in different format sp be it Best regards Martin |
|
December 12, 2013, 21:05 |
|
#2 |
Member
|
Soder,
This post from Bruno should help you get started: http://www.cfd-online.com/Forums/par...tml#post460276 I would like to do something similar. I'll try to remember to share my code when I get to it. Good luck! -Nuc |
|
December 28, 2013, 13:34 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
If either one of you already has something written in Python, but it doesn't work yet, please share the code, so that I can have a look into it. I ask this simply because I don't feel like having to do everything myself And if by any chance you've already solved the problem, feel free to share it Best regards, Bruno |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 04:13 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 10:08 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 07:47 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |