Beruflich Dokumente
Kultur Dokumente
Procedure
June 2017
The documents and related know-how herein provided by ESI Group subject to
contractual conditions are to remain confidential. The CLIENT shall not disclose the
documentation and/or related know-how in whole or in part to any third party
without the prior written permission of ESI Group.
Table of Contents
ESI Property 3
OpenFOAM Installation in Windows
General:
OpenFOAM for Windows from OpenCFD uses standard and unmodified
source code released by the OpenFOAM Foundation. It works using a
containerised image of the standard installation using utilities which are
openly and freely available. This document describes the procedure for
downloading and installing all required software components.
Please note that Paraview, a third party post processing tool is used to
post process OpenFOAMs results. Paraview has not been bundled with
OpenFOAM windows version. Please download and install Paraview from
following page
http://www.paraview.org/download/
Supported Platforms:
Windows 7 64 bit
Windows 8.0,8. 1 64 bit
Windows 10 64 bit
Prerequisites
1. Hardware assisted virtualization should be enabled. If not already done,
please enabled it from the BIOS mode (see below), then reboot your system
twice before proceeding with this Installation.
3. Please make sure that any image in VirtualBox is in Powered off mode, if
virtualBox in already installed.
ESI Property 4
OpenFOAM Installation in Windows
ESI Property 5
OpenFOAM Installation in Windows
3. Change base memory to at least the maximum values your OpenFOAM simulation
might require; it can be changed at any time provided default is in power off
stage.
4. Click on processor tab and change the number of processors required to run
OpenFOAM
ESI Property 6
OpenFOAM Installation in Windows
In case, user is unable to launch the OpenFOAM windows working environment, User
can follow following steps:
It is suggested to check whether image has been loaded as desired. Click on the
Docker-QuickStart-Terminal s short-cut from Desktop which will open
terminal. Type command as docker images which will show image which is
loaded in the environment. Typing command as docker ps a will show created
container.
2. Click on VirtualBox and right click on default and select close-> poweroff it.
2. User need to remove these file manually to complete the whole uninstallation
C:\Users\$UserName\.docker
C:\Users\$UserName\.VirtualBox
3. It is also suggested to uninstall the docker, Virtual Box and Git and reboot the
system before starting the fresh installation.
(If during uninstallation of Git, some files are not deleted (a popup message will
show few dll not being deleted as being used by some process), then delete them
manually after rebooting system. Please check even if no pop is showed while
uninstallation of Git that Git folder under C:\ Program Files \Git is empty.
ESI Property 7
OpenFOAM Installation in Windows
cd /home/ofuser/workingDir
(Please note that if user want to run foam tutorial provided with installation,
iser need to copy foam tutorial in workingDir folder. For more explanation on
workingDir , please see below)
Please note that workingDir is actually the shared folder between OpenFOAM
container and your computer. workingDir correspond to C:\Users\UserName
Please note that if one is logged in as adam but do not have any folder with
name adam in C:\Users\ , then you need to create folder with name adam . Close
any working bash shell (container) for OpenFOAM by typing exit command. Then
click on OF_Env_Create shortcut from Desktop again to create new container
and then launch the OpenFOAM_Start shortcut to launch a shell with OpenFOAM
environment set
User can run any OpenFOAM executables in parallel and serial mode as desired
from bash shell (Please note that parallel run will be limited to number of
processors in machine. To run in distributed environment, please contact
OpenCFD support)
cd workingDir
cp -ar $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
cd cavity
ESI Property 8
OpenFOAM Installation in Windows
blockMesh
icoFoam
To run case in parallel mode, user need to go inside the working directory and
use mpirun command to launch the executables as
User can launch Paraview and browse inside folder and open the file with suffix (
.foam i.e as a.foam ) to visualize case.
User need to run exit command from terminal twice to close the terminal. It
ensure smooth exit. Running exit command first time Logout from user account
ofuser and running another exit command close the terminal
ESI Property 9
OpenFOAM Installation in Windows
5. Miscellaneous Information
ESI Property 10
OpenFOAM Installation in Windows
ESI Property 11