OpenFOAM: Programmer's guide

From en.wiki.laduga.ru
Jump to: navigation, search

Contents

1 Tensor mathematics
1.1 Coordinate system
1.2 Tensors
1.2.1 Tensor notation
1.3 Algebraic tensor operations
1.3.1 The inner product
1.3.2 The double inner product of two tensors
1.3.3 The triple inner product of two third rank tensors
1.3.4 The outer product
1.3.5 The cross product of two vectors
1.3.6 Other general tensor operations
1.3.7 Geometric transformation and the identity tensor
1.3.8 Useful tensor identities
1.3.9 Operations exclusive to tensors of rank 2
1.3.10 Operations exclusive to scalars
1.4 OpenFOAM tensor classes
1.4.1 Algebraic tensor operations in OpenFOAM
1.5 Dimensional units
2 Discretisation procedures
2.1 Differential operators
2.1.1 Gradient
2.1.2 Divergence
2.1.3 Curl
2.1.4 Laplacian
2.1.5 Temporal derivative
2.2 Overview of discretisation
2.2.1 OpenFOAM lists and fields
2.3 Discretisation of the solution domain
2.3.1 Defining a mesh in OpenFOAM
2.3.2 Defining a geometricField in OpenFOAM
2.4 Equation discretisation
2.4.1 The Laplacian term
2.4.2 The convection term
2.4.3 First time derivative
2.4.4 Second time derivative
2.4.5 Divergence
2.4.6 Gradient
2.4.7 Grad-grad squared
2.4.8 Curl
2.4.9 Source terms
2.4.10 Other explicit discretisation schemes
2.5 Temporal discretisation
2.5.1 Treatment of temporal discretisation in OpenFOAM
2.6 Boundary Conditions
2.6.1 Physical boundary conditions
3 Examples of the use of OpenFOAM
3.1 Flow around a cylinder
3.1.1 Problem specification
3.1.2 Note on potentialFoam
3.1.3 Mesh generation
3.1.4 Boundary conditions and initial fields
3.1.5 Running the case
3.2 Steady turbulent flow over a backward-facing step
3.2.1 Problem specification
3.2.2 Mesh generation
3.2.3 Boundary conditions and initial fields
3.2.4 Case control
3.2.5 Running the case and post-processing
3.3 Supersonic flow over a forward-facing step
3.3.1 Problem specification
3.3.2 Mesh generation
3.3.3 Running the case
3.3.4 Exercise
3.4 Decompression of a tank internally pressurised with water
3.4.1 Problem specification
3.4.2 Mesh Generation
3.4.3 Preparing the Run
3.4.4 Running the case
3.4.5 Improving the solution by refining the mesh
3.5 Magnetohydrodynamic flow of a liquid
3.5.1 Problem specification
3.5.2 Mesh generation
3.5.3 Running the case