[vtkusers] howto: rectangular grid, circle

Nico Schlömer nico.schloemer at gmail.com
Mon Feb 8 19:38:29 EST 2010


Oh, okay, so if I understand correctly FieldData lets me add random
data to what I have in the file anyway. Is that right?

Are there other ways of including more data into the XML-style files?
I was for example imagining something like

<field="myparameter" name="kappa" type="double" value="3.5427" />

for storing parameters connected to the solution of the PDE. I may
want to store more heavy data about the grid, for example, too.

Well, I guess the problem is that I'm somewhat oblivious as to what
VT* can and cannot do for me here. E.g., I can't say now if putting
all relevant parameter data in one (custom format) file, and the
solution itself in VT* format in another is a sensible thing to do.

Cheers,
Nico


On Tue, Feb 9, 2010 at 1:25 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Mon, Feb 8, 2010 at 7:12 PM, Nico Schlömer <nico.schloemer at gmail.com>
> wrote:
>>
>> Hi,
>>
>> thanks for your quick answer.
>>
>> > Here is a brief summary of the data types available in VTK:
>> > http://vtk.org/Wiki/VTK/Tutorials/3DDataTypes
>>
>> I don't really understand what's so *3D* about it (e.g., Image Data).
>> Is there other 2D stuff, too?
>>
>> > and an unstructured grid:
>> > http://vtk.org/Wiki/VTK/Examples/IO/WriteVTU
>>
>> Thanks a lot for the link to the examples page, that's really really
>> helpful. I was able to play around with it and do this and that.
>> Still, I'm missing a few things, e.g., tutorials for writing other
>> data types (e.g., VTR files). I'm also not quite clear now on the
>> options that I could use in conjunction with the writers. Is that
>> something I'd have to discover by the doxygen documentation, or are
>> there comprehensive example/option description resources?
>>
>> I was specifically asking myself if it's possible to include custom
>> info into XML-style VT* files. I'm solving PDEs here, and I'd like to
>> store the result of one run, and I thought it might be a good idea to
>> store it in a format which I can actually *look* at, too, rather than
>> just plain numbers in columns. I'd like to store additional info about
>> the respective PDE, too, which for example in the old-style VTK files
>> I always used the second row for (although space was rather limited
>> there).
>>
>> Cheers,
>> Nico
>>
>
> I believe what you're looking for is called "FieldData" in VTK lingo:
> http://www.vtk.org/Wiki/VTK/Examples/FieldData
>
> Thanks,
>
> David
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list