Dear Jelena,

It should be possible with the gmsh *.msh format. I've had a short
look into the gmsh reader and it can read prisms. I haven't tried it though myself. As far as I can see it is not possible with dgf. So *.msh in combination with UGGrid would be the way to go.

Gmsh files can be easily used in DuMux via the input file, e.g.

[Grid]
File = path/mygrid.msh

the same way you read dgf files.

Best wishes,
Timo

On 23.10.2015 12:29, Jelena Grižić wrote:
Thanks Timo!

Is it possible to write triangular prism mesh in dgf file or maybe to read from msh file? I have very complex mesh.


Best regards,

Jelena

2015-10-21 12:00 GMT+02:00 <dumux-requ...@listserv.uni-stuttgart.de <mailto:dumux-requ...@listserv.uni-stuttgart.de>>:

    Send Dumux mailing list submissions to
    dumux@listserv.uni-stuttgart.de
    <mailto:dumux@listserv.uni-stuttgart.de>

    To subscribe or unsubscribe via the World Wide Web, visit
    https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
    or, via email, send a message with subject or body 'help' to
    dumux-requ...@listserv.uni-stuttgart.de
    <mailto:dumux-requ...@listserv.uni-stuttgart.de>

    You can reach the person managing the list at
    dumux-ow...@listserv.uni-stuttgart.de
    <mailto:dumux-ow...@listserv.uni-stuttgart.de>

    When replying, please edit your Subject line so it is more specific
    than "Re: Contents of Dumux digest..."


    Today's Topics:

       1. Re: Triangular prism mesh (Timo Koch)


    ----------------------------------------------------------------------

    Message: 1
    Date: Tue, 20 Oct 2015 12:12:31 +0200
    From: Timo Koch <timo.k...@iws.uni-stuttgart.de
    <mailto:timo.k...@iws.uni-stuttgart.de>>
    To: dumux@listserv.uni-stuttgart.de
    <mailto:dumux@listserv.uni-stuttgart.de>
    Subject: Re: [DuMuX] Triangular prism mesh
    Message-ID: <5626138f.8020...@iws.uni-stuttgart.de
    <mailto:5626138f.8020...@iws.uni-stuttgart.de>>
    Content-Type: text/plain; charset="windows-1252"; Format="flowed"

    Hi Jelena, Christoph and Martin,

    There should be no problem as Dune::UGGrid can handle prisms.
    And, prisms can be handled by both the vertex-centered (box) and
    the cell-centered finite volume method in DuMux!

    In order to install ug you can use our shell script, execute
    PATH_TO_DUMUX/bin/installexternal.sh ug
    in the folder where you want to install UG.

    There are many examples using UGGrid in DuMux.

    Best wishes
    Timo

    On 20.10.2015 11:15, Christoph Gr?ninger wrote:
    > Hi Jelena,
    > the crucial point is the grid with prism elements. Half a year ago,
    > Martin tried to handle the elements with dune-prismgrid [1] module.
    >
    > Unfortunately the RC1 tarball from the website works only with
    Dune 2.2
    > which is ancient. We got access to the Git repository from Christoph
    > Gersbacher, and with some patches from our side we got it
    running with
    > Dune 2.3. With 2.4 we don't know how much work is to be done.
    You can
    > ask Christoph Gersbacher to get access to the repository and we can
    > share our patches. But we don't support prismgrid.
    >
    > Best wishes,
    > Martin Beck & Christoph
    >
    > [1] http://dune.mathematik.uni-freiburg.de/grids/dune-prismgrid/
    >
    >
    >
    > _______________________________________________
    > Dumux mailing list
    > Dumux@listserv.uni-stuttgart.de
    <mailto:Dumux@listserv.uni-stuttgart.de>
    > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


    --
    ____________________________________________________________________

    Timo Koch                      phone: +49 711 685 64676
    <tel:%2B49%20711%20685%2064676>
    IWS, Universit?t Stuttgart     fax: +49 711 685 60430
    <tel:%2B49%20711%20685%2060430>
    Pfaffenwaldring 61             email:
    timo.k...@iws.uni-stuttgart.de <mailto:timo.k...@iws.uni-stuttgart.de>
    D-70569 Stuttgart              url: www.hydrosys.uni-stuttgart.de
    <http://www.hydrosys.uni-stuttgart.de>
    ____________________________________________________________________

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL:
    
<http://listserv.uni-stuttgart.de/pipermail/dumux/attachments/20151020/eaa7d651/attachment-0001.html>

    ------------------------------

    Subject: Digest Footer

    _______________________________________________
    Dumux mailing list
    Dumux@listserv.uni-stuttgart.de
    <mailto:Dumux@listserv.uni-stuttgart.de>
    https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


    ------------------------------

    End of Dumux Digest, Vol 57, Issue 13
    *************************************




_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
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: timo.k...@iws.uni-stuttgart.de
D-70569 Stuttgart              url:   www.hydrosys.uni-stuttgart.de
____________________________________________________________________

_______________________________________________
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to