Hello Nicolas,

Indeed! But I'm not sure this has worked in the past...

The correspondance between Gmsh/MED vertices is located in 
gmsh/Geo/GModelIO_MED.cpp:

- for MED_HEXA20: map[20] = {0, 3, 2, 1, 4, 7, 6, 5, 11, 8, 16,
                             10, 19, 9, 18, 17, 15, 12, 14, 13};
  this seems to be identical to when it was first implemented...

- for MED_HEXA27: it's actually not implemented ;-)

Could you check the ordering?

Thanks,

Christophe

> On 17 Nov 2016, at 10:06, TARDIEU Nicolas <[email protected]> wrote:
> 
> Dear Gmsh-team,
>  
> I have noticed a big regression in the quadratic hexa writing in MED format. 
> This can checked by re-reading with Gmsh a MED file produced by Gmsh! The 
> hexa is totally twisted!
> The error appears for the complete and incomplete elements.
>  
> Regards,
> Nicolas
> <cube.geo><cube-hexa20.med><cube-hexa27.med>
> 
> 
> Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis 
> à l'intention exclusive des destinataires et les informations qui y figurent 
> sont strictement confidentielles. Toute utilisation de ce Message non 
> conforme à sa destination, toute diffusion ou toute publication totale ou 
> partielle, est interdite sauf autorisation expresse.
> 
> Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le 
> copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. 
> Si vous avez reçu ce Message par erreur, merci de le supprimer de votre 
> système, ainsi que toutes ses copies, et de n'en garder aucune trace sur 
> quelque support que ce soit. Nous vous remercions également d'en avertir 
> immédiatement l'expéditeur par retour du message.
> 
> Il est impossible de garantir que les communications par messagerie 
> électronique arrivent en temps utile, sont sécurisées ou dénuées de toute 
> erreur ou virus.
> ____________________________________________________
> 
> This message and any attachments (the 'Message') are intended solely for the 
> addressees. The information contained in this Message is confidential. Any 
> use of information contained in this Message not in accord with its purpose, 
> any dissemination or disclosure, either whole or partial, is prohibited 
> except formal approval.
> 
> If you are not the addressee, you may not copy, forward, disclose or use any 
> part of it. If you have received this message in error, please delete it and 
> all copies from your system and notify the sender immediately by return 
> message.
> 
> E-mail communication cannot be guaranteed to be timely secure, error or 
> virus-free.
> 
> _______________________________________________
> gmsh mailing list
> [email protected]
> 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


_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to