Problem running brick.py

Submitted by aerohit on Wed, 09/04/2008 - 08:18

Hi there. I installed MeshPy and tried your sample code on the introductory page. But it generates a file test.vtk and generates the following output.

rohit@aerolapdesk ~/Codes/FEM/MeshPy> python brick.py VtkData.init.warning: No data defined

What should I do to actually get a display.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

First off, this means everything worked perfectly as designed. To get a display, download Paraview or Visit and open test.vtk.

MeshPy is firstly a Python extension, i.e. it is meant to be used from your own Python programs, where you hand it a surface mesh, and it gives you a volume mesh back.

Post new comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>.
  • You can use Markdown syntax to format and style the text. Also see and Markdown Extra for tables, footnotes, and more.

More information about formatting options