Hi Bernd, Thank you again! I found a deepcopy problem in my write module for the boundary segs, which caused some overwriting effects. However, the simulation now runs like a charme :)
Kind regards, Torsten Am Donnerstag 22 November 2012, 18:52:30 schrieb Bernd Flemisch: > Maybe you have already done this, I forgot it: one has to change the > grid type in the ...problem.hh from > Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming> > to > Dune::ALUGrid<2, 2, Dune::simplex, Dune::nonconforming> > > Then the grid works for me. > > Kind regards > Bernd > > On 11/22/2012 06:07 PM, Bernd Flemisch wrote: > > Hi Torsten, > > > > there are two concluding "#" missing at the end of your file. However, > > if I put them there, another error message appears: > > Dune reported error: GridError [insertElement:alu2dgridfactory.cc:46]: > > Wrong number of vertices. > > > > I will have a closer look. > > > > Kind regards > > Bernd > > > > On 11/22/2012 05:32 PM, Torsten Lange wrote: > >> Hi Bernd, > >> > >> No, its no problem, I attached the file to this mail. It tried to be > >> conform with everything in the unstructered cube mesh from the example. > >> > >> Thank you for taking a look on it! > >> Kind regards, Torsten > >> > >> > >> > >> Am Donnerstag 22 November 2012, 17:27:54 schrieb Bernd Flemisch: > >>> Hi Torsten, > >>> > >>> it should work like you describe. Judging from the error message, I > >>> would expect a simpler problem. > >>> > >>> Can you send the dgf file? If you don't want to send it to the list, you > >>> can send it to me directly, I will treat it with care. > >>> > >>> Kind regards > >>> Bernd > >>> > >>> On 11/22/2012 04:12 PM, Torsten Lange wrote: > >>>> Hello Dumux list, > >>>> > >>>> > >>>> I'm new to Dumux. I wrote a format converter from Gocad->DGF, that for > >>>> now just works for unstructured triangulated or tetraeda meshes. > >>>> > >>>> As a first example I would like run the 2D CO2 problem provided in the > >>>> most recent stable Dumux version. Except for the block with the node > >>>> connections, which are now given as: > >>>> # > >>>> simplex > >>>> parameters 1 > >>>> node1 node2 node3 ID > >>>> ... > >>>> > >>>> I tried to stay conform with the example - using same Ids for element > >>>> props and boundary cons. > >>>> > >>>> However, I got: > >>>> Dune reported error: DGFException [getblock:basic.cc:83]: Error reading > >>>> from stream. > >>>> > >>>> > >>>> Questions: > >>>> Can I use a triangulated mesh instead of the unstructured cube mesh > >>>> without modifications of the problem header files? > >>>> > >>>> Do I have to map the node-ids? I read, that the order of the element > >>>> nodes is of no importance. However, Gocad uses ordered element nodes for > >>>> triangles. > >>>> > >>>> Any other things to consider like column formatting? My impression from > >>>> the DuneGridFormat I/O manual was, it is not required. > >>>> > >>>> Any hints are appreciated! > >>>> > >>>> Best, > >>>> Torsten _______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
