[Paraview] best strategy for multi-block data?
j s
j.s4403 at gmail.com
Wed Jul 27 11:08:58 EDT 2011
My data writer is already written. It writes binary data to an
unstructured mesh file using zlib compression and base64 encoded data.
It would not be very easy to rewrite it using the vtk libraries. My
writers would be a lot easier to maintain with documentation of the
file format.
Regards,
Juan
On Tue, Jul 26, 2011 at 8:19 PM, Andy Bauer <andy.bauer at kitware.com> wrote:
> It may be easiest just to link to the VTK libraries and create
> vtkDataObjects and then use the vtkXMLMultiBlockDataWriter.
>
> Andy
>
> On Tue, Jul 26, 2011 at 11:21 AM, j s <j.s4403 at gmail.com> wrote:
>>
>> Thank you that worked. Is there a document available for the
>> multi-block format? I remember when I implemented in this on the
>> past, I relied exclusively on email correspondence in order to get my
>> output writer correct.
>>
>> Thanks
>>
>>
>>
>>
>> On Mon, Jul 25, 2011 at 1:15 PM, Andy Bauer <andy.bauer at kitware.com>
>> wrote:
>> > I think the best way to proceed would be to use the extract blocks
>> > filter to
>> > extract all of the blocks that have the desired fields for your
>> > calculator.
>> > You may want to group the unstructured grids with the same field data
>> > into a
>> > vtkMultiPieceDataSet to make it easier to extract the blocks that you
>> > want.
>> >
>> > Andy
>> >
>> > On Mon, Jul 25, 2011 at 2:10 PM, j s <j.s4403 at gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I am currently using the multiblock dataset (vtm file) format to have
>> >> multiple unstructured regions (vtu files). Not all of the fields are
>> >> available in all of the regions. When I try to use a calculator to
>> >> calculate a field, I am getting errors for fields which don't exist in
>> >> each region.
>> >>
>> >> So when I try to calculate E = Electric_Field_x * iHat +
>> >> Electric_Field_y *jHat, it complains about missing Acceptors.
>> >>
>> >> What is the best possible way to avoid these problems? Is there a
>> >> preferred file format? The whole reason I selected the multiblock
>> >> format, was so that I don't have to store all the fields on all
>> >> regions.
>> >>
>> >> This is paraview 3.3. for Ubuntu 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
>> >
>> >
>
>
More information about the ParaView
mailing list