|
[Sponsors] |
September 2, 2013, 02:37 |
Export to CSV using CreateWriter
|
#1 |
Senior Member
|
Hi,
I am trying to write a python script that export a patch values to a CSV file. Using the GUI, one would do the following: 1) Load the case (openFoam in my case); 2) Select the relevant item in the pipeline browser; 3) Select File > Save Data. The code that I entered in the python shell is as follows: Code:
w = CreateWriter("minX.csv") w.UpdatePipeline() del w I am using ParaView 3.98.1 32b on Windows. Julien
__________________
--- Julien de Charentenay |
|
September 2, 2013, 21:09 |
|
#2 |
Senior Member
|
I have bypassed my problem by using a Programmable Filter that output the data in a vtkTable.
The code stated above then correctly output the data from the vtkTable.
__________________
--- Julien de Charentenay |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 19:15 |
[foam-extend.org] foam-extend-4.0 gcc errors & maybe paraFoam | powerline332 | OpenFOAM Installation | 3 | May 24, 2018 21:16 |
A CFX-POST error (ver 14.5.7) | wangyflp88 | CFX | 2 | July 22, 2017 00:17 |
Unable to install OpenFOAM 1.6-ext | Maimouna | OpenFOAM Installation | 23 | May 8, 2014 05:47 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |