[Dune] Reading arbitrary polygonal meshes in Dune
Andreas Dedner
a.s.dedner at warwick.ac.uk
Thu Feb 26 13:02:02 CET 2015
Hi.
The main problem is not the grid type or the factory but that you need
an actual
grid implementation that can handle these general meshes. ALU and SPGrid
etc.
can only handle cubes and simplex elements and that is the only geometry
types
they can understand in their GridFactory.
So for something more general you need to provide a new grid
implementation that
allows for more general grid types. The geometry type of these elements
would be
"none" and probably you would also be implementing only part of the
geometry interface.
Something along those lines was done in the CornerPointGrid implementation.
https://github.com/OPM/dune-cornerpoint
Best
Andreas
On 26/02/15 11:38, Ganesh Diwan wrote:
> Dear list,
>
> I am working on implementing virtual element computations inside Dune.
> This will involve implementing the algorithm on arbitrary shaped
> elements. Is there a way to read arbitrary polygonal (2d) or
> polyhedral (3d) meshes in Dune? Currently implemented Grid managers
> (ALUGrid, SPGrid etc.) identify either simplices or cube types.
>
> Can the GridFactory class be used for this purpose? Grid-howto
> document says when building a new gridtype Dune may have a problem for
> unidentified element type. Say, I have an element with five edges (a
> pentagon). In this case, is Dune likely to throw an exception for
> unidentified element type?
>
> I wanted to get the Grid guru's thoughts before investing time in this.
>
> Thank you!
> Ganesh
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150226/c2d10b5e/attachment.htm>
More information about the Dune
mailing list