[Paraview] how to extract elevation at a point for a dynamic, implicit surface

2013-10-04 Thread Chris Kees
I can't seem to work out the  proper sequence  of filters for the following.

I have a 2D triangular mesh with a time-dependent scalar field, say phi. I
want to generate a single isoline, say phi=0, which I can do with the
contour filter, but then I want to generate a single point by intersecting
the isoline with a vertical line, say x=1. Then I want to save the time
series of that point, which would look something like  t_0, 1,  y(t_0),
t_1, 1, y(t_1),...,t_n since the x-coordinate doesn't change.

Thanks,
Chris
___
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] Failed to locate server for newly registered proxy ( animation , AnimationScene2 )

2013-03-29 Thread Chris Kees
Hi,

I've been having an intermittent failures initiating connections to
remove servers. That is, I have successfully used paraview in
cliient/server mode many times but also had many connection failures.
All I get is the error:

Failed to locate server for newly registered proxy ( animation ,
AnimationScene2 )

It shows up after I select the server configuration and click connect
(i.e. when it would normally be ssh'ing to the server). Ssh works and
I have no trouble connecting to the servers manually with ssh.
Paraview crashes after the error message is printed.  Sometimes after
3 or 4 failures(restarting paraview each time), the connection will
succeed.

I'm attaching the servers files. This happens with paraview 3.14.1 and
3.14.0, on mac os x 10.8 and ubuntu 12.10, and on commercial broadband
and gigabit ethernet connections. I am using kitware paraview binaries
on the client, while the server binaries match those versions and were
built by sys admins. Unfortunately we don't have paraview 3.98
installed on the servers yet so I can't test the latest. The
configurations I'm using out of the list are 'garnet', 'diamond', and
ERDC Utility Server. Same error for all configurations at about the
same frequency.

Any ideas?

Thanks,
Chris


default_servers.pvsc
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] issue with python/qt wrapping on ubuntu: Cannot create GLX context. Aborting.

2012-03-14 Thread Chris Kees
This crash is apparently due to my attempt at off screen rendering.
Not sure if it's and os mesa problem on ubuntu or just a problem with
the way I was trying to do off screen rendering.

On Tue, Mar 6, 2012 at 1:31 PM, Chris Kees cek...@gmail.com wrote:
 Hi,

 I've got an issue running a python/QT/VTK app built from the paraview-3.14
 master branch and using qt-4.8 on ubuntu 11.04.  This has been working on
 darwin as recently as a month ago and used to work on linux. The code
 crashes with error:

 ERROR: In
 /home/cekees/proteus/externalPackages/ParaView/VTK/Rendering/vtkXOpenGLRenderWindow.cxx,
 line 629
 vtkXOpenGLRenderWindow (0x4ff4460): Cannot create GLX context.  Aborting.

 When I insert the python debugger before the main bunch of Qt setup code and
 single step through it, the code runs fine without error. If I let it
 continue and/or remove the debugging statement entirely, it gives me the
 crash. I've include the python code below. Any ideas on what is causing
 this?

 Thanks,
 Chris



         skipComm = False
         self.comm = comm
         self.compManager = vtkCompositeRenderManager()
         if not skipComm:
             self.communicator = vtkMPICommunicator()
             self.controller = vtkMPIController()

 self.controller.SetCommunicator(self.communicator.GetWorldCommunicator())
             self.compManager.SetController(self.controller)
             if useCoPro:
                 self.copro =
 initializeCoProcessor(self.comm,self.controller)
         self.myProcId = comm.rank()
         self.numProcs = comm.size()
         self.isMaster = comm.isMaster()
         self.background=(1,1,1)
         #self.background=(0,0,0)
         self.textColor=(0,0,0)
         self.name=name
         #vtk object dictionary
         self.vod={}
         if comm.rank() == 0:
             if hasQt:
                 if useMainWindow:
                     import pdb
                     pdb.set_trace()
                     #Qt widgets
                     self.frameWidget = QtGui.QFrame(g.mainWindow)
                     self.hbox = QtGui.QHBoxLayout()
                     self.iren = QVTKRenderWindowInteractor(self.frameWidget)
                     self.iren.Initialize()
                     if comm.size()  1:
                        self.iren.Disable()
                     else:

 self.iren.SetInteractorStyle(vtkInteractorStyleTrackballCamera())
                     self.renWin = self.iren.GetRenderWindow()
                     self.renWin.SetWindowName(name)
                     self.hbox.addWidget(self.iren)
                     self.frameWidget.setLayout(self.hbox)
                     g.tabWidget.addTab(self.frameWidget,title)
                     g.tabWidget.setCurrentWidget(self.frameWidget)
                     screen = QtGui.QDesktopWidget().screenGeometry()
                     size = g.mainWindow.geometry()
                     (x,y) = (screen.width()-comm.size()*size.width())/2,
 (screen.height()-size.height())/2
                     g.mainWindow.move(x+comm.rank()*size.width(),y)
                     g.mainWindow.show()
                 else:
                     #self.iren =
 vtkRenderWindowInteractor()#QVTKRenderWindowInteractor()
                     self.iren = QVTKRenderWindowInteractor()
                     self.iren.Initialize()
                     if comm.size()  1:
                        self.iren.Disable()
                     else:

 self.iren.SetInteractorStyle(vtkInteractorStyleTrackballCamera())
                     self.renWin = self.iren.GetRenderWindow()
                     #self.renWin = self.compManager.MakeRenderWindow()
                     #self.iren.SetRenderWindow(self.renWin)
                     self.renWin.SetWindowName(name)
                     self.iren.show()
             else:
                 self.iren = vtkRenderWindowInteractor()

 self.iren.SetInteractorStyle(vtkInteractorStyleTrackballCamera())
                 self.iren.Initialize()
                 self.renWin = self.compManager.MakeRenderWindow()
                 self.iren.SetRenderWindow(self.renWin)
                 self.renWin.SetWindowName(name)
         else:
             self.renWin = self.compManager.MakeRenderWindow()
             self.renWin.OffScreenRenderingOn()

___
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] Mac OS X 10.7.3 install failures

2012-03-13 Thread Chris Kees
Hi,

The stuff (paraview.app etc.)  in my build tree works but 'make
install' fails in part because it's trying to install the vtk python
module in

$PREFIX/bin/Python

which is a link to
$PREFIX/Library/Frameworks/Python.framework/Versions/2.7/bin/python
(mac OS is partially blind to case)

If I manually change the install location to something else like
$PREFIX/paraview-vtk-stuff, then things get further but verify_app
still fails. Does this look familiar to anybody?

Chris
___
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] ComputeVisiblePropBounds

2012-03-12 Thread Chris Kees
Hi,

My simple pyqt gui using vtk is crashing with a seg fault during
parallel runs since updating to 3.14 (master from git repo). The
system is Ubuntu 11.10 (GNU/Linux 3.0.0-11-generic x86_64). I noticed
that right before it crashes it prints ComputeVisiblePropBounds and
found that a simple print statement has (presumably) been left in the
code (see below). 1) Have there been changes to the parallel API that
you would expect would break code which was working under 3.12 and 2)
Should I check out something besides master for now and if so which
tag or branch?

Thanks,
Chris

void vtkParallelRenderManager::ComputeVisiblePropBounds(vtkRenderer *ren,
double bounds[6])
{
  cout  ComputeVisiblePropBounds  endl;
___
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] issue with python/qt wrapping on ubuntu: Cannot create GLX context. Aborting.

2012-03-06 Thread Chris Kees
Hi,

I've got an issue running a python/QT/VTK app built from the paraview-3.14
master branch and using qt-4.8 on ubuntu 11.04.  This has been working on
darwin as recently as a month ago and used to work on linux. The code
crashes with error:

ERROR: In
/home/cekees/proteus/externalPackages/ParaView/VTK/Rendering/vtkXOpenGLRenderWindow.cxx,
line 629
vtkXOpenGLRenderWindow (0x4ff4460): Cannot create GLX context.  Aborting.

When I insert the python debugger before the main bunch of Qt setup code
and single step through it, the code runs fine without error. If I let it
continue and/or remove the debugging statement entirely, it gives me the
crash. I've include the python code below. Any ideas on what is causing
this?

Thanks,
Chris



skipComm = False
self.comm = comm
self.compManager = vtkCompositeRenderManager()
if not skipComm:
self.communicator = vtkMPICommunicator()
self.controller = vtkMPIController()

self.controller.SetCommunicator(self.communicator.GetWorldCommunicator())
self.compManager.SetController(self.controller)
if useCoPro:
self.copro =
initializeCoProcessor(self.comm,self.controller)
self.myProcId = comm.rank()
self.numProcs = comm.size()
self.isMaster = comm.isMaster()
self.background=(1,1,1)
#self.background=(0,0,0)
self.textColor=(0,0,0)
self.name=name
#vtk object dictionary
self.vod={}
if comm.rank() == 0:
if hasQt:
if useMainWindow:
import pdb
pdb.set_trace()
#Qt widgets
self.frameWidget = QtGui.QFrame(g.mainWindow)
self.hbox = QtGui.QHBoxLayout()
self.iren = QVTKRenderWindowInteractor(self.frameWidget)
self.iren.Initialize()
if comm.size()  1:
   self.iren.Disable()
else:

self.iren.SetInteractorStyle(vtkInteractorStyleTrackballCamera())
self.renWin = self.iren.GetRenderWindow()
self.renWin.SetWindowName(name)
self.hbox.addWidget(self.iren)
self.frameWidget.setLayout(self.hbox)
g.tabWidget.addTab(self.frameWidget,title)
g.tabWidget.setCurrentWidget(self.frameWidget)
screen = QtGui.QDesktopWidget().screenGeometry()
size = g.mainWindow.geometry()
(x,y) = (screen.width()-comm.size()*size.width())/2,
(screen.height()-size.height())/2
g.mainWindow.move(x+comm.rank()*size.width(),y)
g.mainWindow.show()
else:
#self.iren =
vtkRenderWindowInteractor()#QVTKRenderWindowInteractor()
self.iren = QVTKRenderWindowInteractor()
self.iren.Initialize()
if comm.size()  1:
   self.iren.Disable()
else:

self.iren.SetInteractorStyle(vtkInteractorStyleTrackballCamera())
self.renWin = self.iren.GetRenderWindow()
#self.renWin = self.compManager.MakeRenderWindow()
#self.iren.SetRenderWindow(self.renWin)
self.renWin.SetWindowName(name)
self.iren.show()
else:
self.iren = vtkRenderWindowInteractor()

self.iren.SetInteractorStyle(vtkInteractorStyleTrackballCamera())
self.iren.Initialize()
self.renWin = self.compManager.MakeRenderWindow()
self.iren.SetRenderWindow(self.renWin)
self.renWin.SetWindowName(name)
else:
self.renWin = self.compManager.MakeRenderWindow()
self.renWin.OffScreenRenderingOn()
___
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] help with undefined symbol _ZN19QAbstractProxyModel11setItemDataERK11QModelIndexRK4QMapIi8QVariantE

2012-03-05 Thread Chris Kees
I'm wondering if anybody has seen the following error (at runtime) with the
current master (3.14) on a 64 bit Ubuntu machine:

paraview: symbol lookup error: /paraview-3.14/libQVTK.so.pv3.14: undefined
symbol:
_ZN19QAbstractProxyModel11setItemDataERK11QModelIndexRK4QMapIi8QVariantE

It looks like a c++ symbox, but I can't tell from the name mangling whether
it's a VTK derived class from Qt or a Qt symbol.  I have installed the Qt
SDK (4.8). Maybe I need to be using just a system wide Qt library install?

Here's some more info on the machine:

$ uname -a
Linux 3.0.0-11-generic #17-Ubuntu SMP Fri Sep 9 17:48:40 UTC 2011 x86_64
x86_64 x86_64 GNU/Linux
___
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] make install errors

2011-12-03 Thread Chris Kees
Hi,

Here are a few minor issues installing paraview 3.12 on os x 10.7.  The
installed app and libraries still work fine

1) Not sure what this one means but the directory is there, though it has a
space in the path
-- 310/426: fixing up '/Users/cekees/proteus/darwinports/ParaView
3.12.0-468-gacdee51.app/Contents/Frameworks/Python.framework/Versions/2.7/Python'
install_name_tool: can't open input file:
/Users/cekees/proteus/darwinports/ParaView
3.12.0-468-gacdee51.app/Contents/Frameworks/Python.framework/Versions/2.7/Python
for writing (Permission denied)
install_name_tool: can't lseek to offset: 0 in file:
/Users/cekees/proteus/darwinports/ParaView
3.12.0-468-gacdee51.app/Contents/Frameworks/Python.framework/Versions/2.7/Python
for writing (Bad file descriptor)
install_name_tool: can't write new headers in file:
/Users/cekees/proteus/darwinports/ParaView
3.12.0-468-gacdee51.app/Contents/Frameworks/Python.framework/Versions/2.7/Python
(Bad file descriptor)
install_name_tool: can't close written on input file:
/Users/cekees/proteus/darwinports/ParaView
3.12.0-468-gacdee51.app/Contents/Frameworks/Python.framework/Versions/2.7/Python
(Bad file descriptor)

2) Also not sure what this means:

CMake Error at /Applications/CMake
2.8-5.app/Contents/share/cmake-2.8/Modules/BundleUtilities.cmake:784
(message):
  error: verify_app failed
Call Stack (most recent call first):
  /Applications/CMake
2.8-5.app/Contents/share/cmake-2.8/Modules/BundleUtilities.cmake:666
(verify_app)

Applications/ParaView/LastConfigureStep/ParaView_OSX_MakeStandAloneBundle.cmake:157
(fixup_bundle)
  Applications/ParaView/LastConfigureStep/cmake_install.cmake:31 (INCLUDE)
  Applications/ParaView/cmake_install.cmake:37 (INCLUDE)
  Applications/cmake_install.cmake:32 (INCLUDE)
  cmake_install.cmake:118 (INCLUDE)


3) The extension modules for co-processing are not getting installed into
the python module. The current setup would requires users to set
DYLD_LIBRARY_PATH to the build directory ( ParaView-bin/bin is the only
place I can find vtkCoProcessorPython.so). Maybe this relates the install
errors in (1)?

4) This one is really trivial, but ... the help message for
PARAVIEW_INSTALL_DEVELOPMENT says that that options installs files for
plugin development. A more precise message would have saved me some time:
installs header files for paraview and vtk development. I don't develop
plugins but I use vtk directly.

-Chris
___
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] ParaViewWeb TomCat

2011-12-02 Thread Chris Kees
Hi Seb,

I thought I'd go ahead and try to install PWServer. I'm running on OS X
10.7 from the paraview and paraviewweb git hub sources updated yesterday.
 I'm using activemq-cpp-library-3.4.0. The paraview build passed all it's
test and pwserver built with no complaints. I get the fulling when testing.
Any idea where to look for the problem? Thanks,Chris

% make test
Running tests...
Test project /Users/cekees/ParaViewWeb-darwinports
Start 1: TestSimpleScenario
1/3 Test #1: TestSimpleScenario ...***Exception: SegFault  8.20
sec
Start 2: TestProxyProperties
2/3 Test #2: TestProxyProperties ..***Exception: SegFault 10.74
sec
Start 3: TestOK
3/3 Test #3: TestOK ...***Exception: SegFault  9.86
sec

0% tests passed, 3 tests failed out of 3

Total Test time (real) =  28.93 sec

The following tests FAILED:
  1 - TestSimpleScenario (SEGFAULT)
  2 - TestProxyProperties (SEGFAULT)
  3 - TestOK (SEGFAULT)
Errors while running CTest
make: *** [test] Error 8
[minikees-3:~/ParaViewWeb-darwinports] cekees% more
Testing/Temporary/LastTest.log
Start testing: Dec 02 14:14 CST
--
1/3 Testing: TestSimpleScenario
1/3 Test: TestSimpleScenario
Command: /Users/cekees/ParaViewWeb-darwinports/ParaViewAdapter/PWServer
--jms=0 --session-identifier=TestSimpleScenario --log-level=ERROR
--batch-file=/Users/cekees/ParaViewWeb/ParaViewAdapter/Testing/Python/TestSimpleScenario.py
Directory:
/Users/cekees/ParaViewWeb-darwinports/ParaViewAdapter/Testing/Python
TestSimpleScenario start time: Dec 02 14:14 CST
Output:
--
end of output
Test time =   8.19 sec
--
Test Failed.
TestSimpleScenario end time: Dec 02 14:15 CST
TestSimpleScenario time elapsed: 00:00:08


On Wed, Nov 30, 2011 at 11:01 AM, Andy Bauer andy.ba...@kitware.com wrote:

 Hi Chris,

 I think Sebastien and I need to talk a bit about this to figure it out
 since neither of us has enough knowledge on our own to solve this.

 I cc'ed the paraview mailing list since someone else may have some good
 input too or may want to follow your path in the future.

 Andy

 On Tue, Nov 29, 2011 at 11:39 PM, Chris Kees cek...@gmail.com wrote:

 Hi Sebastien and Randall,

 I think I'm probably the user Randall mentioned earlier.  I'm responding
 off list because these seems a bit detailed for a regular post--feel free
 to post it back to the paraview list if you like.

 Here's a rough idea of what I'm up to. I'm running the IPython notebook
 server (http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html).
 I'm looking for a way to do interactive 3D graphics inside an IPython
 notebook. I don't claim to know all the details of how the notebook
 server works but I think the set of connected services looks something like
 this:

 WebClient (browser) - Tornado Web Server - IPython Client - IPython
 Kernel/Hub -1-to-N- Python Engines

 where - is just some abstract connection (e.g. http, zeromq
 sockets,etc).

 This set of processes basically gets started when I start the IPython
 Kernel on the command line of the server, though I can start engines
 later as well and connect/disconnect browsers without killing anything
 else.  The kernel starts up a Tornado web server to begin serving up
 notebook pages, which are JSON files containing executable python code
 and text cells. When somebody  points a browser to a notebook (say
 localhost:8000/some_path/test.pynb). You can then execute and run the
 python code in the code cells by doing various things on the webpage
 representing the notebook (push 'run cell' etc.). The code cells can be
 executed either on the client python process, or the code can be sent
 through the hub to be run on a collection of engines also running python
 (and communicating with each other via MPI in my case).

 If the code cell is run on engines you can pull objects in the engines'
 namespaces back onto the client.  Now, on the client, if an expression
 returns an object that implements the interface of an IPython DisplayObject
 (
 http://ipython.org/ipython-doc/dev/api/generated/IPython.core.display.html),
 then it gets displayed as part of the webpage in an output cell.
 DisplayObject's can return HTML, JSON, javascirpt, SVG, and range of image
 formats. I'm attaching a pdf of a simple IPython notebook that has an
 expression returning a PNG DisplayObject at the very end.

 In my case, the python engines are running MPI and solve a PDE in
 parallel. The data structures for the solution all get attached to VTK
 objects and a visualization pipeline on the engines.  Also, Andy Bauer
 helped me get those VTK objects attached to paraview using the
 servermanager module a few weeks ago so I can do co-processing now as well.
   I'm already able to composite, render, and interact with 3D objects using
 my Qt front end and the python VTK API.  I

Re: [Paraview] ParaViewWeb TomCat

2011-12-02 Thread Chris Kees

On Dec 2, 2011, at 2:47 PM, Sebastien Jourdain wrote:

 Hi Chris,
 
 Sorry to get back to you only now, but your question is not that trivial.
 
 So what still remains unclear for me is, how do you plan to exchange
 
 the data from your visualization pipeline on the engines and PWServer
 that is needed by ParaViewWeb ? Are you thinking of a VTK file, MPI
 stage or something else ?
 
 What I was thinking at a first thought was:
 
 - In your engine once your computation is done, you dump the data
 somewhere and you launch from your python a PWServer with some
 initialization script that will load your data so when a web client
 connects to it, everything will be setup as you expect.
 

As a first cut, I think it would be fine to have the engines write out their 
data.  Andy can correct me if I'm wrong, but I think we could use the 
co-processing to write just the subset of geometry and field data that we want 
to display in the notebook. If I understand correctly, with that approach we 
could  then just focus on starting PWServer, reading in the data files, and 
setting up the communication between tornado and tomcat. 

For future reference, when we want to move beyond dumping the data, here is how 
each engine is connected to paraview: A module called vtkViewers has been 
imported by each python engine and executed the following code:
  
from paraview import servermanager
global globalController, newGlobalController
paraview.options.batch = True
paraview.options.symmetric = True
pm = servermanager.vtkProcessModule.GetProcessModule()
globalController = pm.GetGlobalController()
...

In addition to this bit, each engine has attached it's mesh and field data 
arrays to the proper VTK containers and set up a parallel visualization 
pipeline.  It can potentially also read in a co-processing script to set up 
additional visualization.  I was hoping that this setup would eventually allow 
us to start a PWServer and attach it to the pvserver which is directly 
connected to the VTK objects in memory on each engines.

 - On the ParaViewWeb side (tomcat web app) you will have to patch the
 code so it won't prevent you to connect to a process that was not
 started by itself. (I can help you with that, it should be pretty
 simple)

Thanks, that would be very helpful.

 - Find a way to forward the HTTP requests from tornado to tomcat
 

I'll look into that. I'm going to visit the IPython notebook developers next 
week and can get some help on working with tornado. I think it will help if I 
can get the standard ParaViewWeb setup working.

 But once again, I'm not sure I get the right picture of your setup and
 depending on how your VTK processing is done, other solution may be
 possible.
 
 Hope this provides some hints on your wondering,
 
 Seb
 
 PS: For your later mail did you get the source form here
 (http://paraview.org/ParaViewWeb.git) which is not github ?

Yes, sorry, I got it from paraview.org. 

 PS2: Most of the documentation is available here:
 http://www.paraview.org/Wiki/ParaViewWeb
 

I've been working from that documentation.  Somewhere on the list somebody 
mentioned upgrading to activemq 3.4 so I did too. I should only need activemq 
cpp libs, paraview, and PW server to successfully build and make tests, right? 
Or do I need to install and startup activemq and tomcat?

Thanks,
Chris

 On Fri, Dec 2, 2011 at 3:34 PM, Chris Kees cek...@gmail.com wrote:
 Hi Seb,
 
 I thought I'd go ahead and try to install PWServer. I'm running on OS X 10.7
 from the paraview and paraviewweb git hub sources updated yesterday.  I'm
 using activemq-cpp-library-3.4.0. The paraview build passed all it's test
 and pwserver built with no complaints. I get the fulling when testing. Any
 idea where to look for the problem? Thanks,Chris
 
 % make test
 Running tests...
 Test project /Users/cekees/ParaViewWeb-darwinports
 Start 1: TestSimpleScenario
 1/3 Test #1: TestSimpleScenario ...***Exception: SegFault  8.20
 sec
 Start 2: TestProxyProperties
 2/3 Test #2: TestProxyProperties ..***Exception: SegFault 10.74
 sec
 Start 3: TestOK
 3/3 Test #3: TestOK ...***Exception: SegFault  9.86
 sec
 
 0% tests passed, 3 tests failed out of 3
 
 Total Test time (real) =  28.93 sec
 
 The following tests FAILED:
  1 - TestSimpleScenario (SEGFAULT)
  2 - TestProxyProperties (SEGFAULT)
  3 - TestOK (SEGFAULT)
 Errors while running CTest
 make: *** [test] Error 8
 [minikees-3:~/ParaViewWeb-darwinports] cekees% more
 Testing/Temporary/LastTest.log
 Start testing: Dec 02 14:14 CST
 --
 1/3 Testing: TestSimpleScenario
 1/3 Test: TestSimpleScenario
 Command: /Users/cekees/ParaViewWeb-darwinports/ParaViewAdapter/PWServer
 --jms=0 --session-identifier=TestSimpleScenario --log-level=ERROR
 --batch-file=/Users/cekees/ParaViewWeb/ParaViewAdapter/Testing/Python/TestSimpleScenario.py
 Directory:
 /Users/cekees/ParaViewWeb-darwinports

[Paraview] python paraviewweb examples

2011-09-16 Thread Chris Kees
Hi,

Is it possible to write the javascript representation of a VTK object
from python?

Thanks,
Chris
___
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] [Xdmf] unexpected usage of ghost sets for geometry and topology with XDMF reader

2011-07-05 Thread Chris Kees
Utkarsh,

Thanks a lot. I'm putting together a good data set to use as a test
and will put it on a server later tonight or tomorrow.

Chris

On Tue, Jul 5, 2011 at 4:54 PM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Chris,

 I was able to locate the conversation/patch you are referring to. If
 there's a sample dataset that you can share that I can use for
 testing, I'd like to add a dashboard test for this so that we don't
 break this functionality in the future.

 Utkarsh

 On Tue, Jul 5, 2011 at 4:31 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 Chris,

 Do you any additional info about the patches that you are referring
 to? Did they make it into Xdmf repo, but just haven't made it into
 ParaView yet?

 Utkarsh

 On Tue, Jul 5, 2011 at 4:09 PM, Chris Kees cek...@gmail.com wrote:
 Hi,

 I'm using XDMF for storing results of parallel unstructured finite
 element computations. I worked with some of the developers for the
 XDMF reader on getting proper display of the overlapping (ghost)
 entities a while back, but it doesn't seem like those changes were
 really merged into the trunk. Paraview 3.10 still doesn't appear to
 eliminate duplicate points and cells quite the way I would expect it
 to. Is there anybody still working on that functionality that could
 help me get some changes permanently made to paraview? I can supply
 data sets of various complexity (quad,tri,hex,tet, (bi-)quadratic,
 dynamic, etc) in a dropbox folder and am am willing to change the way
 we're organizing the information in XDMF (though if my memory serves,
 we had a patched paraview that worked fine with our current
 representation).

 Thanks,
 Chris
 ___
 Xdmf mailing list
 x...@lists.kitware.com
 http://www.kitware.com/cgi-bin/mailman/listinfo/xdmf



___
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] installation of paraview and vtk into system python's site-packages

2010-11-04 Thread Chris Kees
Hi,

I'd like to install all the python extensions for paraview and vtk into my
python interpreter instead of pvpython/vtkpython. I used to do this with
just the VTK extensions by running the usual 'python setup.py install' in
VTK/Wrapping/Python but can't find a similar route for the paraview stuff. I
know how to set it up via environment variables; I'm asking about how to do
a standard install.

Thanks,
Chris
___
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] SC10 CoProcessing example

2010-11-04 Thread Chris Kees
Hi,

I've got a few questions about the python example, CoProcessingExample.py.
First, FYI, when downloaded to my mac the script contains indentation errors
so python can't parse it. Don't know what is going on (maybe our firewall is
trying to prevent us from using python by messing up the indentation!).
Second, my interepreter couldn't find the mpi module even though my
PYTHONPATH etc were set up as on the wiki. I use mpi4py to manipulate mpi
anyway, so I just modified the script to use it instead. Will that be OK in
general or do I need to track down the mpi module in order for the
coprocessing library to work correctly?

In terms of using the example, I constructed an image source in paraview and
colored it with the pointData, then saved the state script. I had to get
some of the name strings straightened out but the example appeared to run
and generated a sequence of png files. Does anybody have a simpler
state/coprocessing script for that example that I can use for learning
purposes?  The next thing to do is expose my solver's vtk data structures to
the co-processor and generate a coprocessing script for it. I'm afraid given
my weak understanding of what is going on, generating the state script from
one of my xdmf data sets and trying to get it to work inside the
coprocessing is going to be difficult (our i/o and existing vtk
visualization are completely independent). It might be easier if I new how
to wrote the state script by hand to execute something very simple. I've got
lots of vtk pipelines set up for the data under our current approach to
runtime vtk viz so I was hoping I could just paste in something similar into
the state script.

Thanks,
Chris
___
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 3.7 from cvs on Mac OS X, x86_64, Qt 4.5.3 w/Cocoa

2009-10-30 Thread Chris Kees

Hi all,

Just to add a data point, I compiled dbus and Qt 4.5.3 from source on  
OS X 10.5.8(x86_64) and still have greyed out filters in PV 3.7. I'm  
interested in what the enhancements do as well.


Chris
On Oct 30, 2009, at 5:47 AM, Takuya OSHIMA wrote:


Hi Michael  all,

With OS X 10.6.1 + Qt 4.5.3/Cocoa/x86_64 + PV 3.7 builds I've run into
either the occasional greyed out filters when launched in-place
without make install or crashes at startup after make install. So I
tried your ParaView3-enhancements
( http://www.paraview.org/pipermail/paraview/2009-October/ 
014246.html )

and indeed it works perfectly at least in builtin server mode after
running make install (really great). I wonder what is the secret about
your enhancements?

Takuya

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN

From: Michael Wild them...@gmail.com
Subject: Re: [Paraview] ParaView 3.7 from cvs on Mac OS X, x86_64,  
Qt 4.5.3 w/Cocoa

Date: Wed, 28 Oct 2009 20:47:31 +0100



Hi,

I've noticed that the filters menu is greyed out after loading a  
valid

data set on the version of paraview I built yesterday from cvs (also
updated yesterday).  I have the same version of paraview built on an
i386 mac using the Qt SDK instead of the Cocoa 32/64  framework, and
it does not have this problem. Also, the filters appear to work  
(e.g.

if I hit the isosurface button the filter runs correctly).  Any idea
what is happening here? I believe somebody mentioned that the QtDBus
framework is messed up in the Qt Cocoa package, maybe I just need to
build Qt from source.

Thanks,
Chris



Hmm, I built it as a x86_64 binary with Qt-Cocoa 4.5.3 on OS X 10.6
and I don't see this issue. Also, my i386/ppc universal binary built
against the 10.5 SDK doesn't show this.

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


___
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 3.7 from cvs on Mac OS X, x86_64, Qt 4.5.3 w/Cocoa

2009-10-28 Thread Chris Kees

Hi,

I've noticed that the filters menu is greyed out after loading a valid  
data set on the version of paraview I built yesterday from cvs (also  
updated yesterday).  I have the same version of paraview built on an  
i386 mac using the Qt SDK instead of the Cocoa 32/64  framework, and  
it does not have this problem. Also, the filters appear to work (e.g.  
if I hit the isosurface button the filter runs correctly).  Any idea  
what is happening here? I believe somebody mentioned that the QtDBus  
framework is messed up in the Qt Cocoa package, maybe I just need to  
build Qt from source.


Thanks,
Chris
___
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 3.7 from cvs on Mac OS X, x86_64, Qt 4.5.3 w/Cocoa

2009-10-28 Thread Chris Kees

Hi,

I've noticed that the filters menu is greyed out after loading a valid  
data set on the version of paraview I built yesterday from cvs (also  
updated yesterday).  I have the same version of paraview built on an  
i386 mac using the Qt SDK instead of the Cocoa 32/64  framework, and  
it does not have this problem. Also, the filters appear to work (e.g.  
if I hit the isosurface button the filter runs correctly).  Any idea  
what is happening here? I believe somebody mentioned that the QtDBus  
framework is messed up in the Qt Cocoa package, maybe I just need to  
build Qt from source.


Thanks,
Chris
___
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] Volume rendering problem in Server/Client mode

2009-05-15 Thread Chris Kees

Hi Huina,

Have you tried running the merge blocks filter and selecting volume  
visualization on that?


Chris
On May 15, 2009, at 11:38 AM, Li, Huina wrote:


Hi,

I have Paraview installed on a linux cluster, but the volume  
rendering does not seem to work with Server/Client mode. It leaves  
an Outline box on the screen with nothing else. Other functions  
work fine and volume rendering works fine on a single-processor. Any  
guesses as to why. Thanks.


Huina


___
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] Color bar rescaling for transient datasets

2009-05-14 Thread Chris Kees
I would be interested in a simple way  to do this too.  It seems like  
a potentially expensive choice since it requires loading every time  
step, but it would be worth having it as a simple option.


On May 14, 2009, at 8:13 AM, Renato Elias wrote:

Ok, I've just found a way using the Temporal Statistics filter to  
get the maximum and minimum values. After that we just need to fix  
the color bar range using these values.


Just to keep the question:

Is there any simpler or automatic way to do that?

Cheers

Renato.

On Thu, May 14, 2009 at 10:05 AM, Renato Elias rnel...@gmail.com  
wrote:


Does anyone know if it's possible to rescale the color bar  
considering all values of a transient dataset? I just need to get  
the maximum and minimum values across all time steps.


thanks for any help.

Renato.

___
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] Building Parallel ParaView on 64 bit Linux System

2009-05-14 Thread Chris Kees

Hi Pete,

I tried to forward my CMakeCache for a  64 bit CentOS machine, but it  
got blocked. I built a 64 bit version using openmpi built on gcc. I  
think I installed openmpi with yum, which puts it in /usr/lib64/ 
openmpi/1.2.7-gcc/bin/mpicc.  Also, if you're using Qt  4.5.1 you also  
had to download and install a new version of the fontconfig library  
and build 64 bit shared  libraries for it.


Chris

On May 13, 2009, at 5:51 PM, Peter Schmitt wrote:


Hello,
I am attempting to build Parallel ParaView on a 64 bit Linux (CentOS  
5.2) machine.


C/C++ compilers:
x86_64-redhat-linux-gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.


MPI compilers:
mpicc for 1.2.7 (release) of : 2005/06/22 16:33:49
pgcc 7.2-4 64-bit target on x86-64 Linux -tp penryn-64
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2008, STMicroelectronics, Inc.  All Rights Reserved.

The build gets about 35% of the way through before reporting an error:

### start snip ###
...
[ 35%] Built target vtkParallel
Linking CXX shared library ../../bin/libvtkHybrid.so
/usr/bin/ld: /opt/local/pgi-7.2/linux86-64/7.2/lib/ 
libpgc.a(va_arg.o): relocation R_X86_64_32 against `a local symbol'  
can not be used when making a shared object; recompile with -fPIC
/opt/local/pgi-7.2/linux86-64/7.2/lib/libpgc.a: could not read  
symbols: Bad value

collect2: ld returned 1 exit status
gmake[2]: *** [bin/libvtkHybrid.so.pv3.4] Error 1
gmake[1]: *** [VTK/Hybrid/CMakeFiles/vtkHybrid.dir/all] Error 2
gmake: *** [all] Error 2
### end snip ###

I have added -fPIC to both  CMAKE_CXX_FLAGS  and   
MPI_COMPILE_FLAGS with no luck  In order to troubleshoot this  
more, I'd like to see the actual link command that's killing the  
build.  How do I see the full link command using cmake + gmake?


Cheers,
Pete
___
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] install vtk headers and libs from paraview?

2009-05-05 Thread Chris Kees
Thanks, that worked. With that approach I still have to do a build of  
VTK and  and a build of paraview (which also builds its own vtk) so I  
get two copies of the vtk libraries installed. I was hoping to go one  
step further and have paraview use the  version of vtk I use for  
everything else.  It's not that big of deal though. I can live with  
two sets of vtk libraries.


Chris

On May 4, 2009, at 12:55 PM, Andy Bauer wrote:

The VTK source is under the ParaView3 source directory and as far as  
I know pulled directly from the VTK cvs repository.  You should be  
able to do a separate VTK installation with:

ccmake ParaView3 directory/VTK

On Mon, May 4, 2009 at 1:33 PM, Chris Kees christopher.e.k...@usace.army.mil 
 wrote:

Hi all,

Is there an easy way to do a complete vtk installation directly from  
the paraview source? I'd like to get what a direct vtk install  
usually puts in lib/vtk-5.3 and include/vtk-5.3 so that my vtk-based  
applications can use the result of paraview build instead of  
requiring that I build vtk AND paraview.


Thanks,
Chris___
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] qt 4.5 64-bit mac os x

2009-05-04 Thread Chris Kees

Sean,

I was/am using the cvs source (updated this morning). I think the  
problem was just that I forgot to apply the VTK-bug-7818-patch.txt. I  
appear to have a working 64-bit paraview with a 64-bit python  
interpreter running from the build directory now.


The install target still tries to put a stand alone bundle in / 
Applications, regardless of the value of CMAKE_INSTALL_PREFIX. If I  
set the DESTDIR environment variable, then it tries to put it in  
DESTDIR/CMAKE_INSTALL_PREFIX, which means I get something like /opt/ 
local/opt/local.  Does  anybody know how to properly get a paraview  
executable in CMAKE_INSTALL_PREFIX? I don't really need a  bundle,  
just one that uses the libraries and binaries installed in  
$CMAKE_INSTALL_PREFIX/lib/paraview-3.5. I suppose I could set  
CMAKE_INSTALL_PREFIX to ' /' and DESTDIR to /opt/local.


Thanks,
Chris

On May 1, 2009, at 6:05 PM, Sean McBride wrote:


On 4/30/09 5:47 PM, Chris Kees said:


I've been trying to compile paraview in 64 bit using the qt 4.5
binaries distributed by trolltech. It looks like the variable
QT_MAC_USE_COCOA is not being set by cmake, but it looks like it's
needed to compile with the new qt (need -DQT_MAC_USE_COCOA).  Does
anybody know what's going on here?


Which version of Paraview?  of VTK?  You'll probably want CVS in both
cases.  Also, see:
http://public.kitware.com/Bug/view.php?id=7818

--

Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer  Montréal, Québec, Canada




___
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] install vtk headers and libs from paraview?

2009-05-04 Thread Chris Kees

Hi all,

Is there an easy way to do a complete vtk installation directly from  
the paraview source? I'd like to get what a direct vtk install usually  
puts in lib/vtk-5.3 and include/vtk-5.3 so that my vtk-based  
applications can use the result of paraview build instead of requiring  
that I build vtk AND paraview.


Thanks,
Chris 
___

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] qt 4.5 64-bit mac os x

2009-04-30 Thread Chris Kees

Hi,

I've been trying to compile paraview in 64 bit using the qt 4.5  
binaries distributed by trolltech. It looks like the variable  
QT_MAC_USE_COCOA is not being set by cmake, but it looks like it's  
needed to compile with the new qt (need -DQT_MAC_USE_COCOA).  Does  
anybody know what's going on here?


Thanks,
Chris
___
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] extract surface of multiblock mesh

2009-04-05 Thread Chris Kees

Berk,

Thanks for correcting me. I'll try adding the vtkGhostLevels to the  
XDMF and see how that goes.


Chris
On Apr 4, 2009, at 2:50 PM, Berk Geveci wrote:


The right way to deal with this situation is to mark the ghost cells
as ghost. If you create a cell array called vtkGhostLevels and assign
0 to inside cells and 1 to ghost cells, you should not need
MergeBlocks or CleanToGrid. Note that this array has to be of type
unsigned char. There are actual benefits to keeping ghost levels since
some algorithms will produce better results.

-berk

On Thu, Apr 2, 2009 at 6:37 PM, Chris Kees
christopher.e.k...@usace.army.mil wrote:
I turned off the overlapping domain decomposition (ghost cells) for  
a simple

problem and the sequence

MergeBlocks-CleantoGrid-ExtractSurface-Clip

shows just the physical boundary of the problem (clipped open so  
you can see
inside). Also volume visualization and streamline calculation works  
with no

processor boundary artifacts.

From what I understand, there are no filters in paraview or  
abstractions in

the XDMF data model  at this time that will allow paraview to read in
overlapping blocks and really make use of the ghost cells  
correctly. For now
truncating our output to only owned elements will solve our  
problems.

Thanks again for the help.

Chris

On Mar 30, 2009, at 2:06 PM, Chris Kees wrote:

Thanks for  the help. I also tried suggestions from Paul, Ken, and  
Berk,
but it does seem that I'm stuck right now unless I provide  
ParaView with
more information. Since streamlines are computed correctly on the  
current
multiblock mesh I just generated the mesh on a single processor  
and used
ExtractSurface-Clip on that mesh to visualize the geometry around  
the

streamlines from the multiblock grid.

On the first method: Each of my UnstructuredGrids in the  
Multiblock Grid
is a subdomain in an overlapping decomposition of the domain. Each  
of the
subdomains has several elements of overlap (the layer of ghost  
cells is more
than one element thick).  Presumably the streamline generation  
works now on
the multiblock grid because the overlap is loaded into ParaView.  
Is there a
way I can just set a cell-centered attributed to identify the  
ghost cells so
that surface extraction and volume visualization will work too?   
Currently
volume visualization of the multiblock grid shows only a single  
subdomain
and volume visualization after MergeBlocks shows the whole domain  
but with

overlap regions being more opaque.

On your other method, we have both the external boundary mesh and a
pre-mesh polygonal representation of the boundaries available in the
simulator. You are suggesting that I just dump one of those to a  
valid

ParaView format as well, is that correct?

Chris

On Mar 30, 2009, at 9:14 AM, Jean Favre wrote:


Chris Kees wrote:


So far I've tried MergeBlocks-ExtractSurface-FeatureEdges- 
Clip and
various permutations that I've seen in previous posts and the  
wiki,
but I always end up with the  surfaces on the interior of the  
tank as

if it still sees each subdomain as a closed surface.


In fact, it seems to me that ParaView does the best it can. Your
unstructured mesh is partitioned in 512 pieces and [presumably],  
you did

not specify ghost-cells at the partition boundaries. Without
ghost-cells, ParaView has no information to help decide whether an
outside face looks towards the outside world, or to another  
partition. I

don't think any combination of filters would help you. Removing
duplicate points may only remove duplicate fake boundaries, but  
these

fake boundaries must be removed all together.

I use two methods to achieve what you want. Ghost-cells, or another
multi-piece object containing the different boundary types (solid,
symmetries, inflow, outflow, etc) stored as vtkPolyData. These  
are read

in from the models on disk.

Jean --
Swiss National Supercomputing Center





___
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



___
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

Re: [Paraview] extract surface of multiblock mesh

2009-03-30 Thread Chris Kees
Thanks for  the help. I also tried suggestions from Paul, Ken, and  
Berk, but it does seem that I'm stuck right now unless I provide  
ParaView with more information. Since streamlines are computed  
correctly on the current multiblock mesh I just generated the mesh on  
a single processor and used ExtractSurface-Clip on that mesh to  
visualize the geometry around the streamlines from the multiblock grid.


On the first method: Each of my UnstructuredGrids in the Multiblock  
Grid is a subdomain in an overlapping decomposition of the domain.  
Each of the subdomains has several elements of overlap (the layer of  
ghost cells is more than one element thick).  Presumably the  
streamline generation works now on the multiblock grid because the  
overlap is loaded into ParaView. Is there a way I can just set a cell- 
centered attributed to identify the ghost cells so that surface  
extraction and volume visualization will work too?  Currently volume  
visualization of the multiblock grid shows only a single subdomain and  
volume visualization after MergeBlocks shows the whole domain but with  
overlap regions being more opaque.


On your other method, we have both the external boundary mesh and a  
pre-mesh polygonal representation of the boundaries available in the  
simulator. You are suggesting that I just dump one of those to a valid  
ParaView format as well, is that correct?


Chris

On Mar 30, 2009, at 9:14 AM, Jean Favre wrote:


Chris Kees wrote:

So far I've tried MergeBlocks-ExtractSurface-FeatureEdges-Clip and
various permutations that I've seen in previous posts and the wiki,
but I always end up with the  surfaces on the interior of the tank as
if it still sees each subdomain as a closed surface.


In fact, it seems to me that ParaView does the best it can. Your
unstructured mesh is partitioned in 512 pieces and [presumably], you  
did

not specify ghost-cells at the partition boundaries. Without
ghost-cells, ParaView has no information to help decide whether an
outside face looks towards the outside world, or to another  
partition. I

don't think any combination of filters would help you. Removing
duplicate points may only remove duplicate fake boundaries, but these
fake boundaries must be removed all together.

I use two methods to achieve what you want. Ghost-cells, or another
multi-piece object containing the different boundary types (solid,
symmetries, inflow, outflow, etc) stored as vtkPolyData. These are  
read

in from the models on disk.

Jean --
Swiss National Supercomputing Center





___
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] extract surface of multiblock mesh

2009-03-27 Thread Chris Kees

Hi,

I would like to extract the surface mesh of a 3D tetrahedral mesh and  
clip off one boundary to see what is inside. This is to visualize a  
flow simulation around an object inside a tank.  The tetrahedral mesh  
is partitioned into 512 subdomains so if you look in the information  
viewer you see

Multiblock-DataSet
Block 0
0: UnstructredGrid
...
511: UnstructuredGrid

So far I've tried MergeBlocks-ExtractSurface-FeatureEdges-Clip and  
various permutations that I've seen in previous posts and the wiki,  
but I always end up with the  surfaces on the interior of the tank as  
if it still sees each subdomain as a closed surface.  I'm sure people  
do this all the time, but I can't seem to get it right. I'm wondering  
if I've written the data incorrectly so there is no simple way for  
paraview to eliminate internal processor boundaries from the domain.


Chris
___
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] Mac OS X - Standalone bundle

2008-11-13 Thread Chris Kees
Hi David,

I¹m trying to install the paraview bundle in CMAKE_INSTALL_PREFIX but am not
having any luck. If  I set DESTDIR it just prepends that to
CMAKE_INSTALL_PREFIX for the stuff the goes in lib,bin,... and trys to put
the bundle in DESTDIR/Applications. What I would like is to put the
paraview.app in CMAKE_INSTALL_PREFIX along with the standard
lib/bin/include  setup. This is how Cmake.app gets installed. If I just try
to run Œmake install¹ with CMAKE_INSTALL_PREFIX set, it trys  to put the
bundle in /Applications, which doesn¹t seem right to me. Is there an easy
way to make everything get installed in CMAKE_INSTALL_PREFIX?

Thanks,
Chris 


On 10/31/08 8:58 AM, David Cole [EMAIL PROTECTED] wrote:

 You need to do a make install to produce the standalone bundle.
 
 I recommend using...:
 DESTDIR=pvinst make install
 
 ...and then getting the standalone bundle out of the pvinst directory...
 
 Why do you say the build directory is needed to launch it? What happens if you
 move/rename the build directory and try to launch the standalone bundle?
 
 
 On Fri, Oct 31, 2008 at 7:00 AM, Pierre-Olivier Dallaire
 [EMAIL PROTECTED] wrote:
 Good morning,
 
 with the latest version of Paraview (3.5.0), I understand that there is a new
 script
 (paraview_OSX_MakeStandAloneBundle.sh) to create the Mac OS X application
 bundle.
 However, the application only weights now 15 M and in fact is not standalone
 as before -
 the build directory is needed to launch it. Any thoughts on how to solve this
 problem ?
 
 Best regards,
 
 PO
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview
 
 
 
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview