Chapter 8 Configuring Fluidity - The Applied Modelling and ...
Chapter 8 Configuring Fluidity - The Applied Modelling and ...
Chapter 8 Configuring Fluidity - The Applied Modelling and ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
x CONTENTS<br />
A.3.2 Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210<br />
A.3.3 Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210<br />
A.3.4 flml options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211<br />
A.3.5 Generating pdf <strong>and</strong> html output . . . . . . . . . . . . . . . . . . . . . . . . . . 211<br />
A.3.6 Representing source code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211<br />
A.3.7 Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212<br />
A.3.8 Mathematical notation conventions . . . . . . . . . . . . . . . . . . . . . . . . 212<br />
B Mathematical notation 215<br />
C Useful numbers 217<br />
D Dimensional analysis 219<br />
D.1 Non-dimensionalisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219<br />
D.2 Dimensionless parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221<br />
E <strong>The</strong> <strong>Fluidity</strong> Python state interface 223<br />
E.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223<br />
E.2 Data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223<br />
E.2.1 Field objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224<br />
E.2.2 State objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224<br />
E.3 Predefined data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225<br />
E.4 Importing modules <strong>and</strong> accessing external data . . . . . . . . . . . . . . . . . . . . . . 225<br />
E.5 <strong>The</strong> persistent dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225<br />
E.6 Debugging with an interactive Python session . . . . . . . . . . . . . . . . . . . . . . . 225<br />
E.7 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226<br />
F External libraries 227<br />
F.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227<br />
F.2 List of external libraries <strong>and</strong> software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227<br />
F.3 Installing required libraries on Debian or Ubuntu . . . . . . . . . . . . . . . . . . . . . 228<br />
F.4 Manual install of external libraries <strong>and</strong> software . . . . . . . . . . . . . . . . . . . . . . 228<br />
F.4.1 Build environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229<br />
F.4.2 Compilers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229<br />
F.4.3 Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230<br />
F.4.4 Numerical Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231<br />
F.4.5 VTK <strong>and</strong> supporting software . . . . . . . . . . . . . . . . . . . . . . . . . . . 233<br />
F.4.6 Supporting Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234<br />
G Troubleshooting 237<br />
G.1 Backtraces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237<br />
Index 239