1. Description

Program feconv converts finite element (FE) mesh files between several formats; it can also transform the FE type of the mesh and/or perform a bandwidth optimization. Some conversion capabilities are also present for mesh fields. Please, visit the EXAMPLES section, in the help invoked by feconv -h, to know more details.

2. Supported formats

The available input mesh formats are:

  • ANSYS (.msh)
  • I-Deas Universal (.unv)
  • VTK-XML Unstructured Grid (.vtu)
  • MD Nastran input file (.bdf)
  • COMSOL mesh file (.mphtxt)
  • FLUX mesh file (.pf3)
  • Modulef-like Formatted Mesh (.mfm)
  • Modulef-like Unformatted Mesh (.mum)
  • FreFem++ Tetrahedral and/or Triangular Lagrange P1 Mesh (.msh)
  • FreFem++ Tetrahedral Lagrange P1 Mesh (.mesh)
  • Gmsh MSH ASCII (.msh)

The available output mesh formats are:

  • ANSYS (.msh)
  • I-Deas Universal (.unv)
  • VTK-XML Unstructured Grid (.vtu)
  • COMSOL mesh file (.mphtxt)
  • FLUX mesh file (.pf3)
  • Modulef-like Formatted Mesh (.mfm)
  • Modulef-like Unformatted Mesh (.mum)
  • FreFem++ Tetrahedral and/or Triangular Lagrange P1 Mesh (.msh)
  • FreFem++ Tetrahedral Lagrange P1 Mesh (.mesh)
  • Gmsh MSH ASCII (.msh)

The field formats supported by feconv can be classified using dichotomic rules:

  • I/O: Field format states that fields are saved INSIDE/OUTSIDE the mesh file [1].
  • N/U: Field format states that fields are NAMED/UNNAMED.
  • S/1: Field format states that SEVERAL/ONLY ONE field(s) is(are) saved in the file.
  • P/A: Field format states that PARAMETRIZED/ALONE fields can be saved [2].

The current available (both input and output) field formats are:

ClassificationAssociated mesh format [1]Options [3]
-IF-IN-OF-ON
VTK-XML Unstructured Grid (.vtu)(INSA)ioio
I-Deas Universal (.unv)(INSP)ioio
FLUX mesh file (.pf3)(IN1A)ioio
FLUX field file (.dex)(ON1A).pf3roro
Modulef-like Formatted Field (.mff)(OU1A).mfmriri
Modulef-like Unformatted Field (.muf)(OU1A).mumriri
ANSYS interpolation file (.ip)(ONSA).mshroro

Notes:

[1] When a field is saved outside (O) the mesh file, a mesh file must be specified with the default associated mesh format.

[2] A parametrized field is a field composed of several snapshots identified through "parameter" values (time, frequency,...). A field format is (P) when all the snapshots and their associated parameter values

[3] "r", "i", "o" means that the option is required, ignored or optional, respectively. See explanation for options -if, -in, -of and -on to know more about their use.

3. License

«Copyright 2012 Iban Constenla, Victor Sande, Francisco Pena»

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.