[vtkusers] FEM - Interaction

Fırat Doğan firatdogan at gmail.com
Wed Jul 25 09:25:26 EDT 2007


Folks

I am a new starter to VTK and Paraview; installed vtk, crated and compiled
sample applications in C++ without any problem.

In my research I have adopted FEM code (includes Metis and Petsc math
classes) which calculates deformation on given body with respect to given
forces and produces *.vtk files which shows output of deformation which can
be seen or animated in Paraview.

Now I would like to generate simple gui which shows my geometry (simple 3d
cube) and allows users to interact with it using mouse clicks to simulate
applied forces using VTK and after calculation done (hopefully in 1/20 sc)
it must show deformations results (simply vtk files or I may use another
format).

As a summary, I would like to create GUI which supports:

- Interaction with my model
-Read VTK files (or something else) to produce output in 1/20 second.


1- But I dont know where to start using VTK, is there any sample codes for
force(mouse clicks)  interaction, output results using piping etc ?
2- Or can I just use paraview (I can read vtk files)  and my FEM code
together over such a piping mechanism using tcl/tk scripting language in
easier way ?

Can you quide me ?



On 6/8/07, 付文宇 <fuwenyu at emails.bjut.edu.cn> wrote:
>
> Hi everyone:
>    I can get stl file from a series of slices image through moving cube
> arithmetic. I know stl file represent a triangulation boundary of the
> solid. Stl
> file is composed only of an extensive list of triangle facets. These
> facets are
> composed of the coordinates of the three vertices of the triangle,in
> addition to
> the coordinates of the normal oriented to the exterior of the solid.STL
> triangulation can not be used directly in the finite element
> method(FEM),mainly
> because it requires specific characteristics in the geometrical
> description of the
> domain to be computed. I want to know whether there are suitable classes
> in vtk to
> process  these triangle facets or not.
>
> Thanks in advance
>
>    Fu Wenyu
>    2007.06.08
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070725/3287f0d9/attachment.htm>


More information about the vtkusers mailing list