Structured Tedrahedral Mesh Generation

August 20, 2009 by Luigi Giaccari 
Filed under: Algorithms, Computational Geometry, FEM 
2 Comments
VN:F [1.8.8_1072]
Rating: +1 (from 1 vote)
VN:F [1.8.8_1072]
Rating: 7.0/10 (3 votes cast)
MexImage

STRUCTTETRAMESH:
StructTetraMesh is a tool to build structured tetreaedral mesh on cuboid dataset. This is usefull in avoiding delaunay 3D triangulation that for  this kind of dataset are particularly slow and numerically unstable.
This tool allows a huge speed improvement against delaunayn for 3D points, the output triangulation will also be “slivers-less”, this is  particularly important for programs that need a conform triangulation like
fem analysis and search structure algorithms.

INPUT:
x,y,z must be vectors, they represent the axis of the cuboid. It is
also very important they need to be sorted. To improve performances there
is no check for sorted vectors so you have to check yourself.

OUTPUT:
The Cuboid points are stored in the p: N x 3 array, the tetraedral mesh
with points index is stored in tetr: Ntetr x 4 array. First point is
flagged with index one.

EXAMPLE

x=1:4;
y=1:6;
z=1:7;

[p,tetr]=StructTetraMesh(x,y,z);
figure(1)
axis equal
tetramesh(tetr,p);

Author: Giaccari Luigi
Created: 18/04/2009

For infos/questions/suggestions : giaccariluigi@msn.com

Download Now

VN:F [1.8.8_1072]
Rating: 7.0/10 (3 votes cast)
VN:F [1.8.8_1072]
Rating: +1 (from 1 vote)
Structured Tedrahedral Mesh Generation7.0103

Popularity: 4% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS

Related Posts

Comments

2 Comments on Structured Tedrahedral Mesh Generation

  1. Ezequiel Acevedo on Tue, 26th Jan 2010 08:56
  2. hola Giaccari Luigi, estoy trtando de correr tu codigo de matlab pero me aparece un error en el siguuiente codigo.,

    if
    nargin~=3

    error(
    ‘3 inputs required ‘) cuales , me sale error, que va aqui…
    podrias ayyudarme

    gracias

    [Reply]


    Luigi Giaccari Reply:

    You have to input the 3 vectors. Please use english! ;-)

    [Reply]

    UA:F [1.8.8_1072]
    Rating: 0.0/5 (0 votes cast)
    UA:F [1.8.8_1072]
    Rating: 0 (from 0 votes)

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


Include MATLAB code in your comment by doing the following:

<pre lang="MATLAB">

%insert code here

</pre>