Hello,
I'm working with a dataset in tecplot format. Each processor generates a
separate file for its own part of the domain. I read all of them in, merge
the datasets using the group datasets filter and then visualize them (make
contours etc.).
nProcs = len(glob.glob('scalar-*dat'))
allOutData = []
for i in range(1,nProcs+1):
# create a new 'Tecplot Reader'
allOutData.append(TecplotReader(FileNames=['out-{}-{:05d}.dat'.format(sys.argv[1],i)]))
allOutData[-1].DataArrayStatus = ['u', 'v', 'w', 'P', 'phi', 'node']
# # create a new 'Group Datasets'
groupDatasets1 = GroupDatasets(Input=allOutData)
How can I speed this up? The reading of the data seems to be the most time
consuming part. So running paraview in parallel is not really helping as
now each processor has to read all the files as opposed to just one
processor eariler.
ganesh
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview