[Paraview] Writer Plugin does not release the handle to the output files

Cory Quammen cory.quammen at kitware.com
Wed May 2 09:38:05 EDT 2018


Kenichiro,

I looked at your code for just a minute, but I wonder if you need to close
your file after writing it at

https://github.com/Kenichiro-Yoshimi/FluentWriterPlugin/blob/master/vtkFluentWriter.cxx#L1245

HTH,
Cory

On Tue, May 1, 2018 at 10:30 PM kenichiro yoshimi <rccm.kyoshimi at gmail.com>
wrote:

> Hi,
>
> I am creating a writer plugin for Fluent in ParaView 5.5.0 built under
> Windows 10. This plugin aims at writing vtkUnstructuredGrid input out
> to a Fluent format file as a 3D mesh.
>
> The plugin is built and loaded into ParaView successfully. But when
> Paraview opens the attached input and saves it using this
> FluentWriterPlugin, a problem occurs. That is, the plugin does not try
> to lock the output files after writing and closing them. So I can not
> refer to them until I close the ParaView itself.
>
> The following is my implementation.
> https://github.com/Kenichiro-Yoshimi/FluentWriterPlugin
>
> What is going wrong here?
>
> Thanks in advance,
> yoshimi
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/paraview
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180502/28caaa76/attachment.html>


More information about the ParaView mailing list