From: Kirk, B. \(JSC-EG\) <ben...@na...> - 2006-03-08 18:26:49
|
libMesh's mesh generation utilities are pretty limited. However, you can always make a mesh with external software & read it in with one of the many supported file formats. I believe GMSH will create tet meshes and is free. Alternatively, you can use the libMesh interface to tetgen to build a tet mesh for some predefined points (c.f. http://www.tu-harburg.de/~sufp/LIBMESH_Beschreibung/index.html). Bottom line, libMesh is an unstructured mesh analysis package which can use a variety of mesh types. There is a large array of finite element preprocessing software available to actually *create* these meshes. For example, I routinely use Gridgen or Cubit to generate meshes. If all you want to do is prove to yourself that the library can use tets build a simple example which reads in one of the provided reference tets (refrenece_elements/3D), uniformly refines it, and then computes on it. -Ben -----Original Message----- From: lib...@li... [mailto:lib...@li...] On Behalf Of David Xu Sent: Wednesday, March 08, 2006 12:17 PM To: John Peterson Cc: lib...@li...; Roy Stogner Subject: Re: [Libmesh-users] 3D tetrahedral element (TET4 TET10) unavailable? > > I was testing TET4 and TET10 in my 3D code and I could compile it. > > When I ran it, I got: > > > > ERROR: Unrecognized 3D element type. > > [0] src/mesh/mesh_generation.C, line 671, compiled Mar 3 2006 at=20 > 00:17:16 > make: *** [run] Aborted > > And I looked at=20 > mesh_generation.C, line 671, there's no entry for > TET4, TET10,=20 > Pyramid5, InfHex8, InfHex16, InfHex18, InfPrism6, > InfPrism12 that=20 > are listed in the introduction. > > If you are building a mesh with the mesh_generation.C functions, I=20 > don't think tets are supported. I think you can do hexes in 3D and=20 > quads/triangles in 2D if you use the internal mesh generator. > So, how should I build a mesh using TETs in libmesh or I can only do it with extermal mesh generator? Libmesh has the header file such as <cell_tet10.h>. Could you elaborate more? Thanks, David ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Libmesh-users mailing list Lib...@li... https://lists.sourceforge.net/lists/listinfo/libmesh-users |