|
[Sponsors] |
![]() |
![]() |
#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! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 396
Rep Power: 18 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with reading RGP files into ANSYS Fluent | aprlina | FLUENT | 0 | January 21, 2021 17:51 |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 05:38 |
UDF help for Rapid compression machine ECM. | sanjeetlimbu | Fluent UDF and Scheme Programming | 0 | March 17, 2015 22:45 |
Writing Case and Data Files Using Journal/Scheme Files | svp | Fluent UDF and Scheme Programming | 0 | April 5, 2011 11:04 |
Problems with result files | Kasper | CFX | 5 | December 14, 2006 02:41 |