Hi, let me respond to your question,
it seems you are using the gridselector together with the Makefile.am, if this is the case, open the Makefile.am an adapt the gridtype and the griddim with your .msh file. In your case, t5.msh corresponds to simplices elements in 3D, the griddim = 3 and gridtype can be one of Alugrid, ug or alberta. For more about what is supported or not by Dune-grid, see: http://users.dune-project.org/projects/main-wiki/wiki/Grid-Manager_Features These 3 packages (Alugrid, ug and alberta) are external packages (they does not come with Dune), if you have Alugrid installed and configured with Dune, open your Makefile.am an apply these changes ####################### # commented lines #GRIDTYPE = ONEDGRID #GRIDDIM = 1 # new lines GRIDTYPE = ALUGRID_SIMPLEX GRIDDIM = 3 ####################### save, your Makefile.am then close it. Now, make the target "gmsh2dgf" $ make gmsh2dgf if you get: make: `gmsh2dgf' is up to date. open gmsh2dgf.cc, add a space then remove it, save then close the file, retry to make the target $ make gmsh2dgf run the executable: $ ./gmsh2dgf t5.msh that's it, you should get a new file named "t5.dgf" with Elements = 11409 | Vertices = 2493 +++++++++++++++++++++++++++++ I'm not a Dune or Dumux developer, so if I'm not supposed to respond questions or I'm mistaken, I will be apreciated if Dumux developpers let me informed. +++++++++++++++++++++++++++++ Adim 2014-02-20 15:49 GMT-05:00 Thanh Hai Ong <[email protected]>: > Thanks Christoph! > Finally I found it! "gmsh2dgf.cc"? > it compile, but I get the error bellow when I try to convert to dgf: > Reading 1d Gmsh grid... "But the mesh is 3D" > version 2.2 Gmsh file detected "the version that I use is 2.8" > file contains 2493 nodes > file contains 11409 elements > number of real vertices = 0 > number of boundary elements = 0 > number of elements = 0 > [Thanh:40365] *** Process received signal *** > [Thanh:40365] Signal: Segmentation fault: 11 (11) > [Thanh:40365] Signal code: Address not mapped (1) > [Thanh:40365] Failing at address: 0x28 > [Thanh:40365] [ 0] 2 libsystem_c.dylib > 0x00007fff94a1a90a _sigtramp + 26 > [Thanh:40365] [ 1] 3 ??? > 0x00007fff5c4f80d0 0x0 + 140734742102224 > [Thanh:40365] *** End of error message *** > Segmentation fault: 11 > > Attached the gmsh file if you can help me? > > Best > Thanh Hai > > > > On Thursday, February 20, 2014 3:24 PM, " > [email protected]" < > [email protected]> wrote: > Send Dumux mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dumux digest..." > > > Today's Topics: > > 1. gmsh (Thanh Hai Ong) > 2. Re: gmsh (Christoph Gr?ninger) > 3. Flyspray Activity for Task 205 (Handbook seperate OS spezific > installation hints in suitable subsubsection) (DuMuX) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 19 Feb 2014 04:14:09 -0800 (PST) > From: Thanh Hai Ong <[email protected]> > Subject: [DuMuX] gmsh > To: "[email protected]" > <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Hi Dumux, > > Can I use gmsh format in dumux? > There is a way to convert the gmsh to dgf? > > Best > Hai Thanh > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://listserv.uni-stuttgart.de/pipermail/dumux/attachments/20140219/48a68411/attachment-0001.htm > > ------------------------------ > > Message: 2 > Date: Wed, 19 Feb 2014 13:18:27 +0100 > From: Christoph Gr?ninger <[email protected]> > Subject: Re: [DuMuX] gmsh > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Hai Thanh, > yes and yes. > In dune-grid you can find an executable that converts gmsh and outputs DGF. > As DuMuX uses dune-grid and dune-grid is capable of using gmsh file, it > can be done with DuMuX, too. > > Bye > Christoph > > -- > ... as Sir Cyril Hinshelwood has observed ...fluid dynamicists > were divided into hydraulic engineers who observed things that > could not be explained and mathematicians who explained things > that could not be observed. -- James Lighthill > ********************************************* > CMWR 2014: 10th - 13th June 2014 in Stuttgart > Please visit www.cmwr14.de > ********************************************* > > > ------------------------------ > > Message: 3 > Date: Thu, 20 Feb 2014 09:39:54 +0000 > From: DuMuX <[email protected]> > Subject: [DuMuX] Flyspray Activity for Task 205 (Handbook seperate OS > spezific installation hints in suitable subsubsection) > To: [email protected], [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. > > The following task has a new comment added: > > FS#205 - Handbook seperate OS spezific installation hints in suitable > subsubsection > User who did this - Christoph Gr?ninger (gruenich) > > ---------- > Copied package lists for Ubuntu, added list for openSuse. Will add list > for OS X: > > http://users.dune-project.org/projects/main-wiki/wiki/Installation_prerequisite_software > > I\'ll update the section in the handbook, add the link and remove the > Ubuntu specific stuff. > ---------- > > More information can be found at the following URL: > http://www.dumux.org/flyspray/index.php?do=details&task_id=205#comment419 > > You are receiving this message because you have requested it from the > Flyspray bugtracking system. If you did not expect this message or don't > want to receive mails in future, you can change your notification settings > at the URL shown above. > > > ------------------------------ > > _______________________________________________ > Dumux mailing list > [email protected] > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux > > > End of Dumux Digest, Vol 37, Issue 13 > ************************************* > > > > _______________________________________________ > Dumux mailing list > [email protected] > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux > >
_______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
