Hi Lorenzo,

You download (https://gitlab.dune-project.org/extensions/dune-alugrid), configure, and compile dune-alugrid, like any other Dune module.

You can set Dune::ALUGrid as grid manager, by setting the "Grid" property in Dumux to this type.

(1) For a simple rectangular mesh with simplices, just use the structured grid factory through the DuMux input file by putting something like this in your input file:

[Grid]

LowerLeft = 0 0 0

UpperRight = 1 1 1

Cells = 10 10 10

CellType = Simplex


(2) For more complicated simplex grids you typically generate the mesh with gmsh (http://gmsh.info/) which will produce an *msh file. You can tell ALUGrid to use this file through the input file

[Grid]

File = mygrid.msh


For more informations on grid managers and how to use them, please have a look at the Dumux handbook (http://www.dumux.org/documents/dumux-handbook-2.12.pdf).


Best wishes

Timo


On 24.10.18 09:55, lc wrote:
Good morning developers and users,

I'd like to ask how to use alugrid. Where can I find some examples/references just to create simplices mesh even for simple rectangular geometries.

Thank you,

Lorenzo

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

--
_______________________________________________________________

Timo Koch                              phone: +49 711 685 64676
IWS, Universität Stuttgart             fax:   +49 711 685 60430
Pfaffenwaldring 61        email: [email protected]
D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to