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
--
Torsten Lange
Geowissenschaftliches Zentrum
der Universitaet Goettingen
Abt. Angewandte Geologie
Goldschmidtstr. 3
37077 Goettingen
Deutschland

Tel.: +49-(0)551-39-9397
Fax : +49-(0)551-39-9379


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


--
_____________________________________________________________________

Bernd Flemisch                               phone: +49 711 685 69162
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