7 - OpenFOAM
7 - OpenFOAM
Eslam Reda
OpenFOAM
How to
Meet
Why
How to
Meet
Why
OpenFOAM?
OpenFOAM
install
OpenFOAM?
OpenFOAM
install
Fi
Fi
rs
t
pr
pr
o
bl
e
m
w
it
h
O
p
e
n
F
O
A
M
Meet OpenFOAM
• OpenFOAM = Open Field Operation And
Manipulation
• Can solve almost any CFD problem using any CFD
method.
• Can solve: (in)compressible flows, multiphase flows,
combustion, buoyancy-driven flows, conjugate heat
transfer… etc.
• Utilizes almost all turbulence models.
Why OpenFOAM (OF)?
• Make an image on a DVD (you can use a freeware like Infra Recorder).
5. Open MiniTool, cut part from C drive (> 40 GB) and make a new drive of type Primary or Logical.
6. Cut another part from C drive (> your RAM size e.g. 2 GB) and make a new drive of type Linux SWAP, apply changes, (this will
cause a system restart).
7. Insert DVD/USB, restart again, enter Boot options (e.g. press F12 in Dell).
9. Log onto the Ubuntu installation wizard, chose to install manually (“something else”).
10. Choose the 40 GB partition, convert to “Ext4” type, choose “ / ” mounting point, INSTALL.
3. Install updates.
4. Click the Ubuntu icon… search for “Software & Updates”.
5. Open the “Additional Drivers” tab.
2. Download both the OF package (OpenFOAM-3.0.1.tgz) and the third party package (ThirdParty-3.0.1.tgz).
3. Move the downloaded packages from the “Download” directory to a new “OpenFOAM” directory inside the “Home”
directory. Then extract the packages in place.
• Back to the OF website, under the “System Requirements” section, copy the lines and paste them to the terminal window (one by one).
• Type “exit”.
• Add this line (from website also) to the end of the opened file: “source $HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc”, save and
close.
• Type “. .bashrc”
• Check: type “cd $FOAM_INST_DIR”, this should send you to the OpenFOAM directory.
9. “cd $WM_PROJECT_DIR”
11. “cd”
)
pr nite
m
le
-D fi
ob
(2 In
U0 = 1 m/s
Engine oil
ν = 10,000 CSt
0.1 m
= 0.01 m2/s
0.1 m
SEE YOU INSHA'ALLAH