logo
  • Overview
  • Download
  • Installation
  • FAQ
  • Documentation
  • Tutorials
  • Community
  • Developers
  • Misc.
  • Guide to PETSc Tutorial Examples, by Physics
  • Guide to the Stokes Equations using Finite Elements in PETSc
  • Guide to the Meshing for Subsurface Flows in PETSc
  • Classic "Hands-on" tutorials
Edit this page

PETSc TutorialsΒΆ

PETSc has many tutorial examples, found in tutorials/ directories throughout the src/ tree. Since these do not have informative names and vary greatly in their complexity and level of internal documentation, this page provides guides to connect the tutorial examples to particular physics, discretizations, solvers, etc. that you might be interested in.

  • Guide to PETSc Tutorial Examples, by Physics
    • Poisson
    • Elastostatics
    • Stokes
    • Euler
    • Heat equation
    • Navier-Stokes
  • Guide to the Stokes Equations using Finite Elements in PETSc
    • Equation Definition
    • MMS Solutions
    • Dealing with Parameters
    • Investigating convergence
    • Bibliography
  • Guide to the Meshing for Subsurface Flows in PETSc
    • Reading the ASCII Output
    • Refinement of Simplex Meshes
  • Classic "Hands-on" tutorials
    • Example 1: Linear Poisson equation on a 2D grid
    • Example 2: Nonlinear ODE arising from a time-dependent one dimensional PDE
    • Example 3: Nonlinear PDE on a structured grid
    • Example 4: Linear Stokes-type PDE on a structured grid
    • Example 5: Nonlinear time dependent PDE on Unstructured Grid
Changes: 2.0.Beta.4 Guide to PETSc Tutorial Examples, by Physics

© Copyright 1991-2021, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 3.5.4.

Last updated on 2021-09-29T14:27:18-0500 (v3.15.5).