0. Notation
In the reference guide section we give a quick aproach to the use of the different FEconv options.
We use $(FECONV)
to refer to the FEconv executable. Note that under Windows you must use feconv.exe
to launch FEconv from cmd (Command prompt). If you use any POSIX distribution (UNIX, Linux) you must call the generated executable without any extension and preceded by the path to its location, such as ./feconv
if you are located in the same folder as the executable, using the command-line interpreter.
We also use $(IM)
to refer to a input mesh with a valid extension, see supported input mesh extensions, and $(OM)
to refer to a output mesh with a valid extension, see supported output mesh extensions. Both can contain absolute or relative paths.
To refer to a file name we use <file>
To refer to an integer we use <n>
, for several integer values we use [<n1>,<n1>,...]
and <val>
for floating point.
Finally, we use <name>
for alphanumeric strings that identify field names.
1. Info
2. Mesh read
3. Mesh transformation
Example | Summary | Explanation |
---|---|---|
$(FECONV) -l1 $(IM) $(OM) |
Convert to Lagrange P1 elements | See option -l1 |
$(FECONV) -l2 $(IM) $(OM) |
Convert to Lagrange P2 elements | See option -l2 |
$(FECONV) -nd $(IM) $(OM) |
Convert to Whitney elements | See option -nd |
$(FECONV) -rt $(IM) $(OM) |
Conver to Raviart-Thomas elements | See option -rt |
$(FECONV) -cm $(IM) $(OM) |
Bandwidth optimization | See option -cm |
$(FECONV) -es <n> $(IM) $(OM) |
Extract submesh | See option -es |
$(FECONV) -rc <comp> $(IM) $(OM) |
Remove a component of the coordinates | See option -rc |
4. MSH extension
Example | Summary | Explanation |
---|---|---|
$(FECONV) -ff $(IM) $(OM) |
Read/Write a FreeFem++ MSH file | See option -ff |
$(FECONV) -gm $(IM) $(OM) |
Read a Gmsh MSH file | See option -gm |
5. Field
Example | Summary | Explanation |
---|---|---|
$(FECONV) -if <file> $(IM) $(OM) |
Load a external field file | See option -if |
$(FECONV) -of <file> $(IM) $(OM) |
Save a external field file | See option -of |
$(FECONV) -if <file> -in <name> $(IM) $(OM) |
Specify the field names to read | See option -in |
$(FECONV) -of <file> -on <name> $(IM) $(OM) |
Specify the field names to write | See option -on |
$(FECONV) -pad <val> $(IM) $(OM) |
Set a field padding value | See option -pad |
$(FECONV) -cn $(IM) $(OM) |
Convert elementwise field to nodewise | See option -cn |
$(FECONV) -ca $(IM) $(OM) |
Read UNV Code Aster fields | See option -ca |