Re: [DuMuX] reading dgf - triangulated mesh

2012-11-22 Thread Torsten Lange
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 alr

Re: [DuMuX] reading dgf - triangulated mesh

2012-11-22 Thread Torsten Lange
Hi Bernd, It looks also some segments are repeated, some droped. Have to check my write function. Have a nice evening, 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.h

Re: [DuMuX] reading dgf - triangulated mesh

2012-11-22 Thread Torsten Lange
Hi Bernd, Thanks for this! It accepted now the mesh but still one error... invalid boundaryId: 0 Speicherzugriffsfehler I don't see any boundary id 0... hmm Kind regards Torsten Am Donnerstag 22 November 2012, 18:52:30 schrieb Bernd Flemisch: > Maybe you have already done this, I forgot it: on

Re: [DuMuX] reading dgf - triangulated mesh

2012-11-22 Thread 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

Re: [DuMuX] reading dgf - triangulated mesh

2012-11-22 Thread Bernd Flemisch
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

Re: [DuMuX] reading dgf - triangulated mesh

2012-11-22 Thread 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 La

[DuMuX] reading dgf - triangulated mesh

2012-11-22 Thread Torsten Lange
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