Solving PDEs in Python: The FEniCS Tutorial IThis 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. |
Other editions - View all
Solving PDEs in Python: The FEniCS Tutorial I Hans Petter Langtangen,Anders Logg No preview available - 2020 |
Solving PDEs in Python: The FEniCS Tutorial I Hans Petter Langtangen,Anders Logg No preview available - 2020 |
Solving PDEs in Python: The FEniCS Tutorial I Hans Petter Langtangen,Anders Logg No preview available - 2017 |
Common terms and phrases
boundary conditions cell convergence rates coordinates create Creative Commons license def boundary(x Define variational problem degree=1 degrees of freedom Dirichlet conditions DirichletBC Docker domain error exact solution example program Expression objects FEniCS implementation fenics import FEniCS programs finite element function finite element method flux function space Function(V grad gradient heat equation integrals interpolate iterative L2-norm linear solvers linear system mathematical Matplotlib mesh MeshFunction mshr nabla_grad Navier–Stokes equations Neumann condition nodal_values nonlinear num_steps numpy numpy array parameters ParaView plot Poisson equation Poisson problem preconditioners Python return on_boundary right-hand side Robin condition solve(a solver function Solving PDEs specify step subdomains sympy syntax tensor test functions test problem TestFunction time-stepping TrialFunction tutorial u_box u.vector un+1 unit tests variable variational formulation variational problem vector vector-valued velocity vertex values vertices visualization vtkfile