Re: [Paraview] error when building ffmpeg

2017-04-13 Thread Hedieh Ebrahimi
Hi Fabian,

The reason I am not using superbuild is because I would need to modify the
paraview source code. Is there any way to be able to modify the paraview
source code using superbuild?

Thanks,

Hedieh Ebrahimi
Consultant <https://es.linkedin.com/pub/hedieh-ebrahimi/50/229/8a7>



On 13 April 2017 at 09:11, Fabian Wein <fabian.w...@fau.de> wrote:

> Hi,
>
> for me it appears you are not using superbuild. I suggest you try to build
> PV with superbuild:
> https://gitlab.kitware.com/paraview/paraview-superbuild/
>
> Fabian
>
> > Am 12.04.2017 um 19:13 schrieb Hedieh Ebrahimi <
> hedieh.ebrah...@amphos21.com>:
> >
> > Hi all,
> >
> > when buiding paraview I get the following error:
> >
> >  12%] Building CXX object VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/
> vtkFFMPEGWriter.cxx.o
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx: In
> member function ‘int vtkFFMPEGWriterInternal::Start()’:
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: expected type-specifier before ‘CodecID’
> >c->codec_id = static_cast(this->
> avOutputFormat->video_codec);
> >  ^
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: expected ‘>’ before ‘CodecID’
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: expected ‘(’ before ‘CodecID’
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:29:
> error: ‘CodecID’ was not declared in this scope
> > /home/hedieh/sofware/paraview/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:192:72:
> error: expected ‘)’ before ‘;’ token
> >c->codec_id = static_cast(this->
> avOutputFormat->video_codec);
> > ^
> > VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/build.make:74: recipe for
> target 'VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o'
> failed
> > make[2]: *** 
> > [VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o]
> Error 1
> > CMakeFiles/Makefile2:7935: recipe for target 
> > 'VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/all'
> failed
> > make[1]: *** [VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/all] Error 2
> > Makefile:149: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > I have trying to build on opensuse leap 42.2. and my ffmpeg version is
> 3.2.4
> >
> > Could anybody give me a hint on how to fix this?
> >
> > Thank you very much in Advance,
> > Hedieh Ebrahimi
> > Consultant
> >
> >
> >
> >
> >
> >
> > __
> _
> > 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
>
>
___
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


Re: [Paraview] capability to read data from big-endian machine

2017-04-12 Thread Hedieh Ebrahimi
Thanks Christopher,
I just opened an issue #17370 at paraview/issues.



Hedieh Ebrahimi
Consultant <https://es.linkedin.com/pub/hedieh-ebrahimi/50/229/8a7>



On 12 April 2017 at 18:22, Christopher Neal <chrisn...@snumerics.com> wrote:

> Hi Hedieh,
>
> I know that you can create a request for this in the 'issues' tab of the
> Paraview Gitlab repository. That is their formal system for tracking
> feedback/issues related to Paraview
>
> https://gitlab.kitware.com/paraview/paraview/issues
>
> Best regards,
> Chris
>
> On Wed, Apr 12, 2017 at 10:38 AM, Hedieh Ebrahimi <
> hedieh.ebrah...@amphos21.com> wrote:
>
>> Dear all,
>>
>> When trying to read data generated on supercomputer (big-endian), the
>> ParaView PFlotran-reader fails. This is because the data generated on
>> the supercomputer is big-endian whereas my machine (Intel machine) uses
>> little-endian.
>>
>> The workaround to fix this is to go to following directory:
>>
>> Utilities/VisItBridge/databases/PFLOTRAN
>> and to the following file : avtPFLOTRANFileFormat.C
>>
>> In the functions avtPFLOTRANFileFormat::GetVar(...) and
>> avtPFLOTRANFileFormat::GetVectorVar(...)
>> there are the following if-statement TWO TIMES IN BOTH FUNCTIONS, so 4
>> modifications are needed:
>>
>> if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
>> H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
>> H5Tequal(intype, H5T_NATIVE_LDOUBLE) )
>>
>> Replace ALL 4 above  OCCURRENCES by
>>
>> if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
>> H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
>> H5Tequal(intype, H5T_NATIVE_LDOUBLE) ||
>> H5Tequal(intype, H5T_IEEE_F32BE) ||
>> H5Tequal(intype, H5T_IEEE_F64BE) )
>>
>> The problem is I have to compile paraview from source for each update or
>> on every machine. I was wondering whether this capability to read data from
>> big-endian machine could be included.
>> I´d appreciate your answer,
>>
>> Hedieh Ebrahimi
>> Consultant <https://es.linkedin.com/pub/hedieh-ebrahimi/50/229/8a7>
>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Christopher Neal
> Research Engineer
> Streamline Numerics, Inc.
> https://www.snumerics.com/
>
___
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


[Paraview] capability to read data from big-endian machine

2017-04-12 Thread Hedieh Ebrahimi
Dear all,

When trying to read data generated on supercomputer (big-endian), the
ParaView PFlotran-reader fails. This is because the data generated on the
supercomputer is big-endian whereas my machine (Intel machine) uses
little-endian.

The workaround to fix this is to go to following directory:

Utilities/VisItBridge/databases/PFLOTRAN
and to the following file : avtPFLOTRANFileFormat.C

In the functions avtPFLOTRANFileFormat::GetVar(...) and
avtPFLOTRANFileFormat::GetVectorVar(...)
there are the following if-statement TWO TIMES IN BOTH FUNCTIONS, so 4
modifications are needed:

if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
H5Tequal(intype, H5T_NATIVE_LDOUBLE) )

Replace ALL 4 above  OCCURRENCES by

if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
H5Tequal(intype, H5T_NATIVE_LDOUBLE) ||
H5Tequal(intype, H5T_IEEE_F32BE) ||
H5Tequal(intype, H5T_IEEE_F64BE) )

The problem is I have to compile paraview from source for each update or on
every machine. I was wondering whether this capability to read data from
big-endian machine could be included.
I´d appreciate your answer,

Hedieh Ebrahimi
Consultant <https://es.linkedin.com/pub/hedieh-ebrahimi/50/229/8a7>
___
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


[Paraview] making animation using vtu export from comsol

2016-07-20 Thread Hedieh Ebrahimi
Dear all,

I export from comsol to a single vtu file which saves the time-dependent
info for a variable in separate data arrays in the vtu file.

variable1@_t=0
variable1@_t=1
variable1@_t=2
variable1@_t=3
variable1@_t=4
...

The time-dependent values for variable 1 are saved in different data arrays
and therefore  I can not use the paraview animation player.

Is there anyway to use the vtu file above to make animation?

Thanks in Advance for your help,

-- 

Hedieh Ebrahimi

Consultant <https://es.linkedin.com/pub/hedieh-ebrahimi/50/229/8a7>

hedieh.ebrah...@amphos21.com


www.amphos21.com
___
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


Re: [Paraview] Fwd: OpenGL error

2014-06-05 Thread Hedieh Ebrahimi
Hi Sebastien,

Thanks for your help. I disabled the  Depth Peeling  in ParaView Setting/
RenderView / General and I don´t get the OpenGL errors anymore.

Cheers,


On 3 June 2014 17:00, Sebastien Jourdain sebastien.jourd...@kitware.com
wrote:

 I believe there is a limitation of your graphic card or OpenGL driver.
 To pass that issue, you need to disable Depth peeling in the settings.

 Seb


 On Tue, Jun 3, 2014 at 2:16 AM, Hedieh Ebrahimi 
 hedieh.ebrah...@amphos21.com wrote:


 Hello,

 I have a question. I am using ParaView version 4.1. When trying to change
 the opacity to less than 1, I get the following error :

 ERROR: In
 ..\..\..\..\paraview\VTK\Rendering\OpenGL\vtkOpenGLRenderer.cxx, line 1068

 vtkOpenGLRenderer (0601B7E0): failed after RenderPeel 1 OpenGL
 errors detected

 0 : (1282) Invalid operation


 How can I fix this problem ?

 Thanks in Advance,


 ___
 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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview



___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Interpolation between points

2014-06-02 Thread Hedieh Ebrahimi
Hello,

I have a series of nodes (points) with information as follows:

x,y,z and a variable like Pressure defined for each point.

I am trying to visualize surfaces and color them according to the variable
(Pressure).

I apply the CellCenters filter over my nodes and then I apply the Delunay3D
filter over the nodes. I get the colored surfaces, but the image is ugly.

Is there anyway to create a finer mesh by interpolating points between the
points I have from my data input ? If so, how can I do the interpolation.

I´d appreciate any help,
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Opening *.plt files in ParaView

2014-05-29 Thread Hedieh Ebrahimi
Hello,

I was trying to see if I can open a *.plt file with ParaView. When I try to
open a *.plt file with ParaView Tecplot Binary Files Reader (VisIt) (*.plt)
;
I get the following error.

vtkVisItTecplotBinaryReader (0CB18BB0): Unable to find any meshes

Does somebody know why I get this error and can´t open my file ?
In general is there any way to open *.plt files in ParaView?

Thanks.
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Exporting from FEFLOW to ParaView

2014-05-26 Thread Hedieh Ebrahimi
Hello,

I have a question about exporting data from FEFLOW for visualizing in
ParaView.

First, is there any reader or additional plugin for reading FEFLOW
simulation results to ParaView?

if yes, which exporting option can I use ? ( there are various exporting
options )


Thanks in Advance,
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Opening *.dxf file in ParaView

2014-05-26 Thread Hedieh Ebrahimi
Hello all,

Does any body know how to impot a *.dxf file in ParaView. I have exported
*.dxf file from FEFLOW and I need to open it in ParaView. Could somebody
please tell me which reader I need to use.


Thanks,
BR
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] State file .py

2013-10-31 Thread Hedieh Ebrahimi
Hi Utkarsh,

Thanks, applying this trick, it works now.

Thanks for your help.


On 30 October 2013 21:46, Utkarsh Ayachit utkarsh.ayac...@kitware.comwrote:

 Try removing the check at the top i.e

  replace ---
 try: paraview.simple
 except: from paraview.simple import *
 __ with 
 from paraview.simple import *
 

 That should do the trick.


 On Wed, Oct 30, 2013 at 10:34 AM, Hedieh Ebrahimi
 hedieh.ebrah...@amphos21.com wrote:
  In addition I need to add that I just get the error when I try to open my
  state.py from the python shell. If I for example add an WriteImage at the
  end of script and try to open it using pvpython then it works fine and i
 get
  an image, but trying to open interactively I get in to error.
 
  Thanks for help
 
 
 
  On 30 October 2013 15:07, Hedieh Ebrahimi hedieh.ebrah...@amphos21.com
  wrote:
 
  Here is one of my state files with associated error:
  Python 2.7.3 (default, Jun 16 2013, 20:21:46) [MSC v.1500 64 bit
 (AMD64)]
  on win32
 
  from paraview.simple import *
 
  paraview version 4.0.1
 
  
 
 
   Traceback (most recent call last):
 
  File string, line 5, in module
 
  NameError: name 'CreateRenderView' is not defined
 
 
  Could it have anything to do with Python version? ParaView seems to be
  using Python 2.7.3 which i guess comes with ParaView. Is ParaView using
 its
  own Python?
 
  I am saying this because by default I have  Python 3.2.5 installed.
  any ideas?
 
 
 
 
  On 30 October 2013 14:51, Utkarsh Ayachit utkarsh.ayac...@kitware.com
  wrote:
 
  That's odd. Mind sending me your script?
 
  On Wed, Oct 30, 2013 at 9:50 AM, Hedieh Ebrahimi
  hedieh.ebrah...@amphos21.com wrote:
   Hi Utkarsh,
  
   I also tried with loading the script from Python Shell,
  
   and It gives me this error on all my scripts.
  
   Traceback (most recent call last):
  
   File string, line 13, in module
  
   NameError: name 'CreateRenderView' is not defined
  
  
  
   Although it is created at line 13.
  
   RenderView1 = CreateRenderView()
  
  
   Any ideas on what is wrong with my script.
  
   Thanks
   Hedieh
  
  
  
   On 30 October 2013 14:42, Utkarsh Ayachit 
 utkarsh.ayac...@kitware.com
   wrote:
  
   Python state files cannot be loaded from Load State ( as I write
   this I realize that that is indeed a missing feature). You can  use
   the Python shell to load the script.
  
   Utkarsh
  
   On Wed, Oct 30, 2013 at 8:34 AM, Hedieh Ebrahimi
   hedieh.ebrah...@amphos21.com wrote:
Hi all,
   
I am using ParaView 4.0.1 64 bit Release version.
   
When i try to save a statefile as .py it saves correctly, but
 when I
try
to
open the same state file again using the same ParaView i get the
following
error.
   
   
ERROR: In
   
   
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLParser.cxx,
line
483
   
vtkPVXMLParser (0A864BC0): Error parsing XML in stream at
line
1,
column 0, byte index 0: syntax error
   
   
   
Root does not exist. Either state file could not be opened or it
does
not
contain valid xml
   
   
If I save my pipeline state as .pvsm file, I can re-open it
correctly
and I
am just having this problem with .py state files.
   
Does anybody know how I could fix this problem?
   
Thanks in Advance,
   
   
___
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
   
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
   
  
  
 
 
 

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] State file .py

2013-10-30 Thread Hedieh Ebrahimi
Hi all,

I am using ParaView 4.0.1 64 bit Release version.

When i try to save a statefile as .py it saves correctly, but when I try to
open the same state file again using the same ParaView i get the following
error.


ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLParser.cxx,
line 483

vtkPVXMLParser (0A864BC0): Error parsing XML in stream at line 1,
column 0, byte index 0: syntax error



Root does not exist. Either state file could not be opened or it does not
contain valid xml

If I save my pipeline state as .pvsm file, I can re-open it correctly and I
am just having this problem with .py state files.

Does anybody know how I could fix this problem?

Thanks in Advance,
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] State file .py

2013-10-30 Thread Hedieh Ebrahimi
Hi Utkarsh,

I also tried with loading the script from Python Shell,

and It gives me this error on all my scripts.

Traceback (most recent call last):

File string, line 13, in module

NameError: name 'CreateRenderView' is not defined



Although it is created at line 13.

RenderView1 = CreateRenderView()


Any ideas on what is wrong with my script.

Thanks
Hedieh



On 30 October 2013 14:42, Utkarsh Ayachit utkarsh.ayac...@kitware.comwrote:

 Python state files cannot be loaded from Load State ( as I write
 this I realize that that is indeed a missing feature). You can  use
 the Python shell to load the script.

 Utkarsh

 On Wed, Oct 30, 2013 at 8:34 AM, Hedieh Ebrahimi
 hedieh.ebrah...@amphos21.com wrote:
  Hi all,
 
  I am using ParaView 4.0.1 64 bit Release version.
 
  When i try to save a statefile as .py it saves correctly, but when I try
 to
  open the same state file again using the same ParaView i get the
 following
  error.
 
 
  ERROR: In
  C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLParser.cxx,
 line
  483
 
  vtkPVXMLParser (0A864BC0): Error parsing XML in stream at line 1,
  column 0, byte index 0: syntax error
 
 
 
  Root does not exist. Either state file could not be opened or it does not
  contain valid xml
 
 
  If I save my pipeline state as .pvsm file, I can re-open it correctly
 and I
  am just having this problem with .py state files.
 
  Does anybody know how I could fix this problem?
 
  Thanks in Advance,
 
 
  ___
  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
 
  Follow this link to subscribe/unsubscribe:
  http://www.paraview.org/mailman/listinfo/paraview
 

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] State file .py

2013-10-30 Thread Hedieh Ebrahimi
Here is one of my state files with associated error:
Python 2.7.3 (default, Jun 16 2013, 20:21:46) [MSC v.1500 64 bit (AMD64)]
on win32

from paraview.simple import *

paraview version 4.0.1



 Traceback (most recent call last):

File string, line 5, in module

NameError: name 'CreateRenderView' is not defined

Could it have anything to do with Python version? ParaView seems to be
using Python 2.7.3 which i guess comes with ParaView. Is ParaView using its
own Python?

I am saying this because by default I have  Python 3.2.5 installed.
any ideas?




On 30 October 2013 14:51, Utkarsh Ayachit utkarsh.ayac...@kitware.comwrote:

 That's odd. Mind sending me your script?

 On Wed, Oct 30, 2013 at 9:50 AM, Hedieh Ebrahimi
 hedieh.ebrah...@amphos21.com wrote:
  Hi Utkarsh,
 
  I also tried with loading the script from Python Shell,
 
  and It gives me this error on all my scripts.
 
  Traceback (most recent call last):
 
  File string, line 13, in module
 
  NameError: name 'CreateRenderView' is not defined
 
 
 
  Although it is created at line 13.
 
  RenderView1 = CreateRenderView()
 
 
  Any ideas on what is wrong with my script.
 
  Thanks
  Hedieh
 
 
 
  On 30 October 2013 14:42, Utkarsh Ayachit utkarsh.ayac...@kitware.com
  wrote:
 
  Python state files cannot be loaded from Load State ( as I write
  this I realize that that is indeed a missing feature). You can  use
  the Python shell to load the script.
 
  Utkarsh
 
  On Wed, Oct 30, 2013 at 8:34 AM, Hedieh Ebrahimi
  hedieh.ebrah...@amphos21.com wrote:
   Hi all,
  
   I am using ParaView 4.0.1 64 bit Release version.
  
   When i try to save a statefile as .py it saves correctly, but when I
 try
   to
   open the same state file again using the same ParaView i get the
   following
   error.
  
  
   ERROR: In
  
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLParser.cxx,
   line
   483
  
   vtkPVXMLParser (0A864BC0): Error parsing XML in stream at line
   1,
   column 0, byte index 0: syntax error
  
  
  
   Root does not exist. Either state file could not be opened or it does
   not
   contain valid xml
  
  
   If I save my pipeline state as .pvsm file, I can re-open it correctly
   and I
   am just having this problem with .py state files.
  
   Does anybody know how I could fix this problem?
  
   Thanks in Advance,
  
  
   ___
   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
  
   Follow this link to subscribe/unsubscribe:
   http://www.paraview.org/mailman/listinfo/paraview
  
 
 



stateFile.py
Description: Binary data
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] State file .py

2013-10-30 Thread Hedieh Ebrahimi
In addition I need to add that I just get the error when I try to open my
state.py from the python shell. If I for example add an WriteImage at the
end of script and try to open it using pvpython then it works fine and i
get an image, but trying to open interactively I get in to error.

Thanks for help



On 30 October 2013 15:07, Hedieh Ebrahimi hedieh.ebrah...@amphos21.comwrote:

 Here is one of my state files with associated error:
 Python 2.7.3 (default, Jun 16 2013, 20:21:46) [MSC v.1500 64 bit (AMD64)]
 on win32

 from paraview.simple import *

 paraview version 4.0.1

 

  Traceback (most recent call last):

 File string, line 5, in module

 NameError: name 'CreateRenderView' is not defined

 Could it have anything to do with Python version? ParaView seems to be
 using Python 2.7.3 which i guess comes with ParaView. Is ParaView using its
 own Python?

 I am saying this because by default I have  Python 3.2.5 installed.
 any ideas?




 On 30 October 2013 14:51, Utkarsh Ayachit utkarsh.ayac...@kitware.comwrote:

 That's odd. Mind sending me your script?

 On Wed, Oct 30, 2013 at 9:50 AM, Hedieh Ebrahimi
 hedieh.ebrah...@amphos21.com wrote:
  Hi Utkarsh,
 
  I also tried with loading the script from Python Shell,
 
  and It gives me this error on all my scripts.
 
  Traceback (most recent call last):
 
  File string, line 13, in module
 
  NameError: name 'CreateRenderView' is not defined
 
 
 
  Although it is created at line 13.
 
  RenderView1 = CreateRenderView()
 
 
  Any ideas on what is wrong with my script.
 
  Thanks
  Hedieh
 
 
 
  On 30 October 2013 14:42, Utkarsh Ayachit utkarsh.ayac...@kitware.com
  wrote:
 
  Python state files cannot be loaded from Load State ( as I write
  this I realize that that is indeed a missing feature). You can  use
  the Python shell to load the script.
 
  Utkarsh
 
  On Wed, Oct 30, 2013 at 8:34 AM, Hedieh Ebrahimi
  hedieh.ebrah...@amphos21.com wrote:
   Hi all,
  
   I am using ParaView 4.0.1 64 bit Release version.
  
   When i try to save a statefile as .py it saves correctly, but when I
 try
   to
   open the same state file again using the same ParaView i get the
   following
   error.
  
  
   ERROR: In
  
 C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\XMLParser\vtkXMLParser.cxx,
   line
   483
  
   vtkPVXMLParser (0A864BC0): Error parsing XML in stream at
 line
   1,
   column 0, byte index 0: syntax error
  
  
  
   Root does not exist. Either state file could not be opened or it does
   not
   contain valid xml
  
  
   If I save my pipeline state as .pvsm file, I can re-open it correctly
   and I
   am just having this problem with .py state files.
  
   Does anybody know how I could fix this problem?
  
   Thanks in Advance,
  
  
   ___
   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
  
   Follow this link to subscribe/unsubscribe:
   http://www.paraview.org/mailman/listinfo/paraview
  
 
 



___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] saving state file as .py

2013-10-28 Thread Hedieh Ebrahimi
Hello,

I´ve downloaded the ParaView nightly version :

4.0.1 -379- ge8498 ed 64 bit
When i try to save an state file as .py file (not pvsm) the paraview just
saves an empty python file and gives me the following error.

It looks like i am missing some libraries. I am using a nightly. Is there
any way to fix this other than going back to a previous release vertion ?


Error: Could not import vtkRenderingCorePython

Traceback (most recent call last):

File string, line 1, in module

File C:\Program Files (x86)\ParaView
4.0.1\lib\paraview-4.0\site-packages\paraview\smstate.py, line 1, in
module

import smtrace

File C:\Program Files (x86)\ParaView
4.0.1\lib\paraview-4.0\site-packages\paraview\smtrace.py, line 2, in
module

import simple

File C:\Program Files (x86)\ParaView
4.0.1\lib\paraview-4.0\site-packages\paraview\simple.py, line 41, in
module

import servermanager

File C:\Program Files (x86)\ParaView
4.0.1\lib\paraview-4.0\site-packages\paraview\servermanager.py, line 57,
in module

from vtkPVServerManagerCorePython import *

ImportError: DLL load failed: No se encontró el proceso especificado.

Traceback (most recent call last):

File string, line 1, in module

NameError: name 'smstate' is not defined

Traceback (most recent call last):

File string, line 1, in module

File C:\Program Files (x86)\ParaView
4.0.1\lib\paraview-4.0\site-packages\paraview\smtrace.py, line 2, in
module

import simple

File C:\Program Files (x86)\ParaView
4.0.1\lib\paraview-4.0\site-packages\paraview\simple.py, line 41, in
module

import servermanager

File C:\Program Files (x86)\ParaView
4.0.1\lib\paraview-4.0\site-packages\paraview\servermanager.py, line 57,
in module

from vtkPVServerManagerCorePython import *

ImportError: DLL load failed: No se encontró el proceso especificado.
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Annotate Time Filter

2013-09-03 Thread Hedieh Ebrahimi
Hello,

I have a question about AnnotateTimeFilter. I have a Data Set ( h5 files)
containing several time steps that I open with PFlotran Reader.

If i first merge these files and then open them as a single file using the
PFlotran Reader, then the Annotate Time Filter works correctly.

But, if I just open one of these h5 files containing just one time step,
then
the Annotate Time Filter doesn´t work correctly and just shows Time=0


I am trying to get pictures opening just single files, but I want to show
the time correctly.

Is there anyway to be able to make AnnotateTimeFilter show times correctly?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Putting a background for Legend

2013-08-23 Thread Hedieh Ebrahimi
Hello,


Is there anyway to have a background for your legend. I usually have a
zoomIn of the screen and usually the legend mixes with the image (which is
what I want) and the numbers don´t distinguish very clearly. I know I can
change the color of the numbers in legend or just save legend separately
and put it on top of the screenshot I get from ParaView in another editor ,
but I was wondering if there is an easy way to save time and have a
background for your legend in ParaView, so that it wouldn´t mix with the
with the background even though you put it on top of a background with the
same color.

Is there anyway to do that?

Thanks in Advance
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Writing Images at certian time Steps using pvpython

2013-08-22 Thread Hedieh Ebrahimi
Hi Burlen,

Thanks for your reply. Actually when I mentioned final time step at  1
to get the image; by 1 I actually was referring to the the time. ( The
time step related to this time (1) is time step 40)

I see what time is relating to what time step by using the
AnnotateTimeFilter and seeing the times interactively.

Considering that I know the correct time, still pvpython crashes when I try
to get the image at a different time by changing the following to
time=1 or any other time that exist in my simulation result.

RenderView1.ViewTime = 1.0
RenderView1.CacheKey = 1.0
RenderView1.UseCache = 0
AnimationScene1 = GetAnimationScene()
AnimationScene1.AnimationTime = 1.0
WriteImage('myImage.jpg')

Render()

Any ideas on what I could be doing wrong and how to get the image at a
different time using pvpython ?

I´d appreciate any help
Thanks


On 21 August 2013 18:27, Burlen Loring blor...@lbl.gov wrote:

  time is not always the same as time-step. Here's an example of how you
 could query the reader for time values and then use them

 ...

 nSteps = 0
 steps = reader.TimestepValues
 try:
   nSteps = len(steps)
 except:
   nSteps = 1
   steps = [steps]

 ...


 anim = GetAnimationScene()
 anim.PlayMode = 'Snap To TimeSteps'
 anim.AnimationTime = steps[step]
 view = GetRenderView()
 view.ViewTime = steps[step]

 ...

 Render()



 On 08/21/2013 03:04 AM, Hedieh Ebrahimi wrote:

  Hello,

  My Data is of type h5 that I open using PFlotran HDF5 reader in ParaView
 which are result of PFlotran simulation.

  What I am trying to do is to write an image at a certain time step and
 then finally write a batch job that writes an image for each time step of
 the simulation result.

  If I try to interactively go to a certain time step and then save an
 image, everything works fine.

  The problem is I have 40 time steps and I want to do the same procedure
 often. So I saved my state file as a python script and then set these few
 lines at the end of script just before Render().

 RenderView1.ViewTime = 0.0
 RenderView1.CacheKey = 0.0
 RenderView1.UseCache = 0
 AnimationScene1 = GetAnimationScene()
 AnimationScene1.AnimationTime = 0.0
 WriteImage('myImage.jpg')

 Render()


  My timeSeries start at 0 and the python script works just fine for 0.

  If I change the following lines to 1 (my final time step) or any
 other time step, then pvpython crashes, that is the following change to the
 script makes the pvpython crash:

 RenderView1.ViewTime = 1.0
 RenderView1.CacheKey = 1.0
 RenderView1.UseCache = 0
 AnimationScene1 = GetAnimationScene()
 AnimationScene1.AnimationTime = 1.0
 WriteImage('myImage.jpg')

 Render()

  I used the trace to see what values I need to change to save an screen
 shot for any time step and I ended up with ViewTime and AnimationTime.

  I have attached my script with this email. I would be grateful if you
 could please tell me if I need to change more in my script or add any
 additional lines to be able to get an screenshot of any timestep rather
 than 0.

  Thanks in Advance.

  Hedie


 ___
 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

 Follow this link to 
 subscribe/unsubscribe:http://www.paraview.org/mailman/listinfo/paraview



___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Creating contour on IsoVolume

2013-08-21 Thread Hedieh Ebrahimi
Hello,

I need to apply  Contour or IsoVolume or Threshold on my DataSet to get a
plume and then see the evolution of this plume by time but because my
DataSet is huge (100M cells)  after a few time steps as my plume gets
vaster, ParaView crashes.

Is there any way to apply one of these filters on a
geometrically-proportional sample of my DataSet so that ParaView doesn´t
crash?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] ParaView Memory Usage

2013-08-21 Thread Hedieh Ebrahimi
Hi,

Sorry for late reply to this. Unfortunately the smallest DataSet I have is
300M and I can´t email it. but this is what is happening and I would
appreciate any help regarding this memory usage.

I am opening h5 files using PFlotran HDF5 reader in ParaView to open my
files which are result of PFlotran simulation.

I´d appreciate any help.

Thanks


On 14 August 2013 17:28, Utkarsh Ayachit utkarsh.ayac...@kitware.comwrote:

 Do you have a sample dataset you could share (feel free to email me
 privately). I at the very least track down what the reader is doing.

 Utkarsh

 On Mon, Aug 12, 2013 at 9:57 AM, Hedieh Ebrahimi
 hedieh.ebrah...@amphos21.com wrote:
  Hi Utkarsh,
 
  I am opening h5 files using PFlotran HDF5 reader to open my files which
 are
  result of PFlotran simulation.
 
  ParaView uses more memory when I load a big file with lots of arrays and
  just select one array in reader´s properties panel than when I have
 manually
  splitted my big file using python and then opening it in the same reader
 and
  selecting the same array.
 
  Is there anyway to fix this bug? This could make everything much faster.
 
  Thanks in Advance
 
 
 
 
  On 12 August 2013 15:34, Utkarsh Ayachit utkarsh.ayac...@kitware.com
  wrote:
 
  What file format was this? Xdmf? You're correct, typically, if a user
  chooses to load only a certain array from the reader's properties panel,
  that should be same/simlar to opening a file that does not have any of
 the
  other arrays. There may a bug or things specific to the reader that may
  preclude that.
 
  Utkarsh
 
 
  On Mon, Aug 12, 2013 at 8:34 AM, Hedieh Ebrahimi
  hedieh.ebrah...@amphos21.com wrote:
 
  Hi,
 
  I have a question regarding memory efficiency in ParaView.
 
  Consider that I have a h5 file that contain cellArrays that have
  information about pH and lots of other materials over all cells in the
  DataSet .
 
  There are two ways I can use my h5 file in ParaView to visualize Data.
  1.If I  open this file using ParaView and then under the properties
  section just click to show pH.
 
  2. If I split the h5 file and create a new Dataset just containing  pH
  and NOT any other material and then open this file in ParaView.
 
  It looks like in the first scenario ParaView is using way more memory
  than when I split the file and open it in ParaView as a smaller
 Dataset.
  Isn´t ParaView supposed to take care of memory better ? I mean
 shouldn´t
  ParaView work the same way if I open my huge DataSet and try to show
 just pH
  as when I extract pH from my DataSet and open it as a smaller h5 file
 in
  ParaView?
 
  I would be grateful if somebody could please give some advice.
 
  Thanks in Advance
 
  ___
  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
 
  Follow this link to subscribe/unsubscribe:
  http://www.paraview.org/mailman/listinfo/paraview
 
 
 

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Creating contour on IsoVolume

2013-08-21 Thread Hedieh Ebrahimi
Hello,

I forgot to mention that My Data are  of type  h5 that I open using
PFlotran HDF5 reader in ParaView  which are result of PFlotran simulation.

I´d appreciate any help.

Thanks
Hedie


On 21 August 2013 09:14, Hedieh Ebrahimi hedieh.ebrah...@amphos21.comwrote:

 Hello,

 I need to apply  Contour or IsoVolume or Threshold on my DataSet to get a
 plume and then see the evolution of this plume by time but because my
 DataSet is huge (100M cells)  after a few time steps as my plume gets
 vaster, ParaView crashes.

 Is there any way to apply one of these filters on a
 geometrically-proportional sample of my DataSet so that ParaView doesn´t
 crash?

 Thanks

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Writing Images at certian time Steps using pvpython

2013-08-21 Thread Hedieh Ebrahimi
Hello,

My Data is of type h5 that I open using PFlotran HDF5 reader in ParaView
which are result of PFlotran simulation.

What I am trying to do is to write an image at a certain time step and then
finally write a batch job that writes an image for each time step of the
simulation result.

If I try to interactively go to a certain time step and then save an image,
everything works fine.

The problem is I have 40 time steps and I want to do the same procedure
often. So I saved my state file as a python script and then set these few
lines at the end of script just before Render().

RenderView1.ViewTime = 0.0
RenderView1.CacheKey = 0.0
RenderView1.UseCache = 0
AnimationScene1 = GetAnimationScene()
AnimationScene1.AnimationTime = 0.0
WriteImage('myImage.jpg')

Render()


My timeSeries start at 0 and the python script works just fine for 0.

If I change the following lines to 1 (my final time step) or any other
time step, then pvpython crashes, that is the following change to the
script makes the pvpython crash:

RenderView1.ViewTime = 1.0
RenderView1.CacheKey = 1.0
RenderView1.UseCache = 0
AnimationScene1 = GetAnimationScene()
AnimationScene1.AnimationTime = 1.0
WriteImage('myImage.jpg')

Render()

I used the trace to see what values I need to change to save an screen shot
for any time step and I ended up with ViewTime and AnimationTime.

I have attached my script with this email. I would be grateful if you could
please tell me if I need to change more in my script or add any additional
lines to be able to get an screenshot of any timestep rather than 0.

Thanks in Advance.

Hedie


top.py
Description: Binary data
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Contour over large Dataset crashes

2013-08-12 Thread Hedieh Ebrahimi
Hello,

I am trying to apply a contour filter over my dataset. So What I normally
do is to first apply a CellDataToPointData and then apply Contour over it.

As the Contour filter brings back many cells, ParaView crashes.

Is there any way to mask the whole DataSet and then apply Contour over it?

is there anyway to stop Contour or Isovolume to stop crashing ParaView when
I apply them over my DataSet?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] ParaView Memory Usage

2013-08-12 Thread Hedieh Ebrahimi
Hi,

I have a question regarding memory efficiency in ParaView.

Consider that I have a h5 file that contain cellArrays that have
information about pH and lots of other materials over all cells in the
DataSet .

There are two ways I can use my h5 file in ParaView to visualize Data.
1.If I  open this file using ParaView and then under the properties section
just click to show pH.

2. If I split the h5 file and create a new Dataset just containing  pH and
NOT any other material and then open this file in ParaView.

It looks like in the first scenario ParaView is using way more memory than
when I split the file and open it in ParaView as a smaller Dataset.
Isn´t ParaView supposed to take care of memory better ? I mean shouldn´t
ParaView work the same way if I open my huge DataSet and try to show just
pH as when I extract pH from my DataSet and open it as a smaller h5 file in
ParaView?

I would be grateful if somebody could please give some advice.

Thanks in Advance
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] ParaView Memory Usage

2013-08-12 Thread Hedieh Ebrahimi
Hi Utkarsh,

I am opening h5 files using PFlotran HDF5 reader to open my files which are
result of PFlotran simulation.

ParaView uses more memory when I load a big file with lots of arrays and
just select one array in reader´s properties panel than when I have
manually splitted my big file using python and then opening it in the same
reader and selecting the same array.

Is there anyway to fix this bug? This could make everything much faster.

Thanks in Advance




On 12 August 2013 15:34, Utkarsh Ayachit utkarsh.ayac...@kitware.comwrote:

 What file format was this? Xdmf? You're correct, typically, if a user
 chooses to load only a certain array from the reader's properties panel,
 that should be same/simlar to opening a file that does not have any of the
 other arrays. There may a bug or things specific to the reader that may
 preclude that.

 Utkarsh


 On Mon, Aug 12, 2013 at 8:34 AM, Hedieh Ebrahimi 
 hedieh.ebrah...@amphos21.com wrote:

 Hi,

 I have a question regarding memory efficiency in ParaView.

 Consider that I have a h5 file that contain cellArrays that have
 information about pH and lots of other materials over all cells in the
 DataSet .

 There are two ways I can use my h5 file in ParaView to visualize Data.
 1.If I  open this file using ParaView and then under the properties
 section just click to show pH.

 2. If I split the h5 file and create a new Dataset just containing  pH
 and NOT any other material and then open this file in ParaView.

 It looks like in the first scenario ParaView is using way more memory
 than when I split the file and open it in ParaView as a smaller Dataset.
 Isn´t ParaView supposed to take care of memory better ? I mean shouldn´t
 ParaView work the same way if I open my huge DataSet and try to show just
 pH as when I extract pH from my DataSet and open it as a smaller h5 file in
 ParaView?

 I would be grateful if somebody could please give some advice.

 Thanks in Advance

 ___
 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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview



___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Contour over Mask Points

2013-08-09 Thread Hedieh Ebrahimi
Hello,

I am trying to create a contour over maskPoints filter.

So I have the following order.

1.Dataset
2. CellDatatoPointsData
3.MaskPoints
4.Contour

While Contour  works directly over cellDatatoPointsData, it doesn´t show
anything when i apply it over MaskPoints.

I wanted to apply Conour over maskPoints as my DataSet is so big and it
would crash when I wanted to make an animation of it.

any ideas how to fix this?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] FIND DATA deosn´t give back any results.

2013-07-24 Thread Hedieh Ebrahimi
Hi Utkarsh,

I created the wavelet, it was already point data, so I didn´t need to apply
the cell data to point data filter. and then I looked for RTDATA100 and
it works and gives back results.

On my dataset though things are different.

1. If i look for cells , looking for cells with certain ID i get results.
2. if i look for cells, looking for cells with certain values or values
higher or lower than a certain value , i don´t get any results.

3. If I select Query is and then type for example  *(temperature  100)
*
**
then although just 5 cells in 100 million should be selected ( Threshold
filters shows these 5 cells correctly and although analyzing my dataset
using direct python script gives back just 5 cells, but using the queries
such as *(temperature  100)  *will select all cells which is wrong.

Is there anyway to fix this? as this is very useful when you want to take a
first look at your dataset after a simulation.

Thanks in Advance
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] FIND DATA deosn´t give back any results.

2013-07-24 Thread Hedieh Ebrahimi
unfortunately it is more than 16 G and I can´t share it.
The filetype is h5 and its a PFlotran filetype. When I work with small
datasets of same type. everything is fine . but once I am working with big
datasets,
the problems that I mentioned occure. Could size be a problem?

Thanks


On 24 July 2013 14:42, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote:

 Can you share the dataset?

 On Wed, Jul 24, 2013 at 3:44 AM, Hedieh Ebrahimi
 hedieh.ebrah...@amphos21.com wrote:
  Hi Utkarsh,
 
  I created the wavelet, it was already point data, so I didn´t need to
 apply
  the cell data to point data filter. and then I looked for RTDATA100
 and
  it works and gives back results.
 
  On my dataset though things are different.
 
  1. If i look for cells , looking for cells with certain ID i get results.
  2. if i look for cells, looking for cells with certain values or values
  higher or lower than a certain value , i don´t get any results.
 
  3. If I select Query is and then type for example  (temperature  100)
 
  then although just 5 cells in 100 million should be selected ( Threshold
  filters shows these 5 cells correctly and although analyzing my dataset
  using direct python script gives back just 5 cells, but using the queries
  such as (temperature  100)  will select all cells which is wrong.
 
  Is there anyway to fix this? as this is very useful when you want to
 take a
  first look at your dataset after a simulation.
 
  Thanks in Advance
 

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] FIND DATA deosn´t give back any results.

2013-07-23 Thread Hedieh Ebrahimi
Hi Utkarsh,

Thanks for reply. If my query based on ID it works, That is if I look for
cells with IDs higher than 90,000,000, then 10 million cells are returned
in Query Results,but if it is another search field to find cells with
values higher than a specific value, I don´t get any results.

I mean after I push the Run Selection Query, nothing is returned and
Paraview is not hanging by the way and is working normal and just no result
is returned.

I was wondering why I don´t get any results. What I am looking for is to
find cells  in my dataset with values higher than (some value).

any ideas on how to get this?

Thanks in Advance


On 22 July 2013 19:09, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote:

 Can you try using some other simple query e.g. based on IDs and see if
 that works?

 On Mon, Jul 22, 2013 at 9:45 AM, Hedieh Ebrahimi
 hedieh.ebrah...@amphos21.com wrote:
  Hello all,
 
  I am trying to use FIND DATA to find cells in my dataset with values
 higher
  than a specific value.
 
  The problem is if I use threshold I can see the cells in my dataset that
  have values higher than my search field, but when I use FindDATA  on my
  dataset , my run query doesn´t bring back any cells, though it should as
  these cells exist and are shown using the threshold.
 
  Could any body please tell me why Find DATA is not working on my dataset.
 
  I really need to use FIND DATA  to see cells with values higher than a
  specific value to analyze my data and find these cells and currently I
 can´t
  as the FIND DATA deosn´t give back any results.
 
  I would appreciate any help on what I could be doing wrong and how to fix
  it.
 
  Thanks in Advance
 
 
 
 
  ___
  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
 
  Follow this link to subscribe/unsubscribe:
  http://www.paraview.org/mailman/listinfo/paraview
 

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] FIND DATA deosn´t give back any results.

2013-07-22 Thread Hedieh Ebrahimi
Hello all,

I am trying to use FIND DATA to find cells in my dataset with values higher
than a specific value.

The problem is if I use threshold I can see the cells in my dataset that
have values higher than my search field, but when I use FindDATA  on my
dataset , my run query doesn´t bring back any cells, though it should as
these cells exist and are shown using the threshold.

Could any body please tell me why Find DATA is not working on my dataset.

I really need to use FIND DATA  to see cells with values higher than a
specific value to analyze my data and find these cells and currently I
can´t as the FIND DATA deosn´t give back any results.

I would appreciate any help on what I could be doing wrong and how to fix
it.

Thanks in Advance
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Disappearing of view

2013-07-10 Thread Hedieh Ebrahimi
hi all,

I am showing my model using Paraview.
I have a filter ISOVolume.

The problem is the result of this filter which is a threshold on the data
goes invisible on the display view and it just shows when I click and drag
the model.

My model and other files in the same DisplayView  are ok and showing on the
Display View and it is just result of this filter which disappears.

The case is it disappears but actually exists there and if I click and hold
the mouse button it shows, but  When I release the mouse button, it goes
invisible again.

I had this problem when trying to create a mesh from a CSV file containing
x,y,z coordinates in another model as well.

Could anybody please tell me how to fix this problem?

Thanks in Advance
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Creating an orbit camera path with a certain angle to normal of object

2013-06-21 Thread Hedieh Ebrahimi
Hello,


Could anybody please give me a hint how I can create an orbit (camera path)
around an object by setting

CENTER, NORMAL AND ORIGIN of camera orbit in the Animation View.

I know how to create an arbitrary orbit, but I don´t know how to create an
orbit that has a certain angle with the normal of the object.

It is a very time consuming task If I want to create this orbit each time
by manually setting points and I was wondering if there was any way to
create an orbit around the object that has a specific angle with the object
.

Thanks for any replies.
Regards
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Irregular outer boundary of Points

2013-06-19 Thread Hedieh Ebrahimi
hi all,

thanks for reply.

Finally it seemed like  Feature Edges  filter from ParaView seems to work
to get the outer boundary of an irregular shape.

Thanks.


On 18 June 2013 16:42, Hedieh Ebrahimi hedieh.ebrah...@amphos21.com wrote:

 Hello David,

 Thanks for your reply. Delunay 3D will actually work and give me the
 irregular area, but if I put the representation to outline to see the
 outline of this object, again the outline will be a rectangle.

 Is there anyway to see the outer boundary of a group of points without
 seeing the interior points, that is is there anyway to see the PERIMETER
 of a group of points?

 Thanks a lot



 On 18 June 2013 13:33, David E DeMarle dave.dema...@kitware.com wrote:

 Try the Delaunay 3D filter.

 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909


 On Tue, Jun 18, 2013 at 4:47 AM, Hedieh Ebrahimi 
 hedieh.ebrah...@amphos21.com wrote:

 Hi dear ParaView Users,

 I am trying to see the outline of a number of points which I input in to
 paraview as a CSV file
 and then convert to points using Table to Points filter.

 When putting the representation to OUTLINE , ParaView will show me a
 rectangular outline of these points. What I am interested to see is an
 irregular outline or outer boundary of these group of points which shows
 exactly the area covered by the points. ( my points are 3D but I am
 watching them on a 2D plane)

 Is there anyway in ParaView to see the outline of Points as they
 actually are (irregular boundary of the group of points)  and not an
 estimated rectangular boundary as OUTLINE representation?


 Thanks in advance for any help on this.



 ___
 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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview




___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Irregular outer boundary of Points

2013-06-18 Thread Hedieh Ebrahimi
Hi dear ParaView Users,

I am trying to see the outline of a number of points which I input in to
paraview as a CSV file
and then convert to points using Table to Points filter.

When putting the representation to OUTLINE , ParaView will show me a
rectangular outline of these points. What I am interested to see is an
irregular outline or outer boundary of these group of points which shows
exactly the area covered by the points. ( my points are 3D but I am
watching them on a 2D plane)

Is there anyway in ParaView to see the outline of Points as they actually
are (irregular boundary of the group of points)  and not an estimated
rectangular boundary as OUTLINE representation?


Thanks in advance for any help on this.
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Irregular outer boundary of Points

2013-06-18 Thread Hedieh Ebrahimi
Hello David,

Thanks for your reply. Delunay 3D will actually work and give me the
irregular area, but if I put the representation to outline to see the
outline of this object, again the outline will be a rectangle.

Is there anyway to see the outer boundary of a group of points without
seeing the interior points, that is is there anyway to see the PERIMETER
of a group of points?

Thanks a lot



On 18 June 2013 13:33, David E DeMarle dave.dema...@kitware.com wrote:

 Try the Delaunay 3D filter.

 David E DeMarle
 Kitware, Inc.
 RD Engineer
 21 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-881-4909


 On Tue, Jun 18, 2013 at 4:47 AM, Hedieh Ebrahimi 
 hedieh.ebrah...@amphos21.com wrote:

 Hi dear ParaView Users,

 I am trying to see the outline of a number of points which I input in to
 paraview as a CSV file
 and then convert to points using Table to Points filter.

 When putting the representation to OUTLINE , ParaView will show me a
 rectangular outline of these points. What I am interested to see is an
 irregular outline or outer boundary of these group of points which shows
 exactly the area covered by the points. ( my points are 3D but I am
 watching them on a 2D plane)

 Is there anyway in ParaView to see the outline of Points as they actually
 are (irregular boundary of the group of points)  and not an estimated
 rectangular boundary as OUTLINE representation?


 Thanks in advance for any help on this.



 ___
 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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview



___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Import Camera positions

2013-06-11 Thread Hedieh Ebrahimi
Hello all ,

I am trying to save an animation. In my animation I am giving a path for
camera positions by adding Camera/Follow Path in the Animation View and
then adding coordinates in the Camera Positions.

I wonder if there is anyway to import all coordinates for camera positions
as a file.

If i click the camera button on the 3D window and try to save the
configurations, it will just save one coordinate for the camera position
and it doen´t save the path of all the coordinates I have added.

Is there anyway to import camera positions from a file ?

It is really time consuming entering all the values by hand.

I´d appreciate any help.

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Change Zoom while writing vedio

2013-06-10 Thread Hedieh Ebrahimi
Hi all,

I am trying to save Animation using Paraview GUI. is there any way to set
Paraview  to zoom in one by some factor after a specific time ?

Once I click the writeAnimation button, I can´t do anything else till the
write is totally finished.

I would really appreciate if somebody could guide me,If there is anyway to
do this, with gui or without gui and with use of python scripts in pvbatch.

Thanks in Advance
Hedie
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Extracting an irregular surface

2013-06-05 Thread Hedieh Ebrahimi
Hi,

I have a question. I have two different csv files, both representing
surfaces of an area.
These two csv files consist of  X,Y,Z  values,
after opening these csv files in paraview and applying the following
filters on each,

/CSV File
1.Table to Points
2. Delunay 2D

I  will get a surface for each of them with one being a subset of the
other. The problem is one of these csv files has more points and represents
a bigger area and will end up to the higher resolution surface. These are
range of x,y values for the two csv files:

1.csv File with more points showing a bigger area

X=[-6000,24000]
Y=[-7000,23000]

2.csv File with less points showing smaller area

X=[1152,14336]
Y=[1408,17024]

Is there any way I can extract from the bigger csv file the area related to
the smaller file ?

I know I can extract from the bigger file the limits of the smaller one?
but the area I am interested in has an irregular shape and I don´t want to
be simply exporting a rectangle.

Is there anyway to do this in paraview?

I hope I´m being clear in my explanation.

Thanks
Hedie
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] (no subject)

2013-04-24 Thread Hedieh Ebrahimi
Hello,

I am trying to use the StreamTracer with custom source on my dataset, but
my Dataset has 100,000,000 cells.

First StreamTracer with custom source is not active on cell data so I had
to convert using Cell Data to Point Data filter.

Then, as my dataset is so big, I can not apply  the StreamTracer with
custom source  directly on top of CellDataToPointData filter, so I tried
to use MaskPoints to reduce the number of points to 5000 and then apply
the filter.

I am trying to draw the velocity field in a cube. The velocity vector array
seems to have passed to the Mask Point as I check in the Information tab of
the Mask Point filter, but then I don´t see any thing. I have also checked
the following in the Mask Point filter:

1. Proportionally Distribute maximum number of Points
2.Random Sampling
3. Generate Vertices
4. Single Vertex per Cell

In the MaskPoints I can see the 5000 Points created if I switch to the
Point View.

Also in the StreamTracer I am using all the defaults. I tried changing the
Maximum Steps, but it didn´t have any effect.

Could anybody please tell me what is my error in this procedure?

Thanks a lot
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] StreamTracer filter on top of the Mask Points filter

2013-04-24 Thread Hedieh Ebrahimi
Hello,

I am trying to use the StreamTracer with custom source on my dataset, but
my Dataset has 100,000,000 cells.

First StreamTracer with custom source is not active on cell data so I had
to convert using Cell Data to Point Data filter.

Then, as my dataset is so big, I can not apply  the StreamTracer with
custom source  directly on top of CellDataToPointData filter, so I tried
to use MaskPoints to reduce the number of points to 5000 and then apply
the filter.

I am trying to draw the velocity field in a cube. The velocity vector array
seems to have passed to the Mask Point as I check in the Information tab of
the Mask Point filter, but then I don´t see any thing. I have also checked
the following in the Mask Point filter:

1. Proportionally Distribute maximum number of Points
2.Random Sampling
3. Generate Vertices
4. Single Vertex per Cell

In the MaskPoints I can see the 5000 Points created if I switch to the
Point View.

Also in the StreamTracer I am using all the defaults. I tried changing the
Maximum Steps, but it didn´t have any effect.

Could anybody please tell me what is my error in this procedure?

Thanks a lot
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Render Windows show in animation when Saving animation in Running Paraview in parallel

2013-04-22 Thread Hedieh Ebrahimi
Hi Alan,

Thanks for your reply. I changed to outline and now its working fine.

Thanks


On 19 April 2013 19:40, Scott, W Alan wasc...@sandia.gov wrote:

  Hedieh,

 Not sure if you have a reply.  I think I am missing your point, but try
 changing the representation from Outline to Solid. This can be done a few
 rows below the “Help” menu label.  It could be that ParaView is initially
 bringing your data in in Outline mode (which is somewhat confusing) in
 order to not take the time to do the rendering if you normally wouldn’t
 render anyway (such as if you then slice or contour).

 ** **

 If that isn’t what you mean, mind posting a screenshot of what you see?***
 *

 ** **

 Alan

 ** **

 *From:* paraview-boun...@paraview.org [mailto:
 paraview-boun...@paraview.org] *On Behalf Of *Hedieh Ebrahimi
 *Sent:* Wednesday, April 17, 2013 9:10 AM
 *To:* paraview@paraview.org
 *Subject:* [EXTERNAL] [Paraview] Render Windows show in animation when
 Saving animation in Running Paraview in parallel

 ** **

 Hello all, 

 I am running paraview in parallel and so as a result of running in
 paraview , my dataset which is a big cube divides in to several render
 outlines (smaller boxes, I am not sure what is the technical term to call
 it ).  When I try to save an animation in parallel mode though, all these
 division outlines are also recorded. 

 I run in parallel just to have faster results on big datasets and I don´t
 want to see the outline of the divisions from parallel run to be recorded
 in the animation. 

 Is there anyway to get rid of these ?

 Thanks

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Render Windows show in animation when Saving animation in Running Paraview in parallel

2013-04-17 Thread Hedieh Ebrahimi
Hello all,

I am running paraview in parallel and so as a result of running in paraview
, my dataset which is a big cube divides in to several render outlines
(smaller boxes, I am not sure what is the technical term to call it ).
When I try to save an animation in parallel mode though, all these division
outlines are also recorded.

I run in parallel just to have faster results on big datasets and I don´t
want to see the outline of the divisions from parallel run to be recorded
in the animation.

Is there anyway to get rid of these ?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Opening xyz file /DEM in Paraview

2013-04-15 Thread Hedieh Ebrahimi
Hello all,

I have a Dataset with .xyz extension. I couldn´t open it in Paraview, so I
converted the file to .csv

now I have a dataset with 3 arrays corresponding to x, y and z co-ordinates.

I used the Table to Points filter and I converted the my coordinates to
points.


Could anybody please tell me how I can open .xyz or .xyz.dat or .dat in
Paraview to represent Digital Elevation Model?

Second, If I am importing csv. files in to paraview, what can i do to get
some kind of grid out of these points to better represent the geometry that
I was planning to show using the DEM ?

Thanks for any help
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Running paraview in parallel

2013-04-12 Thread Hedieh Ebrahimi
Hi all,

I am running Paraview in parallel to get some animations. My dataset is a
big cube and when when running in parallel it is divided in to some
subgroups and the big box now is divided in to the several boxes which are
the number of cores i am running paraview parallely on.

After viewing the animation, these boxes are shown in the animation and I
don´t want them to be present in the animation.

Is there anyway to do this?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Plot selection over time

2013-04-08 Thread Hedieh Ebrahimi
Hello all,

I have a question. Is there anyway to draw the result of a filter over time.
I have a programmable filter which is giving back one number for each time
step and I like to draw this over time, but the plot selection over time
will not do this for me.

I know I can use Excel of course, but is there anyway to pass an array
which is the result of the  filter just before the Plot Selection Over
Time on data set to it and then draw this using paraview?

I mean having filters in order of following:

1.Dataset
3. Python Calculator
4.Plot Selection Over Time


Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Integrate Variables Filter

2013-04-05 Thread Hedieh Ebrahimi
Hi all,

I have a question. I chose a sub-selection of my database by Extract Cells
by Region filter and I am using the integrate filter on it to integrate
the values of one of the arrays which is an attribute of each cell.

My problem is the integration of this value in my selection is giving a
much bigger number than I expect. If i just add the value of  each cells to
know the sum of values , i will get a much smaller number which is actually
the correct number i am expecting.

Does anybody know what the integrate Variables filter actually does and
why I am getting different numbers?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Breakthrough Curve over a slice

2013-04-03 Thread Hedieh Ebrahimi
Hi all,

I have a dataset with one block containing cells. My pipeline looks like
this with the following filters

1.My Dataset
2. Extract Cells by Region
3. Extract Surface

(so by now I come up with my cross-section which is one cell width)

4. Integrate Variables
( Now I integrated the concentration value of each cell for a specific
material)

So by the end of filter number 4,  I just have a value which is the
integral of the concentration of that material in all the cells in the
cross-section. I want to plot this over time, but when i use the  Plot
Selection Over Time It doesn´t show anything.

Question :I know that I don´t have a selection as I just have a value at
the end of number 4, but does anybody have any idea how I could show this
plot over time.


What I am trying to achieve is a breakthrough curve .

Please find below the definition of Breakthrough Curve:

*A plot of relative concentration of a given substance versus time where
relative concentration is defined as the ratio of the actual concentration
to the source concentration. *

Question: Also Could you please give me some idea on how to make a
cross-section with one- cell width?


I´m pretty newbie to this. I´d appreciate any help.

Thanks in Advance
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Looping over cells of a composite dataset

2013-04-03 Thread Hedieh Ebrahimi
Hello,

I need to loop over cells in a composite dataset and then sum up values of
one of the arrays for the whole dataset.

I tried to write this in Python Programmable Filter

for block in inputs[0]:

print block

temp = block.PointData['Total_Cl- [m]']

result=sum(temp)

print(result)


but when I execute the script, I don´t get any results. Does anybody know
what´s going wrong?


Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Geometric center of Dataset

2013-04-02 Thread Hedieh Ebrahimi
Thanks.

The thing is I have a composite dataset, the commands above i guess work
only for simple dataset

So I found that these commands for for a composite dataset and they make a
copy of input.

*from paraview.vtk.dataset_adapter import numpyTovtkDataArray *

*
*
* *

*def flatten(input, output):*
* *

* # Copy the cells etc.*
* *

* output.ShallowCopy(input)*
* *

* newPoints = vtk.vtkPoints()*
* *

* numPoints = input.GetNumberOfPoints()*
* *

* for i in range(0, numPoints):*
* *

* coord = input.GetPoint(i)*
* *

* x, y, z = coord[:3]*



Now after I have made these copy of the input from my composite dataset, I
can not print it to the output using the following:

*print mean(coord)*


and I get the following error :

Traceback (most recent call last):

File string, line 26, in module

File string, line 13, in RequestData

NameError: global name 'coord' is not defined




Does anybody know why I get this error and how I can fix it and so how I
can get the geometric center of a composite dataset ?



Thanks in advance for your help





On 29 March 2013 08:52, Favre Jean jfa...@cscs.ch wrote:


 If you are looking for the Centroid of the dataset, then I would propose 3
 lines of python in a Programmable Filter, using numpy's mean. Cut and paste
 in the script section of a PF:


 from paraview.vtk.dataset_adapter import numpyTovtkDataArray

 coords = inputs[0].Points

 print mean(coords)

 see page 85 of the ParaViewManual for other examples

 http://www.paraview.org/files/v3.98/ParaViewManual.v3.98.pdf
 -
 Jean
 CSCS

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] accessing an array in a specific block of a composite dataset

2013-04-02 Thread Hedieh Ebrahimi
Hello all,

I have a composite dataset. I want to access the arrays on one of the
blocks, then do some simple calculations and then write the output to in a
result array using a Python Programmable Filter.

I saw some samples on how to do this using Simple dataset, but does anybody
have any idea how to access arrays in a composite dataset?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Geometric center of Dataset

2013-03-28 Thread Hedieh Ebrahimi
Hi all,

I have a question. Is there anyway to get the geometric center of all the
cells in the dataset ?

Is there any filter or anyway to do it with python calculator filter ?


Thanks.
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Geometric center of Dataset

2013-03-28 Thread Hedieh Ebrahimi
Hi,

No Cell Centers filter will just find the center of each cell in the data
set.
I am looking for a way to get the Geometric Center of a dataset. So that is
I am looking to find a point from all the number of points I have got. Is
there anyway to do that ? any ideas ?

Thanks


On 28 March 2013 16:44, Moreland, Kenneth kmo...@sandia.gov wrote:

 Does the Cell Centers filter do what you want?

 -Ken

 Sent from my iPad so blame autocorrect.

 On Mar 28, 2013, at 11:36 AM, Hedieh Ebrahimi 
 hedieh.ebrah...@amphos21.com wrote:

  Hi all,
 
  I have a question. Is there anyway to get the geometric center of all
 the cells in the dataset ?
 
  Is there any filter or anyway to do it with python calculator filter ?
 
 
  Thanks.
  ___
  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
 
  Follow this link to subscribe/unsubscribe:
  http://www.paraview.org/mailman/listinfo/paraview


___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] AMR filters are inactive

2013-03-26 Thread Hedieh Ebrahimi
Hi

I have as input to paraview my h5 file and the paraview I installed is the
nightly 3.98.0-253-g6c5e1b6 - 64bits.

When i open my dataset and i try to put the filter AMR Countor on my
dataset, paraview gives stops working and quits.

Could you please tell me what is the reason for this? Is this because I am
using the nightly version or sth else ?

Also how can i use the AMR filters. They are not active for me, neither on
cell data nor after implementing Cell Data to Point Data filter.

Also another question, does anybody know how we can put the origin of two
data sets at the same point? I have 2 datasets and I would like to be able
to compare them and to do that I first need them to have same origin.

Thanks

Id appreciate if you guys have some idea.
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Opening Tec plot plt files with Paraview

2013-03-26 Thread Hedieh Ebrahimi
Hi

I am trying to open a .plt file with Paraview and I get the following error
while trying to open.

ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\Utilities\VisItBridge\databases\AvtAlgorithms\vtkAvtSTMDFileFormatAlgorithm.cxx,
line 122

vtkVisItTecplotBinaryReader (0CEB0090): Unable to find any meshes



ERROR: In
C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx,
line 753

vtkPVCompositeDataPipeline (0CEAFA70): Algorithm
vtkVisItTecplotBinaryReader(0CEB0090) returned failure for request:
vtkInformation (0D2AAD80)

Debug: Off

Modified Time: 115607

Reference Count: 1

Registered Events: (none)

Request: REQUEST_DATA_OBJECT

FORWARD_DIRECTION: 0

ALGORITHM_AFTER_FORWARD: 1



Is there any plugin that i need to be adding to be able to view plt in
Paraview?

Thanks
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Error in Cmake

2013-03-19 Thread Hedieh Ebrahimi
Thanks David, It helped a lot.
Now it works and installed :)


On 19 March 2013 12:12, David E DeMarle dave.dema...@kitware.com wrote:

 I suspect your ParaView doesn't have its git submodules. In your ParaView
 source directory. Type git submodule init and git submodule update. Then
 rerun cmake in your build directory.
 On Mar 19, 2013 7:06 AM, Hedieh Ebrahimi hedieh.ebrah...@amphos21.com
 wrote:

 Hello everybody,

 I am trying to build Paraview  on OpenSUSE installed on a Oracle Virtual
 Machine on main operating system Windows 7 by providing the existing
 dependencies and while Cmaking i get the following error.

 Determined Source Version : 3.98.1-169-gf16285d

 CMake Error at CMakeLists.txt:462 (include):

 include could not find load file:


  vtkModuleAPI



 CMake Error at CMakeLists.txt:463 (include):

 include could not find load file:


  vtkModuleMacros



 CMake Error at CMake/ParaViewMacros.cmake:398 (include):

 include could not find load file:


  vtkForwardingExecutable

 Call Stack (most recent call first):

 CMakeLists.txt:464 (include)



 CMake Error at CMake/ParaViewModuleTop.cmake:44
 (vtk_add_to_module_search_path):

 Unknown CMake command vtk_add_to_module_search_path.

 Call Stack (most recent call first):

 CMakeLists.txt:485 (include)



 Configuring incomplete, errors occurred!


 So I build the VTK from source to get rid of the above error but still I
 have the same error. Does anybody have any idea why this is happening?


 I have attached the CMakeCache.txt. I have deleted my cache and whole
 files in the build directory and have started clean start. but I still have
 the same errors.


 Please help me.


 Thanks in Advance.




 ___
 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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview


___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Error in Make Paraview

2013-03-15 Thread Hedieh Ebrahimi
Hello everyone, I am trying to ccmake, make and then make install Paraview
Superbuild from the Paraview Website, but unfortunatle I find the
instructions not very clear. I would appreciate any help with my questions
below:

http://paraview.org/Wiki/ParaView:Superbuild

1. CMAKE
In the Web page it says that Paraview Superbuild builds ParaView binaries
along with most, if not all, of the external dependencies that ParaView
needs to generate a full featured build of ParaView.


Questions :
Which libraries are a must to install before I reach the cmake and start
anything, I want the paraview to work on OPENSUSE and the paraview must
enable python scripting and get input of
h5 files and run parallel using MPI and have vedio animations output and
all features in the latest version of paraview.

Could anybody tell me how to set my parameters so I would not get error
when I get to Make and Make install .
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] (no subject)

2013-03-15 Thread Hedieh Ebrahimi
Hello everyone, I am trying to ccmake, make and then make install Paraview
Superbuild from the Paraview Website, but unfortunatle I find the
instructions not very clear. I would appreciate any help with my questions
below:

http://paraview.org/Wiki/ParaView:Superbuild

1. CMAKE
In the Web page it says that Paraview Superbuild builds ParaView binaries
along with most, if not all, of the external dependencies that ParaView
needs to generate a full featured build of ParaView.


Questions :
Which libraries are a must to install before I reach the cmake  gui and
start anything, I want the paraview to work on OPENSUSE and the paraview
must enable python scripting and get input of
h5 files and run parallel using MPI and have vedio animations output and
all features in the latest version of paraview.

Could anybody tell me how to set my parameters so I would not get error
when I get to Make and Make install . I know that dependencies
settings  all depend on what features you want from the to-be-built
paraview, but I get different errors each time i try to make and I really
appreciate some advice.

Thank you, Id really appreciate any help.
Heidi
___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] (no subject)

2013-03-15 Thread Hedieh Ebrahimi
PS. I have attached the CMakeCache.txt.

Thank you


On 15 March 2013 12:53, Hedieh Ebrahimi hedieh.ebrah...@amphos21.comwrote:

 Hello everyone, I am trying to ccmake, make and then make install Paraview
 Superbuild from the Paraview Website, but unfortunatle I find the
 instructions not very clear. I would appreciate any help with my questions
 below:

 http://paraview.org/Wiki/ParaView:Superbuild

 1. CMAKE
 In the Web page it says that Paraview Superbuild builds ParaView binaries
 along with most, if not all, of the external dependencies that ParaView
 needs to generate a full featured build of ParaView.


 Questions :
 Which libraries are a must to install before I reach the cmake  gui and
 start anything, I want the paraview to work on OPENSUSE and the paraview
 must enable python scripting and get input of
 h5 files and run parallel using MPI and have vedio animations output and
 all features in the latest version of paraview.

 Could anybody tell me how to set my parameters so I would not get error
 when I get to Make and Make install . I know that dependencies
 settings  all depend on what features you want from the to-be-built
 paraview, but I get different errors each time i try to make and I really
 appreciate some advice.

 Thank you, Id really appreciate any help.
 Heidi

# This is the CMakeCache file.
# For build in directory: /home/hedieh/dev/Build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.


# EXTERNAL cache entries


//Build the testing tree.
BUILD_TESTING:BOOL=ON

//Path to a program.
BZRCOMMAND:FILEPATH=BZRCOMMAND-NOTFOUND

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=

//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON

//CXX compiler.
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//C compiler.
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=' '

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=' '

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Path to a program