The L1d package comes as a gzipped tar file that contains source code for the programs, documentation (including this HTML documentation) and examples. The code is now part of a larger CFCFD archive so some of the essential modules (such as gas models) are now packaged in separate tar files. One can either get the whole archive (cfd_archive.tar.gz) or just the required pieces (cfd_plot.tar.gz, cfd_util.tar.gz, L1d.tar.gz) from the download section of the CFCFD home page.
Put the compressed file somewhere convenient (which we shall label as HOME) and unpack the file using one of:
% tar -zxvf L1d.tar
% gzip -d L1d.tar | tar xvf -
% gzip -d L1d.tar
% tar xvf L1d.tar
Make a directory $HOME/cfd_bin to hold the executable files and add
that directory name to your search path.
Go to $HOME/cfcfd/code/L1d/unix and build the executable files using
% make TARGET=for_gnu
or, if you are on a generic Unix machine without the GNU C compiler
% make TARGET=for_unix
(Actually,
TARGET=for_gnu is the default so you don't need to
explicitly request it when invoking make.)
At this point, you should have a set of executable codes that can be installed
into the $HOME/cfd_bin directory by typing
% make install
If you have not already done so, build the plotting programs.
Also, you may need to refresh your environment with
the rehash command.
Yes, there is definitely a Unix bias here. Twenty-seven years of writing software for a large range of computers and operating systems leads to some strong opinions (as well as general irritability). One of my opinions is that, for the development and operation of substantial numerical simulation codes, Unix (including Linux) is a better environment than that other PC operating system from Redmond. (OK, this opinion has to change as Windows is improving by coming closer to Unix and the Mac has become a Unix machine.) For those who insist on using Win32 systems, the current build procedure will work in the MSYS/MINGW version of the GNU compiler collection. For those Win32 users not wanting to compile from source, there is a zip-file of pre-compiled binaries on the download section of the CFCFD home page
Last Updated: 13-Oct-04