Solving PDEs in Python

Solving PDEs in Python
Author: Hans Petter Langtangen
Publisher: Springer
Total Pages: 152
Release: 2017-03-21
Genre: Computers
ISBN: 3319524623

Download Solving PDEs in Python Book in PDF, Epub and Kindle

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.

Solving PDEs in Python

Solving PDEs in Python
Author: Hans Petter Langtangen
Publisher:
Total Pages: 150
Release: 2020-10-08
Genre: Computers
ISBN: 9781013268168

Download Solving PDEs in Python Book in PDF, Epub and Kindle

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 work was published by Saint Philip Street Press pursuant to a Creative Commons license permitting commercial use. All rights not granted by the work's license are retained by the author or authors.

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

PETSc for Partial Differential Equations: Numerical Solutions in C and Python
Author: Ed Bueler
Publisher: SIAM
Total Pages: 407
Release: 2020-10-22
Genre: Mathematics
ISBN: 1611976316

Download PETSc for Partial Differential Equations: Numerical Solutions in C and Python Book in PDF, Epub and Kindle

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: Hans Petter Langtangen
Publisher: Springer
Total Pages: 522
Release: 2017-06-21
Genre: Computers
ISBN: 3319554565

Download Finite Difference Computing with PDEs Book in PDF, Epub and Kindle

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: Anders Logg
Publisher: Springer Science & Business Media
Total Pages: 723
Release: 2012-02-24
Genre: Computers
ISBN: 3642230997

Download Automated Solution of Differential Equations by the Finite Element Method Book in PDF, Epub and Kindle

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: Svein Linge
Publisher: Springer
Total Pages: 244
Release: 2016-07-25
Genre: Computers
ISBN: 3319324284

Download Programming for Computations - Python Book in PDF, Epub and Kindle

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.

An Introduction to Computational Stochastic PDEs

An Introduction to Computational Stochastic PDEs
Author: Gabriel J. Lord
Publisher: Cambridge University Press
Total Pages: 516
Release: 2014-08-11
Genre: Mathematics
ISBN: 1139915770

Download An Introduction to Computational Stochastic PDEs Book in PDF, Epub and Kindle

This book gives a comprehensive introduction to numerical methods and analysis of stochastic processes, random fields and stochastic differential equations, and offers graduate students and researchers powerful tools for understanding uncertainty quantification for risk analysis. Coverage includes traditional stochastic ODEs with white noise forcing, strong and weak approximation, and the multi-level Monte Carlo method. Later chapters apply the theory of random fields to the numerical solution of elliptic PDEs with correlated random data, discuss the Monte Carlo method, and introduce stochastic Galerkin finite-element methods. Finally, stochastic parabolic PDEs are developed. Assuming little previous exposure to probability and statistics, theory is developed in tandem with state-of-the-art computational methods through worked examples, exercises, theorems and proofs. The set of MATLAB® codes included (and downloadable) allows readers to perform computations themselves and solve the test problems discussed. Practical examples are drawn from finance, mathematical biology, neuroscience, fluid flow modelling and materials science.

Solving PDEs in C++

Solving PDEs in C++
Author: Yair Shapira
Publisher: SIAM
Total Pages: 775
Release: 2012-06-07
Genre: Computers
ISBN: 1611972167

Download Solving PDEs in C++ Book in PDF, Epub and Kindle

In this much-expanded second edition, author Yair Shapira presents new applications and a substantial extension of the original object-oriented framework to make this popular and comprehensive book even easier to understand and use. It not only introduces the C and C++ programming languages, but also shows how to use them in the numerical solution of partial differential equations (PDEs). The book leads readers through the entire solution process, from the original PDE, through the discretization stage, to the numerical solution of the resulting algebraic system. The high level of abstraction available in C++ is particularly useful in the implementation of complex mathematical objects, such as unstructured mesh, sparse matrix, and multigrid hierarchy, often used in numerical modeling. The well-debugged and tested code segments implement the numerical methods efficiently and transparently in a unified object-oriented approach.

Introduction to Numerical Methods for Variational Problems

Introduction to Numerical Methods for Variational Problems
Author: Hans Petter Langtangen
Publisher: Springer Nature
Total Pages: 395
Release: 2019-09-26
Genre: Mathematics
ISBN: 3030237885

Download Introduction to Numerical Methods for Variational Problems Book in PDF, Epub and Kindle

This textbook teaches finite element methods from a computational point of view. It focuses on how to develop flexible computer programs with Python, a programming language in which a combination of symbolic and numerical tools is used to achieve an explicit and practical derivation of finite element algorithms. The finite element library FEniCS is used throughout the book, but the content is provided in sufficient detail to ensure that students with less mathematical background or mixed programming-language experience will equally benefit. All program examples are available on the Internet.

Solving PDEs in Python

Solving PDEs in Python
Author: Hans Petter Langtangen
Publisher:
Total Pages:
Release: 2016
Genre:
ISBN:

Download Solving PDEs in Python Book in PDF, Epub and Kindle