Menu Content


  CM2 MeshTools® technical FAQ

Can I evaluate the mesher(s) before purchasing?

Yes. Please fill out a trial license request form. We will send you back a link to download a trial package (for Windows 32-bit) containing the MS Visual Studio projects and 45-day free trial key(s). You will have to rebuild the examples with MS Visual Studio (.NET 2003, 2005, 2008, 2010 or 2012). You are free to modify the examples.

I want to try out the 2-D mesher(s). How to draw the boundary line?

CM2 MeshTools is not a full program. It is a C++ library to be integrated in other applications. There is no GUI in CM2 MeshTools. We have concentrated on geometric algorithms to offer the best meshing tools possible. Input and output data are arrays (C++ matrix and vector classes). To draw boundary lines, you have to bind it to an application with GUI or use a separated program for that and read the data from a file to feed the mesh generators. An other solution (but limited to simple domains) is to use the auxiliary functions of meshtools1D as described in the Tutorial & User's Manual.

I have tested CM2 TriaMesh/QuadMesh/TetraMesh with some of our data and the output meshes contain high aspect ratio triangles/quads/tets. What can I do to improve the generated meshes?

Bad meshes are due to bad boundaries. The meshers do not modify the boundary meshes (considered as hard entities). For CM2 TriaMesh/QuadMesh, avoid long edges connected to small edges. For CM2 TetraMesh, avoid bad high-aspect ratio boundary triangles (you can improve the quality of the boundary mesh with CM2 SurfRemesh T3).

We have very big and complex models to mesh. Is your tet mesher fast/reliable?

Yes it is. All meshers in CM2 MeshTools are professional meshers. They are very fast, robust and generate high-quality meshes. The speed (number of generated elements per second) is nearly independent from the size of the models. On modern CPU, 40 000 regularized tets/s. is a common speed for CM2 TetraMesh for instance. A one-million tet mesh is generated in less than 30 s. Under Win32, meshes up to 10 to 20 millions tets can be genarated within the 2 GB allocatable limit.

Your tet mesher is fast indeed and the elements are good but we would like to have less elements. Is it possible to coarsen the mesh inside the domain?

Yes. Use the operating_mode_type::target_metric parameter to specify a mesh size inside the domain (can be smaller or bigger than the size of the boundary elements). The mesher will smoothly adjust the elements size from the boundary to this target mesh size (parameter operating_mode_type::max_gradation is used to control the gradation of the mesh size). In 3-D models, savings on elements count can be massive.

We have lines/surfaces elements to be constrained within our models. Is CM2 TriaMesh/QuadMesh/TetraMesh able to keep these edges/faces inside?

Yes. Intern (embedded) hard edges/faces are constrained (kept in the final mesh) just like boundary edges/faces. You can also set hard isolated nodes inside the domain.
Last Updated ( Friday, 31 May 2013 )