[Paraview] Catalyst example on dynamic producer setup

Benson Muite benson_muite at yahoo.com
Mon Aug 22 05:48:57 EDT 2016


Hi Luigi,

Some old examples here:
https://en.wikibooks.org/wiki/Parallel_Spectral_Numerical_Methods/Visualization_with_ParaView_CoProcessing

Regards,
Benson

On 08/18/2016 11:33 AM, Luigi Calori wrote:
> Thank's for the prompt replay, we do not mind custom code the scripts, 
> It would be good to have usage code examples
> or pointers to open source projects that are using Catalyst in such a way.
>
> Any hints will be really appreciated.
>
> Best regards
> Luigi
>
>
>
> On 18/08/2016 03:23, Andy Bauer wrote:
>> Hi,
>>
>> This is possible but at this point requires custom coding the Python 
>> script to specify which fields are needed. This should be done during 
>> the RequestDataDescription() call. You can use 
>> vtkCPInputDataDescription's IsFieldNeeded() and IsFieldPointData() 
>> methods to specify what's needed in the Python script and then create 
>> the requested VTK data arrays in the adaptor after that. There are 
>> plans to allow the GUI script generation to specify which data arrays 
>> are needed but no concrete date (likely over a year unless there's 
>> significant support for the development effort) for when that 
>> functionality will be available.
>>
>> Cheers,
>> Andy
>>
>> On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori <l.calori at cineca.it 
>> <mailto:l.calori at cineca.it>> wrote:
>>
>>     Hi everybody: we are starting instrumenting one Fortran
>>     simulation code with Paraview catalyst.
>>     We have started from the fortran full example as our grid is
>>     basically a 3d rectilinear grid that we are currently
>>     handling like imagedata.
>>     Our code has a quite high number of scalar fields ( 50 ) and a
>>     single velocity field.
>>     If we use a single input and a single data producer with all the
>>     field inside, the Paraview client slows down, probably due to
>>     memory usage or transfer.
>>     For visualization we would just need the vector field and one or
>>     two of the scalar fields.
>>     It would really good to be able to dinamically ( possibly each
>>     time step) being able to select which of the available scalar
>>     variable pass as scalar field.
>>     In the examples the c++ adaptor code add fields in a fixed way.
>>     We would like to pass information from python ( and maybe from
>>     Paraview GUI ) to the adaptor code to dynamically change it's
>>     behaviour.
>>
>>     Is it at all possible? any hints or better example code.
>>
>>     Sorry if dumb question, I' m a newbie in this
>>
>>     Thanks in advance.
>>
>>     -- 
>>     Luigi Calori
>>     SuperComputing Applications and Innovation Department
>>     CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna)
>>     - ITALY
>>     Tel: +39 051 6171509 <tel:%2B39%20051%206171509>  Fax: +39 051
>>     6132198 <tel:%2B39%20051%206132198>
>>     hpc.cineca.it <http://hpc.cineca.it>
>>
>>     _______________________________________________
>>     Powered by www.kitware.com <http://www.kitware.com>
>>
>>     Visit other Kitware open-source projects at
>>     http://www.kitware.com/opensource/opensource.html
>>     <http://www.kitware.com/opensource/opensource.html>
>>
>>     Please keep messages on-topic and check the ParaView Wiki at:
>>     http://paraview.org/Wiki/ParaView <http://paraview.org/Wiki/ParaView>
>>
>>     Search the list archives at:
>>     http://markmail.org/search/?q=ParaView
>>     <http://markmail.org/search/?q=ParaView>
>>
>>     Follow this link to subscribe/unsubscribe:
>>     http://public.kitware.com/mailman/listinfo/paraview
>>     <http://public.kitware.com/mailman/listinfo/paraview>
>>
>>
>
>
> -- 
> Luigi Calori
> SuperComputing Applications and Innovation Department
> CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY
> Tel: +39 051 6171509  Fax: +39 051 6132198
> hpc.cineca.it
>
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160822/1da0e1cc/attachment.html>


More information about the ParaView mailing list