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 

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

30 

31 
% title, author, etc stuff 
32 
\title{The \textit{escript} COOKBOOK} 
33 

34 

35 

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

49 
\makeindex 
50 

51 
\begin{document} 
52 

53 
\maketitle 
54 

55 
% This must come after maketitle or you'll get latex in the pdf title 
56 
\ifpdf 
57 
\pdfinfo { 
58 
/Author (Antony Hallam and Lutz Gross) 
59 
/Title (escript COOKBOOK) 
60 
/Keywords (escript, PDEs) 
61 
} 
62 
\fi 
63 

64 
\input{../user/copyrights} 
65 

66 
\begin{abstract} 
67 
\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 introduce new users to \esc and provide a set of examples which demonstrate the major concepts and can be adapted to new problems. Although most of the examples in this cookbook are focused on the disciplines of geophysics and geology, they provide solid introduction to \esc and its capabilities. 
68 
\end{abstract} 
69 
\tableofcontents 
70 

71 
\newpage 
72 

73 
\input{intro} 
74 

75 

76 
\chapter{Getting Started with Heat Diffusion} 
77 
\label{CHAP HEAT DIFF} 
78 
We start by examining a simple one dimensional heat diffusion equation. This problem provides a good starting example 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 much clearer as we develop our understanding further into the cookbook.} 
79 
\input{example01} 
80 
\input{example02} 
81 

82 
\chapter{Heat Diffusion in Two Dimensions} 
83 
\label{CHAP HEAT 2a} 
84 
\input{example03} 
85 

86 

87 
\chapter{Complex Geometries} 
88 
\label{CHAP HEAT 2} 
89 
\input{steadystateheatdiff} 
90 

91 
% Moving into 2D and 3D wave propagations in next chapters. 
92 
% not part of release 3.1 
93 
% \chapter{Seismic Wave Propagation} 
94 
% \input{twodswp001} 
95 

96 
%\include{einsteinETA} 
97 
\end{document} 