[Paraview] Interfacing with FE simulation using Catalyst

Dan Lipsa dan.lipsa at kitware.com
Fri Nov 21 12:14:54 EST 2014


>
>
> When I click on the icon located near the producer to visualize the data,
> I get an Extract component added to the pipeline. Trying to visualize this,
> then throws me the following errors:
>
> ---
> ERROR: In
> /home/ancel/Downloads/ParaView-v4.2.0-source/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
> line 810
> vtkPVPostFilterExecutive (0x3efc890): Input for connection index 0 on
> input port index 0 for algorithm vtkPVPostFilter(0x3efbe70) is of type
> vtkDataObject, but a vtkPolyData is required.
>
>
> ERROR: In
> /home/ancel/Downloads/ParaView-v4.2.0-source/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
> line 810
> vtkPVPostFilterExecutive (0x3efc890): Input for connection index 0 on
> input port index 0 for algorithm vtkPVPostFilter(0x3efbe70) is of type
> vtkDataObject, but a vtkPolyData is required.
>
>
> ERROR: In
> /home/ancel/Downloads/ParaView-v4.2.0-source/ParaViewCore/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx,
> line 504
> vtkSMParaViewPipelineControllerWithRendering (0x38bbc00): Data cannot be
> shown in the defaulted render view!!
> ---
>

I have not run an example for an unstructured grid. It should work
similarly though.
I recently wrote a Catalyst adapter for an unstructured grid. I will run
Catalyst Live with that to see how that works.

You could try however to save images or entire data from the pipeline
script as it is done in the Catalyst examples.



> A few more questions come in my mind now:
> - If I understand correctly and if the user wants to pause the simulation,
> for example when he has only 1 timestep, he would have to do the following
> steps:
> * Connect with catalyst in Paraview
> * Set a breakpoint for time step 0
> * launch the simulation
> Is that alright ?
> Would it be possible to do this with the play/next frame paraview buttons ?
>

The communication between catalyst and the simulation happens only at time
steps. Because of that, Catalyst could only stop the simulation at time
step 2.


- Looking at the last lines of the blog post concerning pvserver. Is
> pvserver catalyst enabled by default ?
>
Yes.


> Does it mean that I can build the following pipeline ?
> Paraview (local computer) <-> pvserver (cluster frontal node) <-> catalyst
> enabled simulation (cluster nodes)
>

 You need to enable MPI to be able to run this. pvserver is the paraview
server that does all the rendering, only images are sent to ParaView (GUI).

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20141121/ee2c7c6e/attachment.html>


More information about the ParaView mailing list