|
[Sponsors] |
March 3, 2016, 10:53 |
Batch: Exchange Ensight data
|
#1 |
Member
Martin
Join Date: Nov 2011
Posts: 35
Rep Power: 14 |
Hey Guys,
I am having trouble with exchanging Ensight data in batch mode with this macro: Code:
#### import the simple module from the paraview from paraview.simple import * import os case = "Case_1" rpm = 5500 start = 270 print "Case: " + case ### load template servermanager.LoadState("LayOut_cell_check.pvsm") ### change source eNSICASE = FindSource('ENSI.CASE') SetActiveSource(eNSICASE) eNSICASE.CaseFileName = '/.../' + case + '/ENSIGHT/ENSI.CASE' # update animation scene based on data timesteps animationScene = GetAnimationScene() animationScene.UpdateAnimationUsingDataTimeSteps() #animationScene.GoToFirst() PlayMode = "Snap To TimeSteps" for t in range(272, 400, 2): print 'CA: ' + str(t) animationScene.GoToNext() Code:
ERROR: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x5156bf0): Algorithm vtkEnSightGoldBinaryReader(0x5155310) returned failure for request: vtkInformation (0x77f7370) Debug: Off Modified Time: 3200325 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA FORWARD_DIRECTION: 0 FROM_OUTPUT_PORT: 0 ALGORITHM_AFTER_FORWARD: 1 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 20:06 |
studying a valve case | mina.basta | OpenFOAM | 33 | August 30, 2013 04:46 |
Discrepancy ensight slice and full data for parallel decomposed case | Japsor | OpenFOAM Bugs | 0 | August 27, 2013 04:47 |
Ensight data format | Tim | EnSight | 2 | December 19, 2012 13:30 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |