<html><head></head><body><div class="ydp9aea4eb9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">Hi Christophe,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">thanks for clarifying,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Regards,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Marco</div><div><br></div>
</div><div id="ydpc3e9ea2byahoo_quoted_5661211274" class="ydpc3e9ea2byahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Il mercoledì 4 novembre 2020, 09:51:43 CET, Christophe Geuzaine <cgeuzaine@uliege.be> ha scritto:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr"><br clear="none"><br clear="none">> On 21 Oct 2020, at 19:41, Marco Antolovic <<a shape="rect" href="mailto:marco_antolovic@yahoo.it" rel="nofollow" target="_blank">marco_antolovic@yahoo.it</a>> wrote:<br clear="none">> <br clear="none">> Hi all,<br clear="none">> <br clear="none">> I'm experiencing a strange behavior with some variable after loading them from an external file using Merge.<br clear="none">> <br clear="none">> The attached files shows an example where the merged file (thermal_data.geo) contains three variables<br clear="none">> <br clear="none">> T0, rho_20 and alpha0<br clear="none">> <br clear="none">> When I run the script T0 and rho_20 are loaded without problems while alpha0 is ignored and the following error is generated: 'prova.geo', line 8 : Unknown variable 'alpha0'<br clear="none">> <br clear="none">> Can someone explain what is happening?<br clear="none"><br clear="none">The issue is linked to the mac encoding of the included file: Gmsh expects script files with line ending with \n (or \r\n); mac encoded files end lines only with \r.<br clear="none"><br clear="none">Christophe<div class="ydpc3e9ea2byqt8088981382" id="ydpc3e9ea2byqtfd95589"><br clear="none"><br clear="none"><br clear="none">> <br clear="none">> Thanks,<br clear="none">> <br clear="none">> Marco</div><br clear="none">> <prova.geo><thermal_data.geo>_______________________________________________<br clear="none">> gmsh mailing list<br clear="none">> <a shape="rect" href="mailto:gmsh@onelab.info" rel="nofollow" target="_blank">gmsh@onelab.info</a><br clear="none">> <a shape="rect" href="http://onelab.info/mailman/listinfo/gmsh" rel="nofollow" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br clear="none"><br clear="none">— <br clear="none">Prof. Christophe Geuzaine<br clear="none">University of Liege, Electrical Engineering and Computer Science <br clear="none"><a shape="rect" href="http://people.montefiore.ulg.ac.be/geuzaine" rel="nofollow" target="_blank">http://people.montefiore.ulg.ac.be/geuzaine</a><div class="ydpc3e9ea2byqt8088981382" id="ydpc3e9ea2byqtfd77959"><br clear="none"><br clear="none"><br clear="none"><br clear="none"></div></div></div>
</div>
</div></body></html>