[Gmsh] Problems with version 2.14.0 - Part 2

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Oct 14 09:38:28 CEST 2016


> On 14 Oct 2016, at 08:59, Alessandro Vicini <alessandro.vicini at sitael.com> wrote:
> 
> 
> Hullo Christophe,
> 
> here are the .geo and step files I am using.
> In this case yes, I am starting from a .geo kind of geometry, and I want to merge a step file into it.
> 

Here's what's happening:

1)  Delete { Surface{122, 124, 126, 120}; } : you cannot delete these surfaces - they are embedded in the volume. The error message is bad - this is now fixed in SVN.

2) Disappearing entities when you merge the .step file in the .geo file : this is "normal" in the current version, you need to explicitly call "SyncModel;" before the "Merge", so that the .geo model gets imported right away in the model database. Otherwise the .step gets imported with entity tags that can clash with those used in the .geo mode. This explicit sync step is indeed a bit annoying -  the SVN version now does it automatically.

Christophe


> Regards,
> 
> Alessandro
> 
> 
> -----Messaggio originale-----
> Da: Christophe Geuzaine [mailto:cgeuzaine at ulg.ac.be] 
> Inviato: giovedì 13 ottobre 2016 21.58
> A: Alessandro Vicini
> Cc: gmsh at onelab.info
> Oggetto: Re: [Gmsh] Problems with version 2.14.0 - Part 2
> 
> 
> It would help if you would send the actual files, and maybe describe what you want to do? Do you want to mix .brep and .geo entities in the same model?
> 
>> On 12 Oct 2016, at 11:43, Alessandro Vicini <alessandro.vicini at sitael.com> wrote:
>> 
>> 
>> This is another problem I have with version 2.14.0:
>> 
>> 1)  I open an existing .geo file and it looks fine, see attached 
>> geometry.jpg picture;
>> 2)  I interactively delete a few surfaces, obtaining geometry_2.jpg. If I look at the geo file, I have these lines at the end:
>> 
>>   Delete {
>>         Surface{122, 124, 126, 120};
>>   }
>> 
>> 3)  The problem is that, when I issue the “delete” command, I get these (apparent) error messages in the console:
>> 
>> Error   : Unknown surface 515812064
>> Error   : Unknown surface 515812632
>> Error   : Unknown surface 515826792
>> Error   : Unknown surface 515813200
>> Error   : Unknown surface 515812064
>> Error   : Unknown surface 515812632
>> Error   : Unknown surface 515826792
>> Error   : Unknown surface 515813200
>> 
>> 4)  I see the same kind of (apparent) errors also if I reload the .geo file (I say apparent because in the graphics window the geometry looks ok).
>> 
>> Where is the problem? Thank you.
>> 
>> Alessandro
>> 
>> 
>> 
>> 
>> <geometry.jpg><geometry_2.jpg>________________________________________
>> _______
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
> 
> --
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine
> 
> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
> 
> <example.geo><brick.stp>

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list