© All Rights Reserved

1.1K views

© All Rights Reserved

- Openfoam Training Part 1v5
- Exploring OpenFOAM
- A simple manual for OpenFoam
- openfoam mesh generation
- Particle injection in OpenFOAM
- Connecting Matlab With OpenFOAM JP
- OpenFOAM
- OPENFOAM Programmers Guide
- Openfoam Training Part 2v5
- LucchiniPolyMilano
- OpenFOAM - 12 tips and tricks
- Boundary Conditions Of230 Full Specification
- OpenFoam Examples
- Multi phase Solvers of OpenFOAM with governing equations
- OpenFoam Solvers
- Analysis of Flow Around a Ship Propeller Using OpenFOAM
- LectureSlides10_openfoam
- OpenFOAM SnappyHexMesh Tutorial
- High Level Programming for OpenFOAM
- Radiation in OpenFoam Final

You are on page 1of 37

software. All registered trademarks are property of their respective owners. This guide is not approved or

endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the

OPENFOAM and OpenCFD trade marks.

Rapid OF Blog

1.

Introduction

Practically every question on how to learn OpenFOAM is answered by directing the aspiring

student to tutorials provided with the package. They are instructed to simply go through the

tutorials, run and play with them and learn through practice.

It is not far from the truth - we learn best by practice and any time you want to learn something

really well you need to practice it to drill the procedures into your memory. Theory is of course

fundamental, but its practice that makes the student skillful in any given field.

There are tens of solvers in OpenFOAM and each of them has few tutorials, so there is a lot to

work through. Naturally, at the beginning you will want to work on the field you are most

interested with, or need for your work or study, and thus you will need to choose a relevant

tutorial(s).

What I want to give you in this guide is a short instruction on each of listed tutorials. I will not go

deep into physics, equations and so on instead I will cover what happens in each of them from

the procedural side. How the case is set up, are there some additional steps taken, ho the mesh

is set up and some general remarks on physics and boundary conditions.

The tutorials, as found in OpenFOAM installation, are divided by solvers names each solver

has its own set of tutorials (few of them have only one).

Below you will find a list of solvers with descriptions taken from OpenFOAM official

documentation (to be found in UserGuide.pdf in OF installation or here

http://www.openfoam.org/features/standard-solvers.php). For each solver I have listed the

tutorials available (OF release 2.3.0), a short description of what is done and a screenshot of

the results.

Based on this list you can quickly select the one most useful for you at the time and use it to set

up a case you want to simulate.

Rapid OF Blog

2.

Basic

laplacianFoam - Solves a simple Laplace equation, e.g. for thermal diffusion in a solid

Tutorial name

flange

Description

Steady state heat transfer on a flange.

Dirichlet boundary conditions used, two

different temperatures. Includes mesh

conversion from Ansys mesh.

potentialFoam - Simple potential flow solver which can be used to generate starting fields for

full Navier-Stokes codes.

cylinder

pitzDaily

symmetry boundary condition. /system/controlDict shows how to

automatically generate analytical solution.

Potential flow over backward facing step. Potential flow solver can be

used to generate initial conservative velocity fields for any case (using

appropriate geometry). Utility to use: mapFields

Name

pitzDaily

Rapid OF Blog

Description

Convection-diffusion problem with

temperature being convected with

velocity through Pitz- Daily problem

geometry.

3.

Incompressible

adjointShapeOptimization - Steady-state solver for incompressible, turbulent flow of nonNewtonian fluids with optimization of duct shape by applying blockage in regions causing

pressure loss as estimated using an adjoint formulation

Tutorial name

Description

pitzDaily

Runs optimization of

Pitz Daily case to

reach Ua, pa

conditions at the exit.

Applies blockage

(alpha) in regions

which need to be

modified to reach the

desired conditions.

boundary layer conditions at an inlet, for use in a simulation. Specify inlet velocity and get inlet

distributions of model-relevant turbulence variables.

Tutorial name

Description

boundaryLaunderSharma

Generates velocity distribution using Launder Sharma kepsilon turbulence model. Kinematic viscosity applied using .xy

file. Cyclic symmetry applied on front and back sides.

Generates a ./graphs directory with .xy files with velocity and LS k-epsilon model variables distribution for each saved time

step.

boundaryWallFunctions

using wall functions formulation. In this case inlet velocity = 0.

which runs the case for a set of nu values 9different Re),

generates u+ and y+ values and generates plot comparing the

results with Spalding law.

Rapid OF Blog

Figure I-1

Comparison of velocity profiles for the three tutorials

Figure I-2

Comparison of OpenFOAM solution to Spalding law

Rapid OF Blog

Tutorial name

cavity

Description

Lid-driven flow in a square shaped

cavity; incompressible and laminar,

basic hex mesh. Widely described in

OpenFOAM user guide.

cavityClipped

cavityGrade

elbow

The above case solved on a geometry with one bottom corner being cut out.

Cavity tutorial using mesh grading

Incompressible laminar flow through

an elbow with side pipe. Imports

mesh from a .msh file.

fluids. Viscosity curve is defined in /constant/transportProperties file.

Tutorial name

Description

offsetCylinder

cylinder.

Rapid OF Blog

mesh using the PIMPLE (merged PISO-SIMPLE) algorithm

Tutorial name

Description

mixerVesselAMI2D

topology unaltered) with arbitrary

mesh interface. Straight vanes

mixer rotor rotates inside mixer

vessel.

movingCone

topology technique. A 2D cone is

translated through the domain and

the mesh topology is altered in

line with the movement. Cone

translation induces fluid

movement in the opposite

direction.

movement technique +

oscillations set up in

dynamicMeshDict file. Part of the

mesh moves in relation to the rest

but its topology remains

unaltered. Includes also setup of

Arbitrary Mesh Interface.

propeller

Rapid OF Blog

solid body movement. Mesh

created with snappyhexmesh.

Refined mesh created by

running ./Allrun.pre which

includes surfaceFeatureExtract.

K-epsilon turbulence model used.

Tutorial also shows how to

calculate forces and moments on

the surface of the propeller.

wingMotion

deformation. Mesh set up with

snappyHexMesh, initial flow field

(on fixed wing) calculated with

simpleFoam, then mapped onto

initial mesh for pimpleDyMFoam.

K-omega SST turbulence used,

moving mesh set up in

/constant/dynamicMeshDict

Picture to the right shows grid

points displacements.

pimpleFoam - Large time-step transient solver for incompressible, flow using the PIMPLE

(merged PISO-SIMPLE) algorithm

Tutorial name

Description

channel395

square shaped channel with

nonuniform initial velocity and

pressure distributions (a vector/value

applied to each node). Cyclic

symmetry boundaries at inlet, outlet

and sides of the channel.

ellipse. kkL Omega (RANS)

turbulence model used. Shows also

how to build mesh automatically from

a smaller block (mirroring and

transformations).

pitzDaily

Rapid OF Blog

pimple. K-epsilon turbulence used,

uniform inlet velocity and mesh

graded to fit the areas of greatest

velocity gradients.

TJunction

fluid through T-Junction a duct with

two outlets. Created to test a case

with two outlets, so mesh is not

refined. Flow induced by pressure

difference.

TJunctionFan

baffles introduced in the inlet duct

(createBafflesDict in /system

directory).

les:

Tutorial name

Description

motorBike

turbulence modeling. The mesh is set up using snappyHexMesh. Next,

clones the calculated flow field and copies LES setup files into case folder,

then runs the case using LES turbulence modeling.

pitzDaily

same as for simpleFoam solver.

1-equation eddy SGS model.

k at inlet set as uniform fixed

value.

Does not converge to final

solution within the time specified.

above, k at the inlet set as

mapped.

Rapid OF Blog

ras

Tutorial name

Description

cavity

movement of the upper wall. Basic mesh not

including boundary layers what is clearly

visible. Turbulence modeled with k-epsilon

model.

cavityCoupledU

above. Coupled PbiCCCG solver for U

vector used. It offers performance benefits if

the number of iterations in each direction is

similar (uniform orthogonal mesh).

Tutorial name

Description

squareBump

square shaped domain excited with a

central force represented as a height

difference. Run setFields before running

the case.

Rapid OF Blog

10

Tutorial name

airFoil2D

Description

Steady state flow of air around

airfoil, Newtonian fluid model,

Spalart-Allmaras turbulence, Ctype 2D mesh (imported from

external mesher)

mixerVessel2D

m4 utility to create input file for

blockMesh (allows to use

mathematical formulations to

specify points location). Round

shape container with internal

rotor. Movement of rotor

simulated with the use of

additional, rotating frame of

reference, set up in fvOptions.

motorBike

run on a motorbike + rider

model. Mesh created with

snappyHexMesh tool, initial flow

conditions created with

potentialFoam, forces and

moments calculated through

controlDict defined functions,

streamlines extracted for

external post processing.

Swirling flow in a pipe. Cyclic

mesh settings shown along with

parametric mesh setup (needs

to have Code Stream

activated), uses realizable kepsilon turbulence model.

pipeCyclic

Rapid OF Blog

11

pitzDaily

flow over backward facing step.

blockMesh hexagonal 2D mesh

showing advanced edge grading

approach to mesh refinements.

pitzDailyExptInlet

up through type timeVaryingMappedFixedValue utility (needs separate file

with the values defined for U), K-epsilon turbulence model. Streamlines

for post processing generated through additional option in ControlDict.

Calculates wind velocity field

over a hill. Uses k-epsilon

turbulence model (RANS) with

model coefficients adjusted to be

appropriate for atmospheric

boundary layers modeling.

Terrain geometry created from a

STL file using snappyhexMesh.

turbineSiting

fluids in a single rotating frame

Tutorial name

Description

mixer

one blade, cyclic boundary

conditions on sides, k-omega SST

turbulence model, in this case

Newtonian fluid used, but possible to

use non-Newtonian fluids.

Rapid OF Blog

12

4.

Compressible

of Kurganov and Tadmor

Tutorial name

Description

Flow enters from a high velocity free

stream. Already converged solution

imported on blockMesh. Pressure

sampled on walls.

forwardStep

through a duct with straight vertical

obstacle. Artificial inviscid gas used,

defined in

constant/thermophysicalProperties to

have the sound of speed = 1m/s.

Development of shock waves can be

observed.

flow field. Initial state loaded from

external source.

obliqueShock

development. The shock is created

using two different velocities-Mach

numbers at the inlet and top wall of the

domain. Laminar flow and normalized

gas (a = 1m/s) models used.

shockTube

simple tube. Wave generated using

setFields to assign pressure and

temperature in specific location

Rapid OF Blog

13

wedge15Ma5

domain with conical obstacle. Top

and bottom boundaries are set as

symmetry planes, thus the case in

fact models a flow over a cone. Flow

velocity is 5m/s, thus Ma=5 and

shock wave development is observed.

rhoLTSPimpleFoam Local time stepping transient solver for laminar or turbulent flow of

compressible fluids.

Tutorial name

Description

angledDuct

porosity. Temperature dependent

(Sutherland's) transport model

used, k-epsilon turbulence. Porosity

added in system/fvOptions file.

Mesh created using m4 utility.

Tutorial name

Description

angledDuct

cases. Differences due to solver

and run time can be observed.

Rapid OF Blog

14

rhoPimpleDyMFoam - Transient solver for laminar or turbulent flow of compressible fluids for

HVAC and similar applications with moving mesh capability

Tutorial name

Description

equipped with static baffles on the

external walls and moving rotor in the

center. Rotor movement treated as

solid body motion. Initial conditions set

through /constant/caseSettings

imported into 0 folder with appropriate

command in boundary conditions files.

Mesh created with snappyHexMesh.

There are two inlets of gas inner

(colder and faster) and outer (warmer and slower).

rhoPimpleFoam - Transient solver for laminar or turbulent flow of compressible fluids for HVAC

and similar applications

Tutorial name

Description

les

pitzDaily

tube with backward step and a

nozzle at the exit. Inflow is set

as a turbulent with 2%

fluctuation in the flow direction

and 1% cross flow. 1 equation

eddy SGS model used.

ras

angledDuct

shaped duct with a porous

section. Porosity added in

system/fvOptions file. Mesh

created using m4 utility; kepsilon turbulence used.

Rapid OF Blog

15

cavity

cavity, induced by the movement of

upper wall. K-omega SST

turbulence model used on a very

coarse mesh, thus the results are

only provisional.

vaned 2D mixer. K-epsilon

turbulence used. Movement of

rotor introduced as additional frame

of reference.

compressible fluids.

Tutorial name

Description

squareBend

k-epsilon turbulence, Sutherland

transport models used. Lack of

boundary layer grid simple

blockmesh grid used.

Rapid OF Blog

16

compressible fluids

Tutorial name

Description

FixedCoeff

angled duct with a porosity section

(explicit porosity source).

compressible gas

Tutorial name

Description

laminar forwardStep

rectangle forward facing step.

Normalized inviscid gas used for

which sound speed = 1m/s.

schockTube

half of the tube is set to have 10x

lower pressure. Eventual

equalization of pressure can be

observed. SetFields utility used

to set the initial pressure

distribution and sample tool used

to generate p, T and magU

distributions along the central

line of the tube.

nacaAirfoil

Launder-Sharma k-epsilon,

imported mesh with techniques

shown how to overcome high

skewness; contains also

technique to calculate the airfoil

force coefficients.

ras

Rapid OF Blog

17

prism

prism. Top and bottom

boundaries are free stream. kepsilon turbulence model used.

Mesh including prism boundary

layer created using blockMesh.

liquid

Tutorial name

Description

decompressionTank

Models what happens when a valve of

pressurized water tank is opened. Includes

modeling of compressible liquid (barotropic

model) and pressure waves propagation.

Rapid OF Blog

18

5.

Multiphase

cavitatingFoam - Transient cavitation code based on the homogeneous equilibrium model from

which the compressibility of the liquid/vapour mixture is obtained

Tutorial name

Description

LES

throttle

a narrow duct (throttle). Flow is

induced by pressure difference

between two chambers;

barotropic compressibility model

used, Newtonian fluid model

used for both water and vapor.

Initially no vapor is present in the flow. Flow acceleration creates

pressure drop and induces cavitation around the flow jet.

throttle3D

hydraulic setup. The mesh is

refined and 10 cells are used in

the depth direction (z) instead

of 1. refineMesh utility used on

topological sets (topoSet).

throttle

Turbulence modeled with komega SST.

RAS

Rapid OF Blog

19

VOF (volume of fluid) phase-fraction based interface capturing approach, with optional mesh

motion and mesh topology changes including adaptive re-meshing.

Tutorial name

Description

(volume of fluid) phase-fraction based interface capturing approach.

Tutorial name

Description

below. The same utilities and settings

used otherwise.

volume fraction (alpha.water) at time

step 50. Picture below shows static

pressure contours at one of the initial

steps.

deepCharge3D Before the start of the calculation, there

is a volume filled with water up to half of

its height. setFields utility is used to

insert a sphere of 10x the pressure and

(T+278) inside the water column of

initially uniform pressure and

temperature. Expansion of the sphere is

simulated on a basic hexagonal mesh

(blockMesh).

Rapid OF Blog

20

immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing

approach

Tutorial name

Description

fluids release. First picture

shows the initial state,

second end state. The

fluids become sorted by

specific weight. Laminar

case.

interDyMFoam - Solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume

of fluid) phase-fraction based interface capturing approach, with optional mesh motion and

mesh topology changes including adaptive re-meshing.

Tutorial name

Description

water released against centrally

located obstacle. Mesh dynamically

refining to the front of the wave based

on volumetric fraction of water. Mesh

adaptation set through

constant/dynamicMeshDict.

DTCHull

hull simulation. Mesh created with

snappyHexMesh and refined using

surface STL file. The hull movement

treated as solid body movement with

6 degrees of freedom (no mesh

changes). k-omega SST turbulence

model used.

Rapid OF Blog

21

floatingObject

mesh deformations. Floating object

inserted into a basic hex mesh with

topoSet utility. K-epsilon turbulence

model used.

mixerVesselAMI

of the rotor modeled as solid body

motion. Simulates mixing water with air.

Mesh created with snappyHexMesh and

refined with surfaceFeatureExtract utility

and 3 separate STL files for Gas Inlet,

Stirrer and Outlet.

sloshingTank2D

sloshingTank3D

tank water movement simulation.

testTubeMixer

Modeled as slid body Motion, mesh is

unaltered. Motion described in

dynamicMeshDict.

Rapid OF Blog

22

interFoam - Solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of

fluid) phase-fraction based interface capturing approach.

Tutorial name

laminar

capillaryRise

Description

Natural wall contact driven rise of

water in a capillary channel.

ConstantAlphaContactAngle =

45deg set in 0/alpha.water file.

damBreak

air environment against a

vertical obstacle. Laminar flow

model used and basic coarse

hexagonal mesh.

les

nozzleFlow2D

velocity fuel jet with static

air atmosphere. refineMesh

utility used to improve mesh

quality at the fuel-air

interface.

ras

damBreak

environment against a vertical

obstacle. Transient RANS

turbulent flow modeling with kepsilon turbulence model, waterair surface tension has to be set

in constant/transportProperties

file. Initial water column set with

setFields utility.

Rapid OF Blog

23

damBreakPorous

Baffle

extending from the mid-length of the center obstacle.

CreateBaffles utility used, along with setFields for initial

distribution.

waterChannel

Gravitational flow of

water through a

narrow channel,

originating in a

slightly higher placed

chamber. The

channel mesh is built

using extrudeMesh

utility. K-omega SST

turbulence model

used. Inlet, outlet and atmosphere fluxes calculated using

additional entries in ControlDict.

Water flowing over weir

barrier. RANS turbulent

flow modeling with kepsilon turbulence model.

setFields used for initial

water distribution along

with initial conditions

attached in 0 directory,

which specify water flow

rate.

weirOverflow

Rapid OF Blog

24

interMixingFoam - Solver for 3 incompressible fluids, two of which are miscible, using a VOF

method to capture the interface

Tutorial name

Description

damBreak

which 'water' and 'other' are miscible.

The miscibility is expressed through

diffusion coefficient to be found in

/constant/transportProperties file.

Initial phases distribution in space set

by setFields utility.

phase-change (e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based interface

capturing approach, with optional mesh motion and mesh topology changes including adaptive

re-meshing.

Tutorial name

Description

propeller

cavitation. Propeller mesh is created with

snappyHexMesh including surface

refinements. It is embedded in rotating block

of the domain mesh (solid body rotation).

Mesh is not refined along the simulation.

Initially no vapor is present in the water and

relative propeller water motion is 0. Flow

velocity is then ramped up to 15m/s within

0.01s and propeller rotation to 628 1/s. Picture to the right shows

propeller velocity with vapor volume overlayed as contours.

Rapid OF Blog

25

interPhaseChangeFoam - Solver for 2 incompressible, isothermal immiscible fluids with phasechange (e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based interface capturing

approach

Tutorial name

Description

cavitatingBullet

rapid movement of a bullet. The apparent

bullet speed it 20m/s, flow is laminar and

initially no water vapor is present in the

domain. Mesh created with snappyHexMesh.

LTSInterFoam - Local time stepping (LTS, steady-state) solver for 2 incompressible, isothermal

immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing

approach

Tutorial name

Description

DTCHull

InterDyMFoam example for the same

geometry. Lacks information on the hull

movement due to static mesh. Thanks to

local time stepping the speed of

calculation is significantly higher than for

dynamic mesh and global time step.

Options included in ControlDict extract

forces and moments for every saved time

step.

Rapid OF Blog

26

immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing

approach

Tutorial name

Description

mixerVessel2D

Water (0.25 volume) and air being mixed in a simple 2D mixer. Laminar

flow model used; rotor movement introduced as an additional rotating

frame of reference.

which captures the interfaces and includes surface-tension and contact-angle effects for each

phase

Tutorial name

Description

mixerVessel2D

rotating frame of reference. Simple multiphase settings: separate transport

properties for each phase and phase-to-phase surface tension set in

/constant/transportproperties.

Rapid OF Blog

27

multiphaseEulerFoam Solver for n incompressible fluids with one phase dispersed, e.g. gas

bubbles in a liquid.

Tutorial name

Description

bubbleColumn

columns. Inlet is located at the bottom, where

volumetric ratio of air and water is 0.5 each and the

inflow velocity of air is 0.1 m/s. Flow is laminar and

mesh is created in blockMesh. Initial water column

created with setFields utility.

dambreak4hase

left wall against the obstacle in the center.

Laminar flow model used and coarse mesh

88x142x1. Interfacial interactions, pair by

pair, described in

/constant/transportProperties.

Fine

case described above. Pockets of entrapped

air visible.

Picture for the previous case shows the same

time snapshot The overall flow structure is

similar, but differences in multiphase structure

is clearly visible.

mixerVessel2D

Rapid OF Blog

density fluids and spinning rotor at the center.

The rotor spins thanks to the usage of

additional rotating frame of reference

assigned to the rotor mesh cells. Interfacial

interactions (drag, heat transfer...) included in

constant/interfacialProperties and

transportProperties file.

28

multiphaseInterFoam - Solver for n incompressible fluids which captures the interfaces and

includes surface-tension and contact-angle effects for each phase

Tutorial name

Description

/constant/transportproperties. In this case

each phase has a separate transport model

defined and on phase-phase level only the

interfacial surface tension (sigma) is defined).

dambreak4phase

Fine

above. Details of multiphase structure

differences visible, while overall flow shape is

very similar.

settlingFoam - Solver for 2 incompressible fluids for simulating the settling of the dispersed

phase

Tutorial name

Description

dahl

fraction Alpha initially is very low, but with

inflow it reaches the maximum packing limit.

Transport properties of the sludge set in

/constant/transportProperties file.

Rapid OF Blog

29

tank3D

ribs), 3 outlets (on top side) and a conveying

belt (bottom, far end). Properties set as for the

previous case.

Tutorial name

Description

lockExchange

more dense sludge inside an inviscid walls

column. Kelvin-Helmholtz instabilities develop.

twoPhaseEulerFoam - Solver for a system of 2 incompressible fluid phases with one phase

dispersed, e.g. gas bubbles in a liquid

Tutorial name

laminar

Rapid OF Blog

Description

bubbleColumn

released from the bottom of

still water column. Air bubbles

diameter kept constant

(constant/phaseProperties)

30

bubbleColumnIATE

fluidizedbed

mixerVessel2D

LES

Rapid OF Blog

bubbleColumn

Equation used to estimate air

bubbles diameters distribution

(constant/phaseproperties).

The equation calculates the

rate of bubbles break up and

coalescence. Qualitative

difference in the air behavior

clearly visible as the air tends

to form larger voids throughout

the simulation time.

Laminar case of particles

column being injected with air

stream from the bottom. Even

though the drag model used is

the same as for RAS case

described below, the flow

pattern differs dramatically.

where half of the internal

volume is initially filled with

water. Rotor movement

introduced as additional

rotating frame of reference.

m4 script used to create

blockMesh input and rotor

defined using topoSet.

Inflow of air at the bottom with

0.1 m/s and alpha = 0.5.

Separate files for air and water

thermophysical and turbulence

properties.

/constant/phaseProperties file

contains phase properties i.e.:

surface tension, drag,

blending, aspect ratio, heat

transfer, virtual mass and

other.

31

RAS

Rapid OF Blog

bubbleColumn

up exactly as in LES case.

Here, k-epsilon turbulence

model is used and the case

converges within the

simulation time to a stable 2phase flow pattern, unlike LES

case.

fluidizedBed

Simulation of dispersed

particles column behavior

when hot air is blowed in

from the bottom. Particles

are assumed to be of

spherical shape and

constant radius

(constant/phaseProperties).

32

6.

Heat transfer

buoyantBoussinesqPimpleFoam

incompressible fluids

Transient

solver

Tutorial name

Description

hotRoom

temperature point heat source

influences the behavior of a

static volume of air. Natural

convection occurs. K-epsilon

turbulence model and

Boussinesq Newtonian fluid

model used.

for

buoyant,

turbulent

flow

of

incompressible fluids

Tutorial name

Description

hotRoom

solver case above. For this

simple case, steady state solver

takes half the pseudo-time steps

to converge. Slight difference in

the maximum velocity value can

be observed

iglooWithFridges

warm cubes placed inside.

Simulation shows development

of natural air convection.

Snappyhexmesh used to create

mesh, k-epsilon turbulence used.

Rapid OF Blog

33

buoyantPimpleFoam - Transient solver for buoyant, turbulent flow of compressible fluids for

ventilation and heat-transfer

Tutorial name

Description

hotRoom

above. Does not use Boussinesq

approximation; equation of state

employed instead.

Tutorial name

Description

buoyantCavity

closed cavity, of which one of the

vertical walls is hot and the other

cold. Temperature difference of 19.6

deg drives an up-flow of hot and

down-flow of cold air. k-omega SST

turbulence model used and basic

mesh. Tutorial also provides a

technique to obtain values relevant to

be compared with experiment.

Rapid OF Blog

34

circuitBoardCooling

temperature baffles

representing circuit boards.

Heat is transferred to air flowing

through the domain. One of the

baffles generates heat at

100W/m2.

externalCoupledCavity

boundary conditions modified

using external procedure. For

this case temperatures of the

walls are increase by 1deg

each time step until they

equalize.

hotRadiationRoom

one of the corners, filled with

27degC air. The radiation of the

cube is modeled to show how it

influences the temperature of

the air. Natural convection

develops, driven by the heat of

the cube and cold ceiling and

floor. k-epsilon turbulence

modeling is used.

Discrete Ordinates model is

used instead of P1, to simulate

the influence of radiation.

Rapid OF Blog

35

heat transfer between a solid region and fluid region

Tutorial name

Description

multiRegionHeater

surrounded by water in the

bottom section, by two

solids on the sides of the

upper section and by air

over the top. The bottom of

the heater is 500deg warm,

the temperature in the rest

of domain is 300deg initially.

Additionally, there is 0.01m/s

flow in X direction assigned to the air and water. Left solid is isolated

from the heater.

ater

above, only air used at the

bottom instead of water,

and no thermal isolation

used for left solid. Mesh

created with

snappyHexMesh. Top air is

given initial velocity of

0.1m/s, 10 times more than

the bottom.

Rapid OF Blog

36

conjugate heat transfer between a solid region and fluid region, including steady-state turbulent

flow of compressible fluids

Tutorial name

Description

heatExchanger

bundle of warm water filled

pipes. There is a straight

vanes rotor at the bottom

(fvOptions->MRF and

createBaffles) and the water

is modeled as a porous

region. There are two

domains each with

separate blockMesh and

separate set of

thermophysical properties

and boundary conditions.

diation

solid and 2 fluid zones

(topoSet,

splitMeshRegions). Each

zone has its own fvSolution,

fvSchemes,

thermophysicalProperties

and boundary condition files

generated. The heater is

200deg hotter than the rest

and heat transfer to the

neighboring solids and air

can be observed along with natural convection inside the air domain.

Rapid OF Blog

37

- Openfoam Training Part 1v5Uploaded byFelipe Consuegra
- Exploring OpenFOAMUploaded byJara Asimov
- A simple manual for OpenFoamUploaded byfivos_rg
- openfoam mesh generationUploaded byjdj2007
- Particle injection in OpenFOAMUploaded byZakMan
- Connecting Matlab With OpenFOAM JPUploaded bySomdeb Bandopadhyay
- OpenFOAMUploaded bySattar Al-Jabair
- OPENFOAM Programmers GuideUploaded byhavona
- Openfoam Training Part 2v5Uploaded bycypiii
- LucchiniPolyMilanoUploaded byAghajani
- OpenFOAM - 12 tips and tricksUploaded bysina_mech
- Boundary Conditions Of230 Full SpecificationUploaded byJack Weatheritt
- OpenFoam ExamplesUploaded byrvaidy163
- Multi phase Solvers of OpenFOAM with governing equationsUploaded bySoureshh Pal
- OpenFoam SolversUploaded by문정은
- Analysis of Flow Around a Ship Propeller Using OpenFOAMUploaded bybinho58
- LectureSlides10_openfoamUploaded byŞükrü Ayhan Baydır
- OpenFOAM SnappyHexMesh TutorialUploaded bymehulkumarp_cfd
- High Level Programming for OpenFOAMUploaded byJack Weatheritt
- Radiation in OpenFoam FinalUploaded byakhourch
- OpenFOAM Tips & TricksUploaded bybinho58
- Simple Beginning 3D OpenFOAM TutorialUploaded bysohcahtoa
- openFoamUserManual_PFMUploaded byLuis Borraz
- Open Foam-MeshingUploaded bysuresh_501
- Exergy Analysis of Solar Thermal SystemUploaded bySuhas Karanth
- Thesis Used OpenfoamUploaded byMohdFairuzZakariya
- 02 Propeller With OpenFOAMUploaded bykayhan
- Cfd OpenfoamUploaded byKush Verma
- OpenFoamUploaded bysuresh_501
- OpenFOAM.pdfUploaded bySattar Al-Jabair

- AE 753 Advance Heat TransferUploaded byfake7083
- Basics of Turbulent FlowUploaded bylebrix
- Lecture 13Uploaded byQaisar Hayat
- Chapter 1 - IntroductionUploaded byShaikh Abdur Razzak
- Syllabus (New) Gujarat University B E Chemical Engineering All SemesterUploaded bytarunbnsl
- LaminarUploaded byHitesh Bahl
- Drag, Boundary Layer and Hull Roughness on Ship Hull SurfaceUploaded byFIRDAUS BIN MAHAMAD
- 56.pdfUploaded byAmine Abd Alah
- Computational Fluid Dynamics Vol.iii - HoffmannUploaded byNasim Boshra
- FRICTION LOSSES IN STRAIGHT PIPEUploaded bywhoelse_i
- Internal FlowUploaded byHassanKM
- FLOW CONTROL – ACTIVE AND PASSIVEUploaded byVineet Maheshwari
- Turbulent Drag Reduction Using Superhydrophobic SurfacesUploaded bySouthlakeguy
- Bird WingsUploaded byScipione001
- Chapter10 LectureUploaded byamir
- Module 6: Learning ObjectivesUploaded bycaptainhass
- Fluid Mechanics- ReviewerUploaded byLouie George McQuiles
- Fluid Mechanics MCQSUploaded byyaseen
- Fm&Hm Objective TypeUploaded byPradeep Juvvadi
- River Hydraulics, US Army Corps of EngineersUploaded byDipro Sarkar
- cfd2003Uploaded bymoongate72695
- External Forced ConvectionUploaded byEnesEmreTaş
- What is Fluid MechanicsUploaded byHazizi Khairy
- Fluid-Flow-Through-A-Packed-Bed_REV1.pdfUploaded byJohn Louie Gresula
- V Riend 1981Uploaded byManu Chakkingal
- Chair of Aeroengine TU Berlin 2013Uploaded byitemboleh
- EBVF4103 (Chapter 3) Fluid Mechanics for Civil EngineeringUploaded bylamury
- Boundary LayersUploaded byIzi
- NORA-Lec #1 VISCOUS FLOW IN PIPES_Published.pdfUploaded byShahirah Ghani
- Project FluidUploaded byisyraffitri