464x Filetype PDF File size 0.76 MB Source: palabos.unige.ch
Palabos Tutorial
Release 1.0r0
JonasLatt
Jun12,2020
CONTENTS
1 Introductory comments 3
2 Tutorial 1: First steps with Palabos 5
2.1 Tutorial 1.1: The first code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Tutorial 1.2: Initializing the lattice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Tutorial 1.3: Compilation options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4 Tutorial 1.4: Data analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5 Tutorial 1.5: Boundary conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.6 Tutorial 1.6: 3D Channel flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.7 Tutorial 1.7: Post-processing with Paraview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 Tutorial 2: Understanding the multi-block structure 19
3.1 Tutorial 2.1: Formulating a program with an atomic-block . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Tutorial 2.2: Creating a multi-block structure manually . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3 Tutorial 2.3: Understanding data processors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.4 Tutorial 2.4: Generate the sparse-block structure automatically . . . . . . . . . . . . . . . . . . . . . 27
3.5 Tutorial 2.5: Parallelism in a manually created multi-block . . . . . . . . . . . . . . . . . . . . . . . 29
4 Geophysics: compute the permeability of a 3D Porous Medium 31
4.1 Pre-processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.2 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.3 Post-processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
i
ii
no reviews yet
Please Login to review.