[Gmsh] Gmsh and MED-3.x
Matthieu Labbé
Matthieu.Labbe at necs.fr
Wed Sep 21 13:23:28 CEST 2011
Hello,
I compiled it (revision 9894) here and it works (on Debian squeeze, I
can give more detail if needed).
Thanks,
Matt.
Christophe Geuzaine a écrit :
> On 21 Sep 2011, at 08:50, jean pierre aubry wrote:
>
>
>> hello
>>
>> after the good news, the bad ones
>> i have just tried compiling the source with cmake and i get the
>> following error at an early stage
>>
>> [ 24%] Building CXX object
>> CMakeFiles/gmsh.dir/Post/PViewDataGModelIO.cpp.o /dedalus/downloaded/gmsh-2.5.1-svn-20110921-source/Post/PViewDataGModelIO.cpp:
>> In member function ‘virtual bool
>> PViewDataGModel::writeMED(std::string)’: /dedalus/downloaded/gmsh-2.5.1-svn-20110921-source/Post/PViewDataGModelIO.cpp:673:28:
>> error: ‘meshname’ was not declared in this scope make[2]: ***
>> [CMakeFiles/gmsh.dir/Post/PViewDataGModelIO.cpp.o] Erreur 1 make[1]:
>> *** [CMakeFiles/gmsh.dir/all] Erreur 2 make: *** [all] Erreur 2
>>
>> i must point point out that this is the first time i compile gmsh from
>> scartch and my experience in the matter is rather thin
>>
>>
>
> Hi Jean-Pierre - Can you "svn up" and try again?
>
>
>
>> jean pierre aubry
>>
>>
>>
>>
>> Le Wed, 21 Sep 2011 07:26:49 +0200,
>> Christophe Geuzaine <cgeuzaine at ulg.ac.be> a écrit :
>>
>>
>>> Hi all,
>>>
>>> Good news: the latest SVN version now supports MED3. At the moment
>>> you'll have to recompile the code from source (the nightly builds are
>>> still using MED2).
>>>
>>> Can Code_Aster users send me feedback? If it's positive I'll (try to)
>>> upgrade the build machines.
>>>
>>> Christophe
>>>
>>>
>>> On 15 Sep 2011, at 05:45, jean pierre aubry wrote:
>>>
>>>
>>>> hello all
>>>>
>>>> this is good news, but i already knew it
>>>> the problem is Aster version 11.x will only output med.3 file
>>>> which cannot be read at the moment by Gmsh
>>>>
>>>> so 2 wishes
>>>> Gmsh should be able to read med.3 as outputed from Aster
>>>> or there should be a translator from med.3 to med.2
>>>> to be able to read med.3 Psotpro files
>>>>
>>>> this would be very useful as Gmsh is at the time the ONLY tool to
>>>> display WITHOUT ERRORS "ELNO" type fields for 1D elements
>>>>
>>>> jean pierre aubry
>>>>
>>>>
>>>>
>>>>
>>>> Le Mon, 12 Sep 2011 09:52:49 +0200,
>>>> Nicolas TARDIEU <nicolas.tardieu at edf.fr> a écrit :
>>>>
>>>>
>>>>> Hi Christophe.
>>>>>
>>>>> I confirm that MED3 can read MED2 files.
>>>>>
>>>>> Nicolas
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Nicolas TARDIEU
>>>>> Ing. Chercheur
>>>>> EDF - R&D Dpt AMA
>>>>>
>>>>> nicolas.tardieu at edf.fr
>>>>> Tél. : 01 47 65 39 05
>>>>>
>>>>> Un geste simple pour l'environnement, n'imprimez ce message que si
>>>>> vous en avez l'utilité.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> cgeuzaine at ulg.ac.be
>>>>> 10/09/2011 08:29
>>>>>
>>>>> A
>>>>> jeanpierre at lamachine.fr
>>>>> cc
>>>>> gmsh at geuz.org, Nicolas.Tardieu at edf.fr
>>>>> Objet
>>>>> Re: [Gmsh] Gmsh and MED-3.x
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 06 Sep 2011, at 14:25, jean pierre aubry wrote:
>>>>>
>>>>>
>>>>>> hello
>>>>>>
>>>>>> will the next version of Gmsh be able
>>>>>> 1- to read med-3.x file, (for Postpro results of Code_Aster)?
>>>>>> 2- write med-3.x file, (for mesh input of the same)?
>>>>>> and if yes, when?
>>>>>>
>>>>>>
>>>>> Hi Jean-Pierre,
>>>>>
>>>>> We definitely plan to, but we (at least I) haven't looked at the
>>>>> difficulty of switching to the new version of the MED library.
>>>>>
>>>>> Is there a document somewhere explaining the API differences
>>>>> between med-2 and med-3? Is it possible to keep med-2
>>>>> compatibility when switching to med-3?
>>>>>
>>>>> CC'ing Nicolas Tardieu.
>>>>>
>>>>> Christophe
>>>>>
>>>>>
>>>>>
>>>>>> the 11.xx version of Code_Aster can read med-2.x and med-3.x files
>>>>>> but output only med-3.x
>>>>>> this is very annoying as there is not med-3.x -> med-2.x
>>>>>> translator
>>>>>>
>>>>>> some strategy of the "meshing -> calculation -> post processing",
>>>>>> with which tools is highly dependent of this answer regarding Gmsh
>>>>>> ability
>>>>>>
>>>>>> thanks in advance
>>>>>>
>>>>>> jean pierre aubry
>>>>>>
>>>>>> _______________________________________________
>>>>>> gmsh mailing list
>>>>>> gmsh at geuz.org
>>>>>> http://www.geuz.org/mailman/listinfo/gmsh
>>>>>>
>
>
--
___________________________________________
Matthieu Labbé Tél: +33 6 34 96 84 53
Chef de projet
Numerical Engineering & Consulting Services
196, rue Houdan - 92330 SCEAUX - France
Tél: 01 41 13 86 60 - Fax: 01 41 13 85 07
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20110921/ed9cfad7/attachment.html>