Solving PDEs in Python

Solving PDEs in Python
Author :
Publisher : Springer
Total Pages : 152
Release :
ISBN-10 : 9783319524627
ISBN-13 : 3319524623
Rating : 4/5 (27 Downloads)

Synopsis Solving PDEs in Python by : Hans Petter Langtangen

This book offers a concise and gentle introduction to finite element programming in Python based on the popular FEniCS software library. Using a series of examples, including the Poisson equation, the equations of linear elasticity, the incompressible Navier–Stokes equations, and systems of nonlinear advection–diffusion–reaction equations, it guides readers through the essential steps to quickly solving a PDE in FEniCS, such as how to define a finite variational problem, how to set boundary conditions, how to solve linear and nonlinear systems, and how to visualize solutions and structure finite element Python programs. This book is open access under a CC BY license.

PETSc for Partial Differential Equations: Numerical Solutions in C and Python

PETSc for Partial Differential Equations: Numerical Solutions in C and Python
Author :
Publisher : SIAM
Total Pages : 407
Release :
ISBN-10 : 9781611976311
ISBN-13 : 1611976316
Rating : 4/5 (11 Downloads)

Synopsis PETSc for Partial Differential Equations: Numerical Solutions in C and Python by : Ed Bueler

The Portable, Extensible Toolkit for Scientific Computation (PETSc) is an open-source library of advanced data structures and methods for solving linear and nonlinear equations and for managing discretizations. This book uses these modern numerical tools to demonstrate how to solve nonlinear partial differential equations (PDEs) in parallel. It starts from key mathematical concepts, such as Krylov space methods, preconditioning, multigrid, and Newton’s method. In PETSc these components are composed at run time into fast solvers. Discretizations are introduced from the beginning, with an emphasis on finite difference and finite element methodologies. The example C programs of the first 12 chapters, listed on the inside front cover, solve (mostly) elliptic and parabolic PDE problems. Discretization leads to large, sparse, and generally nonlinear systems of algebraic equations. For such problems, mathematical solver concepts are explained and illustrated through the examples, with sufficient context to speed further development. PETSc for Partial Differential Equations addresses both discretizations and fast solvers for PDEs, emphasizing practice more than theory. Well-structured examples lead to run-time choices that result in high solver performance and parallel scalability. The last two chapters build on the reader’s understanding of fast solver concepts when applying the Firedrake Python finite element solver library. This textbook, the first to cover PETSc programming for nonlinear PDEs, provides an on-ramp for graduate students and researchers to a major area of high-performance computing for science and engineering. It is suitable as a supplement for courses in scientific computing or numerical methods for differential equations.

Finite Difference Computing with PDEs

Finite Difference Computing with PDEs
Author :
Publisher : Springer
Total Pages : 522
Release :
ISBN-10 : 9783319554563
ISBN-13 : 3319554565
Rating : 4/5 (63 Downloads)

Synopsis Finite Difference Computing with PDEs by : Hans Petter Langtangen

This book is open access under a CC BY 4.0 license. This easy-to-read book introduces the basics of solving partial differential equations by means of finite difference methods. Unlike many of the traditional academic works on the topic, this book was written for practitioners. Accordingly, it especially addresses: the construction of finite difference schemes, formulation and implementation of algorithms, verification of implementations, analyses of physical behavior as implied by the numerical solutions, and how to apply the methods and software to solve problems in the fields of physics and biology.

Automated Solution of Differential Equations by the Finite Element Method

Automated Solution of Differential Equations by the Finite Element Method
Author :
Publisher : Springer Science & Business Media
Total Pages : 723
Release :
ISBN-10 : 9783642230998
ISBN-13 : 3642230997
Rating : 4/5 (98 Downloads)

Synopsis Automated Solution of Differential Equations by the Finite Element Method by : Anders Logg

This book is a tutorial written by researchers and developers behind the FEniCS Project and explores an advanced, expressive approach to the development of mathematical software. The presentation spans mathematical background, software design and the use of FEniCS in applications. Theoretical aspects are complemented with computer code which is available as free/open source software. The book begins with a special introductory tutorial for beginners. Following are chapters in Part I addressing fundamental aspects of the approach to automating the creation of finite element solvers. Chapters in Part II address the design and implementation of the FEnicS software. Chapters in Part III present the application of FEniCS to a wide range of applications, including fluid flow, solid mechanics, electromagnetics and geophysics.

Programming for Computations - Python

Programming for Computations - Python
Author :
Publisher : Springer
Total Pages : 244
Release :
ISBN-10 : 9783319324289
ISBN-13 : 3319324284
Rating : 4/5 (89 Downloads)

Synopsis Programming for Computations - Python by : Svein Linge

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more accessible and concise, in keeping with the needs of engineering students. The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.

Programming for Computations - MATLAB/Octave

Programming for Computations - MATLAB/Octave
Author :
Publisher : Springer
Total Pages : 228
Release :
ISBN-10 : 9783319324524
ISBN-13 : 3319324527
Rating : 4/5 (24 Downloads)

Synopsis Programming for Computations - MATLAB/Octave by : Svein Linge

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more accessible and concise, in keeping with the needs of engineering students. The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.

Python for Scientists

Python for Scientists
Author :
Publisher : Cambridge University Press
Total Pages : 233
Release :
ISBN-10 : 9781107061392
ISBN-13 : 1107061393
Rating : 4/5 (92 Downloads)

Synopsis Python for Scientists by : John Stewart

This book provides everything the working scientist needs to know to start using Python effectively.

Computational Partial Differential Equations

Computational Partial Differential Equations
Author :
Publisher : Springer Science & Business Media
Total Pages : 704
Release :
ISBN-10 : 9783662011706
ISBN-13 : 3662011700
Rating : 4/5 (06 Downloads)

Synopsis Computational Partial Differential Equations by : Hans Petter Langtangen

Targeted at students and researchers in computational sciences who need to develop computer codes for solving PDEs, the exposition here is focused on numerics and software related to mathematical models in solid and fluid mechanics. The book teaches finite element methods, and basic finite difference methods from a computational point of view, with the main emphasis on developing flexible computer programs, using the numerical library Diffpack. Diffpack is explained in detail for problems including model equations in applied mathematics, heat transfer, elasticity, and viscous fluid flow. All the program examples, as well as Diffpack for use with this book, are available on the Internet. XXXXXXX NEUER TEXT This book is for researchers who need to develop computer code for solving PDEs. Numerical methods and the application of Diffpack are explained in detail. Diffpack is a modern C++ development environment that is widely used by industrial scientists and engineers working in areas such as oil exploration, groundwater modeling, and materials testing. All the program examples, as well as a test version of Diffpack, are available for free over the Internet.

Numerical Methods in Computational Finance

Numerical Methods in Computational Finance
Author :
Publisher : John Wiley & Sons
Total Pages : 551
Release :
ISBN-10 : 9781119719724
ISBN-13 : 1119719720
Rating : 4/5 (24 Downloads)

Synopsis Numerical Methods in Computational Finance by : Daniel J. Duffy

This book is a detailed and step-by-step introduction to the mathematical foundations of ordinary and partial differential equations, their approximation by the finite difference method and applications to computational finance. The book is structured so that it can be read by beginners, novices and expert users. Part A Mathematical Foundation for One-Factor Problems Chapters 1 to 7 introduce the mathematical and numerical analysis concepts that are needed to understand the finite difference method and its application to computational finance. Part B Mathematical Foundation for Two-Factor Problems Chapters 8 to 13 discuss a number of rigorous mathematical techniques relating to elliptic and parabolic partial differential equations in two space variables. In particular, we develop strategies to preprocess and modify a PDE before we approximate it by the finite difference method, thus avoiding ad-hoc and heuristic tricks. Part C The Foundations of the Finite Difference Method (FDM) Chapters 14 to 17 introduce the mathematical background to the finite difference method for initial boundary value problems for parabolic PDEs. It encapsulates all the background information to construct stable and accurate finite difference schemes. Part D Advanced Finite Difference Schemes for Two-Factor Problems Chapters 18 to 22 introduce a number of modern finite difference methods to approximate the solution of two factor partial differential equations. This is the only book we know of that discusses these methods in any detail. Part E Test Cases in Computational Finance Chapters 23 to 26 are concerned with applications based on previous chapters. We discuss finite difference schemes for a wide range of one-factor and two-factor problems. This book is suitable as an entry-level introduction as well as a detailed treatment of modern methods as used by industry quants and MSc/MFE students in finance. The topics have applications to numerical analysis, science and engineering. More on computational finance and the author’s online courses, see www.datasim.nl.

Python Programming and Numerical Methods

Python Programming and Numerical Methods
Author :
Publisher : Academic Press
Total Pages : 482
Release :
ISBN-10 : 9780128195505
ISBN-13 : 0128195509
Rating : 4/5 (05 Downloads)

Synopsis Python Programming and Numerical Methods by : Qingkai Kong

Python Programming and Numerical Methods: A Guide for Engineers and Scientists introduces programming tools and numerical methods to engineering and science students, with the goal of helping the students to develop good computational problem-solving techniques through the use of numerical methods and the Python programming language. Part One introduces fundamental programming concepts, using simple examples to put new concepts quickly into practice. Part Two covers the fundamentals of algorithms and numerical analysis at a level that allows students to quickly apply results in practical settings. - Includes tips, warnings and "try this" features within each chapter to help the reader develop good programming practice - Summaries at the end of each chapter allow for quick access to important information - Includes code in Jupyter notebook format that can be directly run online