Download - Basic Boundary Conditions in OpenFOAM v2.4

Transcript
Page 1: Basic Boundary Conditions in OpenFOAM v2.4

Basic Boundary Conditions

in OpenFOAM v2.4

Classification

Steady Time-

varying

Dirichlet

Neumann

Robin Not

Implemented

Periodic

Symmetry

fixedValue uniformFixedValue

fixedGradient uniformFixedGradient

zeroGradient

mixed

cyclic

๐œ™ ๐’™ = ๐‘“ ๐’™ ๐œ™ ๐’™, ๐‘ก = ๐‘“ ๐’™, ๐‘ก

๐œ•๐œ™

๐œ•๐’๐’™ = ๐‘” ๐’™

๐œ•๐œ™

๐œ•๐’๐’™, ๐‘ก = ๐‘” ๐’™, ๐‘ก

๐œ•๐œ™

๐œ•๐’๐’™ = 0

a๐›ผ ๐’™ ๐œ™ ๐’™

+๐›ฝ ๐’™๐œ•๐œ™

๐œ•๐’๐’™ = โ„Ž ๐’™

cyclicAMI

mixed BC

mixed fixedValue

fixedGradient

=

+ ร—

ร— w

(1-w)

w

fixedValue

fixedGradient

W = 1

W = 0

mixed

symmetryPlane

symmetryPlane or slip?

๐œ•๐œ™

๐œ•๐’๐’™ = 0

Scalar ๐œ™ Vector ๐“

๐“ ๐’™ โˆ™ ๐’ = 0, ๐œ•๐“๐‘ก

๐œ•๐’๐’™ = ๐ŸŽ

symmetryPlane is used on

a single and perfectly flat boundary

slip can be used on curved boundaries

symmetryPlane slip

๐’

mixed BC is a combination of

fixedValue and fixedGradient BCs

A weighting parameter w (0-1) switches between these types

directionMixed BC

For vector fields, directionMixed BC

is a combination of fixedValue and

fixedGradient BCs

A weighting parameter (tensor) controls which direction these BCs are apply to

1

2๐’โŠ— ๐’ + ๐’โŠ—๐’ ๐‘‡

w

๐‘‚3 (Zero matrix)

๐ผ3 (Identity matrix) fixedValue

fixedGradient

fixedGradient

fixedValue

Normal direction

Tangential direction

All directions