[petsc-users] PETSc on unstructured meshes / Sieve
Matthew Knepley
knepley at gmail.com
Wed Aug 24 08:45:57 CDT 2011
On Wed, Aug 24, 2011 at 1:25 PM, Marek Schmitt <marek.schmitt at yahoo.com>wrote:
> I would like to experiment with PETSc for learning FVM on unstructured
> grids. I get the impression that PETSc is primarily developed for structured
> grids with cartesian topology, is this true?
>
PETSc is not primarily developed for discretization and topology. It solves
systems of nonlinear algebraic equations. It does have
some extensions that handle structured (DMDA) and unstructured (DMMesh)
under the recently developed DM interface.
> Pylith and Fenics seem to use Sieve for unstructured grids. Is Sieve part
> of PETSc?
>
Sieve is both the name of an interface (implemented by FEniCS) and an
implementation of that interface (in PETSc).
> Why is it so much hidden? The very silent sieve-dev mailing list exists
> since four years, but there is a recent post:
>
I am not sure its hidden. I answer all the questions on the list. Its a big
project for one person to support. I put most of
my time into supporting PyLith (http://geodynamics.org/cig/software/pylith)
which uses it for parallel FEM simulation.
PETSc is 20 years old, so we have had time to make some components more
robust.
> "2) Unstructured meshes. This is not well-documented. There is a tutorial
> presentation and a repository of code for it. A few people have used this,
> but it is nowhere near the level of clarity and robustness that the rest of
> PETSc has." (from
> http://lists.mcs.anl.gov/pipermail/sieve-dev/2010-October/000098.html)
> Is the sieve-dev list about a different sieve than what is used by Pylith
> and Fenics?
>
They are two different implementations.
> There is a PETSc FAQ "Do you have examples of doing unstructured grid
> finite element computations (FEM) with PETSc?". It mentions Sieve but no
> further links or documentation.
>
> Is the directory petsc-3.1-p8/include/sieve all that is needed to work with
> Sieve? Or are these only header files, and I have to link to the Sieve
> library from somewhere else (then where can I find Sieve)?
>
You must use petsc-dev in order for the examples to work, like SNES ex12.
Thanks,
Matt
> Please shine some light into the mysterious Sieve.
> Marek
>
--
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110824/1e2a7115/attachment.htm>
More information about the petsc-users
mailing list