[Dune] Grid format for unstructured grids from GMSH files

Sacconi, Andrea a.sacconi11 at imperial.ac.uk
Tue Nov 22 17:56:20 CET 2011


I'm making my first tries, and I'm using .msh files I produced for my MSc thesis.
First mesh I'd like to reproduce is 3D, unstructured, with only tetrahedra. Since I'm in this first stage, parallelism is not required.

Cheers,
Andrea

__________________________________________________________

Andrea Sacconi
PhD student, Applied Mathematics
AMMP Section, Department of Mathematics, Imperial College London,
London SW7 2AZ, UK
a.sacconi11 at imperial.ac.uk

________________________________________
From: Jö Fahlke [jorrit at jorrit.de]
Sent: 22 November 2011 16:42
To: Sacconi, Andrea
Cc: dune at dune-project.org
Subject: Re: [Dune] Grid format for unstructured grids from GMSH files

Am Tue, 22. Nov 2011, 15:52:02 +0000 schrieb Sacconi, Andrea:
> Which format can replace better 'Foo' in the following line?
>
> FooGrid * grid = GmshReader < GridType >:: read ( filename );
>
> I was wondering about UGGrid, that requires a little bit of work in installing the library and the patches. Are there simpler/better alternatives?
> Thanks for your help.

Ah, ok, we don't call this "format", but "grid manager".  Different grid
managers are good at different tasks and support different things.  For
instance, some support parallelism, others don't.  Some support either
simplices or cubes only, others support both types of elements in the grid.
Some support structured meshes only, but require less memory, others support
unstructured meshes, but require memory for each element.  The list[1] goes
on.

So, to be able to answer you question, please tell us a little about the mesh
you intend to use.  Does is consist of only one type of elements (and if yes,
which type)?  Do you need parallelism?  Is it 1D, 2D or 3D?

Bye,
Jö.

[1] http://users.dune-project.org/projects/main-wiki/wiki/Grid-Manager_Features

--
Jorrit (Jö) Fahlke, Interdisciplinary Center for Scientific Computing,
Heidelberg University, Im Neuenheimer Feld 368, D-69120 Heidelberg
Tel: +49 6221 54 8890 Fax: +49 6221 54 8884

Interpunktion, Orthographie und Grammatik der Email ist frei erfunden.
Eine Übereinstimmung mit aktuellen oder ehemaligen Regeln wäre rein
zufällig und ist nicht beabsichtigt.



More information about the Dune mailing list