Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Finite Element Analysis

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Finite Element Analysis


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Finite Element Analysis
  • Date: Mon, 21 Mar 2011 18:56:40 +0100
  • Organization: GeometryFactory

Le lundi 21 mars 2011 18:33:26, Qianqian Fang a écrit :

> On 03/21/2011 10:47 AM, Sebastien Loriot (GeometryFactory) wrote:

> >> http://nmr.mgh.harvard.edu/~fangq/temp/post_extract.off

> >

> > Your off file contains triangles that are not consistently oriented

> > to describe a polyhedron. You need to reorient triangles.

> >

> > If you use the Polyhedron demo of CGAL, do:

> > "Operations -> Orient polygon soup"

> > To produce a 3D mesh you can then do:

> > Save in back to an off file and reload it.

> > Then do:

> > "Operation -> Create a tetrahedral mesh"

> >

> > or directly use your code.

>

> I used JMeshLib (http://jmeshlib.sourceforge.net/) to reorient

> all triangles, but the output surface mesh still crashed the

> polyhedral mesher. The surface meshes before and after

> the reorientation can be found here

>

> http://nmr.mgh.harvard.edu/~fangq/temp/pre_cgalpoly.off

> http://nmr.mgh.harvard.edu/~fangq/temp/pre_cgalpoly_reorder.off

>

> any more comments?

I tried the example CGAL-3.8-beta1/examples/Mesh_3/mesh_polyhedral_domain.cpp on your file, with a small change to the criteria (facet_size=4, facet_distance=0.04, cell_size=4), and it produced a mesh of 23196 vertices.

What source code do you use? I checkouted from the SVN of iso2mesh but you do not provide the source code of cgalmesh.exe.

--

Laurent Rineau, PhD

R&D Engineer at GeometryFactory http://www.geometryfactory.com/

Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.16.

Top of Page