|
[Sponsors] |
October 13, 2021, 05:37 |
pvbatch all pvtu files at once
|
#1 |
New Member
NSW
Join Date: May 2020
Posts: 20
Rep Power: 7 |
Hi Hans,
I am trying to extract data from .pvtu using pvbatch and pvpython for large data sets from the simulations - instead of ParaView GUI. However, I am only able to use pvbatch for one .pvtu at a time using the following file specification: # create a new 'XML Partitioned Unstructured Grid Reader' rEEF3DCFD00 = XMLPartitionedUnstructuredGridReader(registrationN ame='REEF3D-CFD-00*', FileName=['/home/uqdliu17/Para_REEF3D_CFD_VTU/REEF3D-CFD-000001.pvtu' ]) rEEF3DCFD00.PointArrayStatus = ['velocity', 'pressure', 'eddyv', 'phi', 'topo', 'elevation'] However, I am not able to process all pvtu at once using the below: rEEF3DCFD00 = XMLPartitionedUnstructuredGridReader(registrationN ame='REEF3D-CFD-00*', FileName=['/home/uqdliu17/Para_REEF3D_CFD_VTU/REEF3D-CFD-00*.pvtu' ]) Do you know how to modify the FileName to be able to process all the pvtu in a folder? Many thanks! |
|
October 13, 2021, 10:54 |
|
#2 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19 |
Hm, not sure, I can help.
Other ideas: You could try the state files, they contain the raw data from the staggered mesh. Or, in case you need point or line data, you could use REEF3D point or line probes. Then you will get the data you need directly. |
|
October 13, 2021, 22:53 |
|
#3 |
New Member
NSW
Join Date: May 2020
Posts: 20
Rep Power: 7 |
Hi Hans,
I used the options below to output state files, but I still get the same outputs with VTU, no additional statefiles generated. Could you please suggest the correct specification to output state files? Thank you! P 10 0 P 30 0.01 P 40 2 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with reading RGP files into ANSYS Fluent | aprlina | FLUENT | 0 | January 21, 2021 18:51 |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 06:38 |
UDF help for Rapid compression machine ECM. | sanjeetlimbu | Fluent UDF and Scheme Programming | 0 | March 17, 2015 23:45 |
Writing Case and Data Files Using Journal/Scheme Files | svp | Fluent UDF and Scheme Programming | 0 | April 5, 2011 12:04 |
Problems with result files | Kasper | CFX | 5 | December 14, 2006 03:41 |