The OFW7 USB
includes a full Linux installation, OpenFOAM, and some
more OpenSource software. You can boot directly from
a USB stick so that you do not have to install Linux.
Go to http://sourceforge.net/projects/openfoam-extend/files/Live%20Distribution/OpenFOAM-Workshop-07/,
download the OpenFOAM-Workshop-CAE-Linux.iso file,
and follow the instructions at http://www.cfd-online.com/Forums/openfoam-news-announcements-other/96044-7th-openfoam-workshop.html.
Summary here:
Burning of the .iso
on a USB disk with data persistence
We are using the usb-creator-gtk application to burn the disk because it supports
the creation of a persistency file, allowing the user to store information on
the disk permanently.
Instructions are available here:
https://help.ubuntu.com/community/In...n/FromUSBStick
Note: if the disk is burned without the persistence option, the
networking is not available (reasonable, since there is no chance of storing
e.g. the dhcp and log info to the / filesystem). Please use a 8GB USB disk if you intend
to have persistent data, we are currently in the process of further reducing
the size of the .iso so that it can be burned on the
4GB usb disks as well.
Virtualbox
The live distribution can also be easily
tested in a virtual machine. For this purpose, we are using the official (non-ose) version of the Virtualbox
application:
https://www.virtualbox.org/wiki/Downloads
because it supports guest additions that allow easy connection of USB devices,
etc.
Booting process
In order to boot from the USB disk, the boot order needs to be changed
on your machine, so that the USB hard disk is placed first in the list. You can
do this in the BIOS, or in the machine's Startup Menu.
Once the distribution starts booting, you will see a black screen
showing the following:
Code:
boot:
To continue the booting process just hit the return key (Enter).
Workflow
The terminals that bring up consoles for
different versions of OpenFOAM compiled with
different WM_COMPILE_OPTIONS (Opt, Debug) are linked on the desktop.
If you open a new tab you have an empty environment, which you can
define for a desired version by calling:
OF16extProf : this script
initializes the environment for the OpenFOAM-1.6-ext library with the Prof
option, but the installation is not available to restrict the size of the final
.iso file. However, if you want to use this version,
feel free to compile it. Provided you have enough space on the USB (more than
4GB), the changes will be saved and you can use the source scripts to work with
this compilation option as well.
Installed Software
The installation provides the following software:
OpenFOAM-1.6-ext
OpenFOAM-2.1.0
OpenFOAM-2.0.x
Paraview-3.10.0 (OpenFOAM-1.6-ext)
Paraview-3.12.0 (OpenFOAM-2.1.0, OpenFOAM-2.0.x)
engrid
gmsh
discretizer
...
You can also view the list of the available applications and libraries that are
installed using the package system by executing the command:
Code:
dpkg --get-selections
If asked for password, use Username:caelinux, Password:caelinux