From XMS Wiki
Jump to: navigation, search
Imported FEFLOW mesh example

GMS can import and export 2D and 3D finite element meshes using the FEFLOW ASCII Model File Format (*.fem). This makes it possible to build a mesh in GMS and export it so it can be used to build a model in FEFLOW. Also, the mesh from a FEFLOW model can be exported from FEFLOW and imported into GMS for viewing, examination and post-processing.

The mesh geometry and nodal datasets in the *.fem file are imported and exported. FEFLOW boundary conditions and material properties on elements are not imported or exported.


To import a FEM file into GMS, use the File | Open command. Change the Files of type to *.fem (or *.*) to see the file. Alternatively, simply drag and drop the file onto the GMS program window.


To export a 2D or 3D mesh from GMS to a FEM file, right-click on the mesh in the Project Explorer and select the Export command.


The structure of the FEFLOW model file consists of a variable number of statements. The number of statements necessary to describe a FEFLOW model depends on the problem class and optional model properties. The first six statements and the last statement have fixed positions in the file. The last statement has to be the END statement. The other statements can be in any order. Most of the statement types have to be unique in the FEFLOW model file.

A GMS tutorial on FEFLOW does not exist, but a sample FEFLOW *.fem file that can be read in to GMS can be found by downloading the file from Aquaveo.

External Links