Re: [Paraview] Importing paraview.simple from python

2016-08-09 Thread Mohammad Mirzadeh
d give you some hints. > > Utkarsh > > On Tue, Aug 9, 2016 at 12:10 PM, Mohammad Mirzadeh > wrote: > > Along the same lines, is this possible with prebuilt binaries on OS X? I > > have tried including > > > > export PYTHONPATH="$PYTHONPATH:/Applications/para

Re: [Paraview] Importing paraview.simple from python

2016-08-09 Thread Mohammad Mirzadeh
Along the same lines, is this possible with prebuilt binaries on OS X? I have tried including export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python" export PYTHONPATH="$PYTHONPATH:/Applications/paraview.app/Contents/Python/vtk" export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Appl

Re: [Paraview] pvtu loading error with PV 5

2016-02-02 Thread Mohammad Mirzadeh
quot;**&" ... *or simply dont use '&' ... Also the same problem exists in 4.4. I was opening another file by mistake. Mohammad On Tue, Feb 2, 2016 at 10:36 PM, Mohammad Mirzadeh wrote: > Hi, > > I have a pvtu file that I can open in 4.4 but not the latest release, i.e. &g

[Paraview] pvtu loading error with PV 5

2016-02-02 Thread Mohammad Mirzadeh
Hi, I have a pvtu file that I can open in 4.4 but not the latest release, i.e. 5. Here's the error I get from PV: ERROR: In /Users/kitware/buildbot-slave/paraview-bigmac-osx-shared-release_opengl2_osx10_7_qt4_superbuild/source-paraview/VTK/IO/XMLParser/vtkXMLParser.cxx, line 397 vtkXMLDataParser

Re: [Paraview] Need advice with parallel file format

2014-05-05 Thread Mohammad Mirzadeh
gt; On 05/05/2014 02:41 PM, Mohammad Mirzadeh wrote: > > Thanks for the reference. What exactly is the benefit of having the data > in appended mode? I guess right now I'm using binary mode > > > On Mon, May 5, 2014 at 11:46 AM, Burlen Loring wrote: > >> Ahh, rig

Re: [Paraview] [EXTERNAL] Re: Need advice with parallel file format

2014-05-05 Thread Mohammad Mirzadeh
On Mon, May 5, 2014 at 11:53 AM, David E DeMarle wrote: > > On Mon, May 5, 2014 at 2:41 PM, Mohammad Mirzadeh wrote: > >> >>> It is more likely the case that a serial reader will be read by everyone >>> and then ParaView will strip out everything but

Re: [Paraview] Need advice with parallel file format

2014-05-05 Thread Mohammad Mirzadeh
phere source(or if you prefer some unstructured data), under > file menu save the data and chose one of the pvt* options Compare the files > produced for binary and appended modes etc... > > > On 05/05/2014 11:34 AM, Mohammad Mirzadeh wrote: > > Burlen, > > Thanks a lot

Re: [Paraview] Need advice with parallel file format

2014-05-05 Thread Mohammad Mirzadeh
serious performance issues as a result. So my comment here is that if you > go with HDF5, keep the format as simple as possible! and of course file > sizes small enough to be archived ;-) > > Burlen > > > > On 05/05/2014 10:48 AM, Mohammad Mirzadeh wrote: > > They are rep

Re: [Paraview] [EXTERNAL] Re: Need advice with parallel file format

2014-05-05 Thread Mohammad Mirzadeh
> R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > > On Mon, May 5, 2014 at 1:50 PM, Mohammad Mirzadeh wrote: > >> Well the issue with HDF5 as a vis format is paraview does not seem to be >> able to load it in parallel

Re: [Paraview] [EXTERNAL] Re: Need advice with parallel file format

2014-05-05 Thread Mohammad Mirzadeh
much faster than the VTK formats. > > > -Ken > > Sent from my iPad so blame autocorrect. > > On May 2, 2014, at 10:35 PM, "Mohammad Mirzadeh" > wrote: > > I don't have any specific plan for that but the rationale for using > HDF5 for resta

Re: [Paraview] Need advice with parallel file format

2014-05-05 Thread Mohammad Mirzadeh
problems as well On Sat, May 3, 2014 at 1:28 AM, Stephen Wornom wrote: > Mohammad Mirzadeh wrote: > >> Hi I am at a critical point in deciding I/O format for my application. So >> far my conclusion is to use parallel HDF5 for restart files as they are >> quite flexible and

Re: [Paraview] Need advice with parallel file format

2014-05-02 Thread Mohammad Mirzadeh
you output for Vis. Presumably > you got that working pretty well (or are committed to getting it to work > well). Why not write the Vis output similarly? > > -Ken > > Sent from my iPad so blame autocorrect. > > > On May 2, 2014, at 6:50 PM, "Mohammad Mirzadeh"

[Paraview] Need advice with parallel file format

2014-05-02 Thread Mohammad Mirzadeh
Hi I am at a critical point in deciding I/O format for my application. So far my conclusion is to use parallel HDF5 for restart files as they are quite flexible and portable across systems. When it comes to visualization, however, i'm not quite sure. Up until now I've been using pvtu along with vt

[Paraview] What's the correct way of releasing memory in ParaView?

2014-04-16 Thread Mohammad Mirzadeh
Say I have a source in the pipeline. Is issuing: Delete(source) del source supposed to completely remove the object from the pipeline, thus freeing the memory? This does not seem to do the job for me. ___ Powered by www.kitware.com Visit other Kitware

Re: [Paraview] loading vtu files crashes paraview in parallel

2014-04-16 Thread Mohammad Mirzadeh
he files > with correct index. Note the file paths are relative to the vtm file. > + Now open this and contour it. In parallel, ParaView will read each > vtu file separately on each of the processes. > > Utkarsh > > On Wed, Apr 16, 2014 at 1:00 PM, Mohammad Mirzadeh > wrote

Re: [Paraview] loading vtu files crashes paraview in parallel

2014-04-15 Thread Mohammad Mirzadeh
just asking this question in a different way. What happens if I load a vtu file in parallel? Can paraview handle that automatically (i.e. partitioning it and sending it to different processors) or is every processor going to load the same exact file? On Thu, Apr 10, 2014 at 6:10 PM, Mohammad

[Paraview] loading vtu files crashes paraview in parallel

2014-04-10 Thread Mohammad Mirzadeh
Hi, I have a modest size problem, 100M unstructured, and I can easily load into paraview with 64 processors / 128G ram when I load the pvtu file. I can also work on the file, meaning creating contours, etc. However, when I load all vtu files separately and create contours on each file separately

Re: [Paraview] Load png files onto a plane

2014-04-09 Thread Mohammad Mirzadeh
gt; the Transform filter. > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > > On Wed, Apr 2, 2014 at 10:01 PM, Mohammad Mirzadeh wrote: > >> Hi guys, >> >> I'd

[Paraview] slice wireframe representation with opacity

2014-04-03 Thread Mohammad Mirzadeh
Hi, When I represent my slices as wireframe and add opacity, paraview triangulates the grid even though 'Triangulatetheslice' is set to zero. This happens with pv 3.98. Is this a known bug? ___ Powered by www.kitware.com Visit other Kitware open-source

[Paraview] Load png files onto a plane

2014-04-02 Thread Mohammad Mirzadeh
Hi guys, I'd like to add some pngs to an animation I'm making but this requires to import pngs onto a plane other than the default 'z-plane' that paraview uses. Is this possible? Thanks ___ Powered by www.kitware.com Visit other Kitware open-source pro

[Paraview] Get coordinates of a streamtrace

2014-03-25 Thread Mohammad Mirzadeh
Hi guys, Given a streamtrace object, how can I access its xyz coordinates in python? I was able to get access to all the points arrays defined on it but no luck with the xyz coordinates. Thanks ___ Powered by www.kitware.com Visit other Kitware open-so

[Paraview] Face data

2012-10-08 Thread Mohammad Mirzadeh
Hi, Is there any native support for face data on unstructured grid in Paraview? XDMF seems to have proper tags that I'd like to use but I can't at the moment. Thanks ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www

Re: [Paraview] [EXTERNAL] Warp by scalar for CELL_DATA

2012-07-17 Thread Mohammad Mirzadeh
ink filter with a shrink factor of 0.9 to get > >> disconnected nodes. the you can apply the warp filter. > >> > >> Felipe > >> > >> Le 17/07/2012 03:09, Mohammad Mirzadeh a ?crit : > >> > >> Yeah I did that. Problem is, cell_data variables are d

Re: [Paraview] [EXTERNAL] Warp by scalar for CELL_DATA

2012-07-17 Thread Mohammad Mirzadeh
use the shrink filter with a shrink factor of 0.9 to get > disconnected nodes. the you can apply the warp filter. > > Felipe > > Le 17/07/2012 03:09, Mohammad Mirzadeh a écrit : > > Yeah I did that. Problem is, cell_data variables are discontinuous at some > points an

Re: [Paraview] [EXTERNAL] Warp by scalar for CELL_DATA

2012-07-16 Thread Mohammad Mirzadeh
filter? > > ** ** > > Alan > > ** ** > > *From:* paraview-boun...@paraview.org [mailto: > paraview-boun...@paraview.org] *On Behalf Of *Mohammad Mirzadeh > *Sent:* Monday, July 16, 2012 6:52 PM > *To:* paraview@paraview.org > *Subject:* [EXTERNAL] [Paraview] Warp by

[Paraview] Warp by scalar for CELL_DATA

2012-07-16 Thread Mohammad Mirzadeh
Is there a filter similar to warp by scalar but for CELL_DATA variables? ___ 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 W

Re: [Paraview] animation series with xdmf format

2012-06-08 Thread Mohammad Mirzadeh
Another question: Can I have a single .pvd file that points to a bunch of xdmf files internally? On Fri, Jun 8, 2012 at 1:32 PM, Mohammad Mirzadeh wrote: > Ok thanks Utkarsh > > > On Fri, Jun 8, 2012 at 7:01 AM, Utkarsh Ayachit < > utkarsh.ayac...@kitware.com> wrote: > &

Re: [Paraview] animation series with xdmf format

2012-06-08 Thread Mohammad Mirzadeh
Ok thanks Utkarsh On Fri, Jun 8, 2012 at 7:01 AM, Utkarsh Ayachit wrote: > On Thu, Jun 7, 2012 at 11:45 PM, Mohammad Mirzadeh > wrote: > > A quick question: When I have multiple tags along with multiple > > tags, as mentioned in this > > link http://visituse

Re: [Paraview] animation series with xdmf format

2012-06-07 Thread Mohammad Mirzadeh
A quick question: When I have multiple tags along with multiple tags, as mentioned in this link http://visitusers.org/forum/YaBB.pl?num=1265131595, does paraview open all the time steps at once or only when needed? On Thu, Jun 7, 2012 at 5:43 PM, Mohammad Mirzadeh wrote: > Got it! Could

Re: [Paraview] animation series with xdmf format

2012-06-07 Thread Mohammad Mirzadeh
Got it! Could use tags along with a grid collection. http://visitusers.org/forum/YaBB.pl?num=1265131595 Still wondering if its possible to use the previous format; anyone? On Thu, Jun 7, 2012 at 5:10 PM, Mohammad Mirzadeh wrote: > Hi, > > I'm using file.%d.xmf for my xdmf files

[Paraview] animation series with xdmf format

2012-06-07 Thread Mohammad Mirzadeh
Hi, I'm using file.%d.xmf for my xdmf files and was hoping paraview could detect them as a time series but seems it cannot -- I had used this before with my .vtk and it used to work. Is paraview supposed to work with xdmf files in this way or am I supposed to do something else? Thanks ___

Re: [Paraview] advice on saving outputs

2012-05-20 Thread Mohammad Mirzadeh
t > > > > I use xdmf all the time, I think is very flexible (ascii, binary, HDF5 > heavy data storage), time, grids, extra data using "Information" tag. And > all kinds of topologies and geometries. > > > Le 20 mai 12 à 13:47, Hal Canary a écrit : > > On

[Paraview] advice on saving outputs

2012-05-19 Thread Mohammad Mirzadeh
Hi guys, I need a little bit of advice on how I'm outputting data. So far I have been using a simple legacy VTK format and dumping my grid and all sclaar/vectors into that single file. Basically I start with writing the grid and then append as many as variables that I like to the file. This has th

Re: [Paraview] pv 3.8 segfaults on opening raw binary files

2012-05-17 Thread Mohammad Mirzadeh
, Mohammad Mirzadeh wrote: > Thanks David. I have thoroughly looked through that file format document > but with no luck. It the mean time, I have tried the xml format and while > my ascii writer (both in legacy and xml versions) work, I'm hopeless when > it comes to the binary vers

Re: [Paraview] pv 3.8 segfaults on opening raw binary files

2012-05-17 Thread Mohammad Mirzadeh
er > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > > On Wed, May 16, 2012 at 2:49 PM, Mohammad Mirzadeh > wrote: > > If it helps, here's the source code and attached is a sample binary file: > > > > void Quad

Re: [Paraview] pv 3.8 segfaults on opening raw binary files

2012-05-16 Thread Mohammad Mirzadeh
riter << "CELL_TYPES " << num_of_leaf_cells << "\n"; int cell_type = 9; for (CaslInt n=0; n &F, string data_name, string file_name){ ofstream binWriter(file_name.c_str(), ios::app | ios::binary); binWriter << "SCALARS " << d

[Paraview] pv 3.8 segfaults on opening raw binary files

2012-05-15 Thread Mohammad Mirzadeh
Hi guys, I have a problem getting pv open my binary file. It basically segfaults and terminates without any information. When I run in gdb I get: ERROR: In /build/buildd/paraview-3.8.1/VTK/IO/vtkDataReader.cxx, line 1910 vtkUnstructuredGridReader (0x19f6890): Unsupported data type: 1 Program rec

[Paraview] Python Script for Marking Points

2012-04-09 Thread Mohammad Mirzadeh
Hi, I'm a complete newbie when it comes to python scripting and need a little bit of help. I'm trying to debug a parallel code using paraview. I have an unstructured grid that I save as a legacy vtk file. In it, I save the grid information and also the processor id of each point. What I want to do

[Paraview] Memory problems

2011-07-15 Thread Mohammad Mirzadeh
Hi, I'm just wondering if anyone else is also having memory problems with PV 3.10.1 64bit on linux? It happens that when I use PV for a a couple of days and I leave it open, for some reason it keeps consuming memory and not releasing it even after deleting the objects in the pipeline viewer. Anoth

[Paraview] Iso volume

2011-06-06 Thread Mohammad Mirzadeh
hi Guys, Just intalled paraview 3.10.1 and noticed the long-waited Iso Volume is added. Is there any difference between this filter and clip by scalar? I used to use clip and I'm just curious if there is any difference. Thanks, Mohammad ___ Powered by w

[Paraview] Using pvrenderserver and pvdataserver

2011-02-24 Thread Mohammad Mirzadeh
Hi all, I am trying to understand how I can use pvrenderserver and pvdataserver instead of pvserver to handle rendering on my gpu node. This is going to be a "Nvidia's Tesla Deskside Supercomputer" which is connected, though an interface card/PCI Express connection, to my desktop. I have already w

Re: [Paraview] Building Paraview with EPS support

2010-11-11 Thread Mohammad Mirzadeh
ts as EPS. However you can save them as > pdf/png etc and use tools like ImageMagick to convert the image to > eps. > > Utkarsh > > On Thu, Nov 11, 2010 at 1:03 AM, Mohammad Mirzadeh > wrote: > > Hi all, > > I was just wondering if anyone can refer me to a tutorial/

[Paraview] Building Paraview with EPS support

2010-11-10 Thread Mohammad Mirzadeh
Hi all, I was just wondering if anyone can refer me to a tutorial/how-to-do link for building paraview so that you export screenshots in EPS format? Thanks, Mohammad ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www

Re: [Paraview] Threshold

2010-06-16 Thread Mohammad Mirzadeh
between two > isosurfaces (or the mesh boundary). > > -Ken > > > > On 6/16/10 5:22 PM, "Mohammad Mirzadeh" wrote: > > Thanks Ken, > > I have tried that. The problem is that contour gives exactly the opposite > surface. That may sound a bit confusing

Re: [Paraview] Threshold

2010-06-16 Thread Mohammad Mirzadeh
the zero contour of my level set, it just draws the sphere which is exactly the opposite of what I'm interested in! On Wed, Jun 16, 2010 at 4:11 PM, Moreland, Kenneth wrote: > Try using the contour filter instead. > > -Ken > > > > On 6/16/10 4:51 PM, "Mohammad

[Paraview] Threshold

2010-06-16 Thread Mohammad Mirzadeh
Dear all, I had a question about threshold filter. I am working on complex geometries and the way I represent them is to use a level set function. Now when I want to see solid part of domain, I just use the threshold filter on the level set function and ask for wherever it is positive. The problem

Re: [Paraview] AMR and .VTM

2010-06-09 Thread Mohammad Mirzadeh
Favre Jean wrote: > _ > From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] On > Behalf Of Mohammad Mirzadeh [mirza...@gmail.com] > Sent: Wednesday, June 09, 2010 9:47 PM > To: paraview@paraview.org > Subject: [Paraview] AMR and .VTM >

[Paraview] AMR and .VTM

2010-06-09 Thread Mohammad Mirzadeh
Dear all, I had a rather quick question. I am working with adaptive meshes and would like to import them into paraview. So far I have been able to that with unstructured datasets and .vtk files. The problem is that whenever I use slice filter to see a cross-section of mesh, it triangulates the da

Re: [Paraview] Plot over a line: Interpolation method

2010-02-03 Thread Mohammad Mirzadeh
> > On Tue, Feb 2, 2010 at 6:55 PM, Mohammad Mirzadeh wrote: > >> Hi guys, >> >> I was wondering if there is a way to change the interpolation method when >> using "plot over a line" filter on a 3D dataset? It seems to me that the >> default method is a l

[Paraview] Plot over a line: Interpolation method

2010-02-02 Thread Mohammad Mirzadeh
Hi guys, I was wondering if there is a way to change the interpolation method when using "plot over a line" filter on a 3D dataset? It seems to me that the default method is a linear interpolation which is not good enough for what I am doing right now. Also does anyone know if there is a way to ch

Re: [Paraview] Octree Mesh

2010-01-14 Thread Mohammad Mirzadeh
filter. > > I am not sure what you mean by this. > > -berk > > On Thu, Jan 14, 2010 at 1:40 PM, Mohammad Mirzadeh > wrote: > > Hi all, > > > > Thanks so much for your help guys. As far as Ivo noted I tried the > extract > > cells by region filte

Re: [Paraview] Octree Mesh

2010-01-14 Thread Mohammad Mirzadeh
ome extra diagonal lines on each square > cell, > > which it should not. > > This is the way the slice filter works - it creates triangles rather > than quads. I believe > that there is a filter, somewhere, that generates quads for the case > of (structured > data, planar sl

[Paraview] Octree Mesh

2010-01-12 Thread Mohammad Mirzadeh
Dear all, I am rather new to paraview and I work in the area of CSE. The typical meshes that I use to discretize my PDEs over is the 3D Octree data structure. I was just wondering if anyone is aware of a dedicated dataset in paraview to handle such meshes? I can go ahead and export my data in a wa