[Paraview] Is it possible to scale a velocity field in paraview by a scalar and to sum the two velocity field too?

2015-06-11 Thread Eleonora Piersanti
I have two velocity field coming from an eigenproblem. One corresponds to the real part of the eigenvector and one to the imaginary part.Since I would normalize the phase I need to scale them and to sum them in some way. Is it possible to do it directly with paraview? Kind

Re: [Paraview] Is it possible to scale a velocity field in paraview by a scalar and to sum the two velocity field too?

2015-06-11 Thread David E DeMarle
Sure, check out the calculator, or better yet the python calculator filter. Section 5.8 in the new paraview guide. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jun 11, 2015 at 7:02 AM, Eleonora Piersanti

Re: [Paraview] Is it possible to scale a velocity field in paraview by a scalar and to sum the two velocity field too?

2015-06-11 Thread Eleonora Piersanti
Thank you. And what about summing two vectors? Il Giovedì 11 Giugno 2015 16:08, David E DeMarle dave.dema...@kitware.com ha scritto: Sure, check out the calculator, or better yet the python calculator filter. Section 5.8 in the new paraview guide. David E DeMarle Kitware, Inc. RD

Re: [Paraview] Info about AMR datasets/structures

2015-06-11 Thread Berk Geveci
Hi John, There is some info here: http://www.kitware.com/source/home/post/32 It doesn't answer all the questions you asked but it is a decent reference. vtkOverlappingAMR implements a somewhat strict Berger-Colella style AMR hierarchy: * Refinement ratio across levels is constant * Each block

[Paraview] pqPipelineSource::getOutputPort( 0 ). Available number of output ports: 0

2015-06-11 Thread Peter
Hello, I've made some progress, but its not the complete answer. To make the Catalyst examples display in Paraview, you have to go ParaviewCatalystConnect AFTER the client has initialized Catalyst. You also have to turn OFF the file write in the catalyst script. Try the following changes

Re: [Paraview] pqPipelineSource::getOutputPort( 0 ). Available number of output ports: 0

2015-06-11 Thread Ufuk Utku Turuncoglu (BE)
Hi Peter, I followed your steps in Paraview 4.2 (compiled under MacOS 10.10.3) and as you mentioned, i could see the pipeline in the pipeline browser. I also decrease to time step (from 100 to 3) to test the code. After finishing the time step loop the ParaView gives following error, ERROR:

Re: [Paraview] pqPipelineSource::getOutputPort( 0 ). Available number of output ports: 0

2015-06-11 Thread Peter
Hi Ufuk, Good. You get the same result as me. I think the error messages start after the timestep loop has finished. The good news is that Paraview handles the termination of the client without crashing. Can you find out how to get Paraview to render each timestep? I guess to implement

Re: [Paraview] pqPipelineSource::getOutputPort( 0 ). Available number of output ports: 0

2015-06-11 Thread Ufuk Utku Turuncoglu (BE)
Actually, that must be handled by the Python script without any modification in the source code (C++). As i know, the C++ code is just responsible for data conversion between model code and the ParaView to create VTK data representation of actual data but in some reason, the ParaView does not