A very basic 2D FV example, a scalar advection solver, using PETSc DMDA, is
at
   https://github.com/bueler/p4pdes/blob/master/c/ch11/advect.c
and documented in Chapter 11 of my book (
https://my.siam.org/Store/Product/viewproduct/?ProductId=32850137).  This
example might be most useful to you if you are interested in implementing
flux limiters.

Ed

> Dear PETSc Team,
>
> I would like to ask you if there a finite volume solver build using the
> PETSc data structure. I have found several manuscripts or presentations
> that mention that but I cannot retrieve an example it.
>
> Thank you.
>
> Regards,

-- 
Ed Bueler
Dept of Mathematics and Statistics
University of Alaska Fairbanks
Fairbanks, AK 99775-6660
306C Chapman

Reply via email to