XGEN is a simple triangular mesh generator for X-Windows based on the Advancing Front method, written using the Motif library.
Copyright (c) 2010 hp-FEM group at the University of Nevada, Reno (UNR). Email: [email protected], home page: http://hpfem.org/.
After downloading XGEN, change to xgen2d/doc/ and type
pdflatex xgen.tex
sudo apt-get install libmotif-dev libmotif3 lesstif2 x11proto-print-dev
Type "make" to compile.
Run XGEN by typing
./xgen xgamm cfg/xgamm.cfg
Here "xgen" is the executable, "xgamm" a project name, and "cfg/xgamm.cfg" a configuration file with geometry parameters. Other project names include "xcirc", "xduese", "xhole", "xlist", "xmunich", "xnozzle", "xsep2d", "xspir2d", "xsquare", "xstep". See the Documentation for instructions on how to create your own projects.
By default, initial point distribution is random. You can force it to be regular pattern resembling equilateral elements via the option "-overlay":
./xgen xgamm cfg/xgamm.cfg -overlay
Xgen can be run in batch mode via the "-nogui" option:
./xgen xgamm cfg/xgamm.cfg -nogui 10 -overlay
The option "-nogui" has to be followed with an empty character and a natural number telling Xgen how many smoothing iterations over all grid points it should do. The "-overlay" option here is not mandatory.
If "-nogui" and "-overlay" are used together, they must come in this order.
Please send questions and bugs to the mailing list [email protected] of the hp-FEM group, University of Nevada, Reno.