Skip to content

(make-mesh 'read-from-file. . . )

Description Syntax

(make-mesh 'read-from-file filename)

Parameters

filename Name of mesh data file in quotes, i.e."my-mesh". The mesh file must conform to the INRIA mesh format to be able to visualize it with Modalys.

Discussion

For the time being, Modalys is able to deal with only one type of finite element: hexahedra. To create an object with an external mesh file, you must eventually end with mesh containing only hexahedras. In the future, extensions will be made to use other types of finite element.

Example

(define my-mesh ( make-mesh 'read-from-file \"diapason.mesh\"))
(view 'mesh my-mesh)

See also

view, make-mesh, medit.

See also the GTS GNU project located at http://gts.sourceforge.net/samples.html.