1 

2 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
3 
% 
4 
% Copyright (c) 20032010 by University of Queensland 
5 
% Earth Systems Science Computational Center (ESSCC) 
6 
% http://www.uq.edu.au/esscc 
7 
% 
8 
% Primary Business: Queensland, Australia 
9 
% Licensed under the Open Software License version 3.0 
10 
% http://www.opensource.org/licenses/osl3.0.php 
11 
% 
12 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
13 

14 
\documentclass{manual} 
15 
%%% Table of contents to list down to subsections and no further 
16 
\setcounter{tocdepth}{3} 
17 
%%% Number down to subsubsections only 
18 
\setcounter{secnumdepth}{3} 
19 
% grab the handy definitions and \usepackage statements etc 
20 
\input{cookbook_defs} 
21 
% title, author, etc stuff 
22 
\title{The \textit{escript} COOKBOOK} 
23 

24 
\ifpdf 
25 
\pdfinfo { 
26 
/Author (Antony Hallam and Lutz Gross) 
27 
/Title (escript COOKBOOK) 
28 
/Keywords (escript, PDEs) 
29 
} 
30 
\fi 
31 

32 
\author{Antony Hallam, Lutz Gross, et. al.} 
33 
\authoraddress{ 
34 
Earth Systems Science Computational Centre (ESSCC) \\ 
35 
School of Earth Sciences \\ 
36 
The University of Queensland \\ 
37 
Brisbane, Australia \\ 
38 
Email: \email{esys@esscc.uq.edu.au} 
39 
} 
40 
\date{\today} 
41 
\release{development} 
42 
\setreleaseinfo{\\(r\RepVersion)} 
43 
\setshortversion{} 
44 

45 
\makeindex 
46 

47 
\begin{document} 
48 

49 
\maketitle 
50 

51 
\input{../user/copyrights} 
52 

53 
\begin{abstract} 
54 
\esc is a \pyt based environment that has been developed to solve complex mathematical models, particularly coupled, nonlinear and timedependent partial differential equations. The intention of this cookbook, is to give new \esc users a comprehensive introduction, and to create a fundamental knowledge base and example set, that can be used as templates or references for new problems. While most of the examples in this cookbook are focused on the disciplines of geophysics and geology they all provide a solid introduction to \esc and it's capabilities. 
55 
\end{abstract} 
56 
\tableofcontents 
57 

58 
\newpage 
59 

60 
\input{intro} 
61 

62 

63 
\chapter{Getting Started with Heat Diffusion} 
64 
\label{CHAP HEAT DIFF} 
65 
We will start by examining a simple one dimensional heat diffusion example. This problem will provide a good launch pad to build our knowledge of \esc and demonstrate how to solve simple partial differential equations (PDEs)\footnote{Wikipedia provides an excellent and comprehensive introduction to \textit{Partial Differential Equations} \url{http://en.wikipedia.org/wiki/Partial_differential_equation}, however their relevance to \esc and implementation should become a clearer as we develop our understanding further into the cookbook.} 
66 
\input{onedheatdiff001} 
67 
\input{onedheatdiff002} 
68 

69 
\chapter{Another Dimension, Complex Models and Visualisation} 
70 
\label{CHAP HEAT 2} 
71 
\input{twodheatdiff001} 
72 
\input{steadystateheatdiff} 
73 

74 
% Moving into 2D and 3D wave propagations in next chapters. 
75 
\chapter{Seismic Wave Propagation} 
76 
\input{twodswp001} 
77 

78 
\include{einsteinETA} 
79 
\end{document} 