<div dir="ltr"><div><br></div><div>Ok! Thank you very much Christophe.</div><div><br></div><div>Best regards,</div><div><br></div><div>Michel Cassagnes<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 3 mai 2020 à 08:45, Christophe Geuzaine <<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 3 May 2020, at 01:55, Michel Cassagnes <<a href="mailto:michelcassagnes11@gmail.com" target="_blank">michelcassagnes11@gmail.com</a>> wrote:<br>
> <br>
> Dear all,<br>
> <br>
> I need some help to make a transfinite line and set size at points work with the API on Python.<br>
> <br>
> I made many tests and many looks in examples and doc but I don't find how to handle all this.<br>
> <br>
> Please find enclosed an example that doesn't give anything for the line entered as transfinite with 10 points (take care to change the working folder at the begining of the script).<br>
> <br>
> Maybe there is a conflict with other definitions of mesh size (filelds, characteristic length at points, etc).<br>
> <br>
<br>
Your last call to gmsh.model.geo.synchronize() resets the meshing attributes of the curve. Either remove it (it's useless anyway), or set your meshing contraints within the "geo" kernel, with "gmsh.model.geo.mesh.setTransfiniteCurve()" instead of "gmsh.model.mesh.setTransfiniteCurve()".<br>
<br>
Christophe<br>
<br>
<br>
<br>
> Thank you.<br>
> <br>
> Best regards,<br>
> <br>
> Michel Cassagnes<br>
> <test-transfinite.py>_______________________________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br>
— <br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science <br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" rel="noreferrer" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
<br>
<br>
</blockquote></div>