A method and computer system for converting triangular meshes to quadrilateral meshes in a computer system. The computer system comprises a processor and a means for inputting graphical data. The graphical data comprises a surface, the surface is defined by a boundary and comprises a triangular mesh. The method comprises the processor- executed steps of: (a) ascertaining the topological distance of the triangles on the triangular mesh to the boundary; (b) dividing the surface into layers of triangles, such that each layer comprises triangles within a range of topological distances; (c) within each layer, forming groups of triangles; and (d) dividing each group into at least three quadrilateral elements.
展开▼