[Dune] Fwd: gmsh2dgf

Oliver Sander sander at igpm.rwth-aachen.de
Thu Jun 26 15:53:23 CEST 2014


Hi,
I don't know much about either dgf or the EXPERIMENTAL_GRID_EXTENSIONS.
It may well be that the gmshreader contains a bug (it was me who wrote parts
of it, after all :-) ) but to look into that we'd need a more precise
report of what's going wrong.
Best,
Oliver

Am 26.06.2014 11:52, schrieb Andreas Dedner:
> Hi,
> 
> Since you are getting the boundarysegment block in your dgf file, you seem to be using
> the DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS so that intersection.boundaryId() is
> available. The problem is that adding boundary ids was decided to be unnecessary.
> I don't know that much about the gmsh format or the reader to know if boundary id information
> from the gmsh file is in some way passed on to the user. If so it will not be made available ithriough
> the intersection.boundaryId method but stored somehow externally and you will have to modify the
> code in io/file/dgfparser/dgfwriter.hh accordingly
> (search for iit->boundaryId(); and replace that call).
> 
> Perhaps experts on gmsh to provide the way to get the boundary ids out of the gmsh file.
> 
> Best
> Andreas
> 
> 
> On 26/06/14 07:19, Jelena Griz(ic' wrote:
>> Dear all,
>>
>> I have a problem using gmsh2dgf (also applies to gmshreader.hh): it doesn't seem to pick boundary segment ids from.msh file rather using some default value (1) for all boundary elements.
>>
>> Example of .msh and .dgf file obtained using gmsh2dgf are in attachment.
>>
>> Thank you in advance,
>>
>> Jelena Grizic
>>
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
> 
> 
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 534 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140626/d91f2c1c/attachment.sig>


More information about the Dune mailing list