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

kenichiro yoshimi rccm.kyoshimi at gmail.com
Wed May 2 18:25:43 EDT 2018


Hello Cory,

Thank you for your time!  I really appreciate your help.
Indeed, the problem was related with the act of closing files. It
works well now.

Best regards,
yoshimi

2018-05-02 22:38 GMT+09:00 Cory Quammen <cory.quammen at kitware.com>:
> 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.


More information about the ParaView mailing list