Download Latest Version aerodynamics_1_0_2.tgz (79.6 MB) Get Updates
Name Modified Size InfoDownloads / Week
aerodynamics_1_0_2 2012-04-02
aerodynamics_1_0_1 2012-03-30
aerodynamics_older_versions 2012-03-13
README 2012-04-02 12.0 kB
Totals: 4 Items   12.0 kB 3
#----------------------------------------------------------------------------------------------------------------------------------- #- #-aerodynamics freeware package #- #-aerodynamics - version 1.0.2 (mar 2012) #- #-aerodynamics #-Distributed under the GNU General Public Licence. See the file COPYING. #-project distribution at #- #-GUI bugs/comments: #-P. Cao Huu Thien <> #- #-CFD/math bugs/comments: #-G.A. Gerolymos <> #-I. Vallet <> #- #-Thu Mar 8 18:19:29 CET 2012 #- #----------------------------------------------------------------------- #- #-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 <>. #- #----------------------------------------------------------------------- #- --------------------------------------------------------------- #-Credits--------------------------------------------------------------- #- --------------------------------------------------------------- #----------------------------------------------------------------------- I. Credits #----------------------------------------------------------------------- WHEN PUBLISHING OR PRESENTING RESULTS COMPUTED WITH THE aerodynamics package PLEASE CITE [1] Gerolymos G.A., Senechal D., Vallet I. J. Comp. Phys. 228 (2009) 8481--8524 "Very-high-order WENO schemes" [2] Gerolymos G.A., Vallet I. Int. J. Num. Meth. Fluids 61 (2009) 185-219 "Implicit meanflow-multigrid algorithms for Reynolds-stress model computation of 3-D anisotropy-driven and compressible flows" #----------------------------------------------------------------------- #- ------------------------------------------------------------ #-What's new------------------------------------------------------------ #- ------------------------------------------------------------ #----------------------------------------------------------------------- II. What's new #----------------------------------------------------------------------- The 1.0.1 release had compilation problems for the linear algebre routines R3D_LA_routines.f90 (which were used as subroutines but built as a module, with interface data not defined). This problem which had no influence on the pre-compiled binaries has been corrected. The GUI has been upgraded with more online manuals, and a new "User Input" button which allows reading and sourcing (executing) within the GUI any user-defined tcltk script. #----------------------------------------------------------------------- #- -------------------------------------------- #-Installation (linux: bash)-------------------------------------------- #- -------------------------------------------- #----------------------------------------------------------------------- III. Installation using "install_aerodynamics" interactive installer #----------------------------------------------------------------------- III.1 tar xvfz #-------------------------------------------------------- Once you download aerodynamics_1_0_2.tgz to the working directory wherever_you_tar_xvfz/ execute the command tar xvfz aerodynamics_1_0_2.tgz You can use The executable scriptfile wherever_you_tar_xvfz/aerodynamics_1_0_2/install_aerodynamics can be used for installation. The shell detects whether you have root privileges or not, so that if you want a root installation you must either be root or suwhen you execute install (III.2.1), or, if you are a sudoer sudo the installation script (III.2.2). III.2 Root, su, sudo installation #------------------------------------- III.2.1 Root or su installation [gag@laptop1 wherever_you_tar_xvfz]$ cd wherever_you_tar_xvfz/aerodynamics_1_0_2/ [gag@laptop1 aerodynamics_1_0_2]$ su Password: [root@laptop1 aerodynamics_1_0_2]# ./install_aerodynamics III.2.2 sudo installation [gag@laptop1 wherever_you_tar_xvfz]$ cd wherever_you_tar_xvfz/aerodynamics_1_0_2/ [gag@laptop1 aerodynamics_1_0_2]$ sudo ./install_aerodynamics III.2.3 Root, su, sudo installation processing In both III.2.1 and III.2.2 instances, "install_aerodynamics" detects you as root. During the installation "install_aerodynamics" tries to detect previous installations and to clean up older versions' executables to avoid conflicts (only older executables are deleted, on a name-by-name basis, with no use of wildcards). Furthermore, it tries to detect whether your kernel is 64bits or 32bits, to copy the appropriate executables (64bit precompiled standalone), or (32bit) recompile them. "root" install prompts for the installation directories of the executables (AERODYNAMICS_BIN; default is /usr/local/bin) and of the examples+docs+sources+GUI files (AERODYNAMICS; default is /usr/local/aerodynamics). The environment variable AERODYNAMICS=$AERODYNAMICS is added into /etc/profile.d/, and if the AERODYNAMICS_BIN directory is not in the "root" path, then $AERODYNAMICS_BIN is also added in /etc/profile.d/ III.3 User installation #----------------------------------------------- User installation is only interesting if you wish to develop, or if you have no possibility of asking for a root installation, or if you want to test a newer release. Of course clean up is not possible if a previous "root" installation exists, but precedence is given to the new path. At the prompt, [gag@laptop1 wherever_you_tar_xvfz]$ cd wherever_you_tar_xvfz/aerodynamics_1_0_2/ [gag@laptop1 aerodynamics_1_0_2]$ ./install_aerodynamics "user" install prompts for the installation directory of the examples+docs+sources+GUI files (AERODYNAMICS; default is $HOME/aerodynamics) and automatically chooses (AERODYNAMICS_BIN=$AERODYNAMICS/bin). AERODYNAMICS=$AERODYNAMICS and $AERODYNAMICS_BIN is added to the PATH, by appending these to the file $HOME/.bash_profile. There is of course no possibility to clean up an existing root installation, so that, if a root installation is detected, the new path is set with precedence as export PATH=$AERODYNAMICS_BIN:$PATH to avoid any possible conflicts. It suffices to comment these 2 lines in your $HOME/.bash_profile file to return to an eventually existing root installation. III.4 Post install #---------------------------------------------------- These options (III.2, III.3) should cover most needs (assuming you use bash shell). You can edit the scriptfile wherever_you_tar_xvfz/aerodynamics_1_0_2/install_aerodynamics for further customization. If you are using bash shell, you are ready to compute, as in IV. You should logout and login again to have the environment and path variables in effect on all shells, before starting. III.5 Recompiling executables #----------------------------------------- Default executables are compiled using gfortran 4.6.1, statically (no need to install gfortran). Should you prefer or need some other compiler, you can recompile the executables following the steps in VI. #----------------------------------------------------------------------- #- ----------------------------------------------------------------- #-Usage----------------------------------------------------------------- #- ----------------------------------------------------------------- #----------------------------------------------------------------------- IV. Usage #----------------------------------------------------------------------- After installation the GUI is launched by the command aerodynamics You can have a rather advanced tutorial using the GUI and the online manuals. Some file are required, when needed. Sample files of this category, are in $AERODYNAMICS/examples/ and there is a built-in helper (button help at the top-right-corner) of the GUI, which brings up the html pages. The code was written initially for Tcl 8.5.1 and later, but was simplified to also run with Tcl 8.4.13 and later. The current version (aerodynamics 1.0.2) was tested using Tcl 8.6b1. For 2-D and 3-D visualizations we use paraview as a separate software, so you should also install paraview (or mayavi), but this is probably already done for CFD users. The 1-D plots use gnuplot (4.2.2 to 4.4.3). #----------------------------------------------------------------------- #- -------------------------------------------------------------- #-Contents-------------------------------------------------------------- #- -------------------------------------------------------------- #----------------------------------------------------------------------- V. Contents #----------------------------------------------------------------------- The release contains: 1: source files in $AERODYNAMICS/src/ 2: binary (executable) Linux files (double precision) in $AERODYNAMICS/bin/ 3: make_file to built the binaries in $AERODYNAMICS/src/ 4: documentation in $AERODYNAMICS/doc/index.html 5: examples of runs with these files (see documentation) in $AERODYNAMICS/examples/ 6. GUI in $AERODYNAMICS/gui-tk/ The release does not contain: 7: programming manual: in writting #----------------------------------------------------------------------- #- ------------------------------------------------------------- #-Compilers------------------------------------------------------------- #- ------------------------------------------------------------- #----------------------------------------------------------------------- VI. Compilers The GUI is written in tcl, and interpreted by wish, so that no compilation is required. For the executables NOTE: ALWAYS USE THE APPROPRIATE COMPILER DIRECTIVE TO UPGRADE to r*8 --------------------------------------------------------------------- Binaries were built for Linux using 2 different compilers (64-bit platforms) 1 : Standard Linux platforms These are standalone binaries, so you do not need to install the compiler to run them. 1.1 : real*8 double precision arithmetic 1.1.1: gfortran 4.6.1 (gcc version 4.6.1): FCFLAGS = -O3 -fdefault-real-8 -fconvert=big-endian -ffree-line-length-none -static-libgcc -static-libgfortran 1.1.2: ifort 12.1.1 : FCFLAGS = -O3 -r8 -traceback -fltconsistency -check uninit -convert big_endian -logo -static-intel -static-libgcc #----------------------------------------------------------------------- #- ---------------------------------------- #-Compilation using the Makefile---------------------------------------- #- ---------------------------------------- #----------------------------------------------------------------------- VII. Compilation using the Makefile The Makefile is in $AERODYNAMICS/src/. Compilation directives (FCFLAGS), with the above definitions of FC are included in the Makefile. To compile with gfortran (default) : make clean; make all FC=gfortran (default) ifort : make clean; make all FC=ifort
Source: README, updated 2012-04-02