<div dir="ltr"><div>Hi Moritz, <br></div><div><br></div><div>You can either add this line to your geo file:
<code>Mesh.MshFileVersion=2.2</code></div><div>Or,<code> </code>use the command line option<code> </code><code>-format msh2 <br><br></code></div>Sincerely,<br><div>Max Orok</div><div><br></div><div class="gmail_quote"><div dir="ltr">On Wed, Sep 19, 2018 at 6:18 AM moritz braun <<a href="mailto:moritz.braun@gmail.com">moritz.braun@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Christophe</div><div>Dear Colleagues</div><div><br></div><div>Is there maybe a way to use the old version of the output format for compatibility i.e <br></div><div>an option on the command line?</div><div>Otherwise I will be kind of stuck.....</div><div><br></div><div><br></div><div>Regards</div><div><br></div><div>Moritz <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 19, 2018 at 11:54 AM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<br>
> On 19 Sep 2018, at 10:34, moritz braun <<a href="mailto:moritz.braun@gmail.com" target="_blank">moritz.braun@gmail.com</a>> wrote:<br>
> <br>
> Dear Christophe<br>
</span><span>> Dear Fellow gmsh users!<br>
> <br>
> Currently my geo file ends with<br>
> Volume (186)={theloops[]};<br>
> Physical Volume(999)= 186;<br>
> I assume for every point would need to add<br>
> Point {x_i,y_i,z_i} in Volume{186};<br>
> Is that the right syntax?<br>
<br>
</span>exact : see e.g. <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/master/tutorial/t15.geo" rel="noreferrer" target="_blank">https://gitlab.onelab.info/gmsh/gmsh/blob/master/tutorial/t15.geo</a><br>
<div class="m_7958538539164963667HOEnZb"><div class="m_7958538539164963667h5"><br>
> <br>
> Regards<br>
> <br>
> Moritz<br>
> <br>
> <br>
> On Tue, Sep 18, 2018 at 9:13 PM, Christophe Geuzaine <<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>> wrote:<br>
> <br>
> <br>
> > On 18 Sep 2018, at 12:16, moritz braun <<a href="mailto:moritz.braun@gmail.com" target="_blank">moritz.braun@gmail.com</a>> wrote:<br>
> > <br>
> > Dear Christophe<br>
> > <br>
> > I am currently using gmsh with a size function <br>
> > that becomes very small, but not zero<br>
> > close to the positions of nuclei in a molecule<br>
> > and is scaling close to linear for distances > 0.1 abohr.<br>
> > More specifically<br>
> > i have chosen the size function as<br>
> > S*sqrt(0.02**2+d**2), with S as a parameter between 0.1 and 0.5<br>
> > It would possbily make my calculation more exact<br>
> > if I could force gmsh to use the nuclear positions<br>
> > as grid points.<br>
> > Is there a way to get gmsh to do that?<br>
> > <br>
> <br>
> Yes : in .geo files, use "Point { ... } In Surface { ... };" or "Point { ... } In Volume { ... };".<br>
> <br>
> In the API (Python, Julia, C++ or C), use the "embed" function.<br>
> <br>
> Cheers,<br>
> <br>
> Christophe<br>
> <br>
> > Regards<br>
> > <br>
> > Moritz <br>
> > <br>
> > -- <br>
> > Prof M Braun Tel.:27-12-4298006/8027<br>
> > Physics Department Fax.: 27-12-4293643<br>
> > University of South Africa (UNISA) <br>
> > <a href="mailto:moritz.braun@gmail.com" target="_blank">moritz.braun@gmail.com</a><br>
> > P.O. Box 392 <br>
> > 0003 <br>
> > UNISA<br>
> > South Africa <br>
> > <a href="http://moritz-braun.blogspot.com" rel="noreferrer" target="_blank">http://moritz-braun.blogspot.com</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>
> Free software: <a href="http://gmsh.info" rel="noreferrer" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" rel="noreferrer" target="_blank">http://getdp.info</a> | <a href="http://onelab.info" rel="noreferrer" target="_blank">http://onelab.info</a><br>
> <br>
> <br>
> <br>
> <br>
> -- <br>
> Prof M Braun Tel.:27-12-4298006/8027<br>
> Physics Department Fax.: 27-12-4293643<br>
> University of South Africa (UNISA) <br>
> <a href="mailto:moritz.braun@gmail.com" target="_blank">moritz.braun@gmail.com</a><br>
> P.O. Box 392 <br>
> 0003 <br>
> UNISA<br>
> South Africa <br>
> <a href="http://moritz-braun.blogspot.com" rel="noreferrer" target="_blank">http://moritz-braun.blogspot.com</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>
Free software: <a href="http://gmsh.info" rel="noreferrer" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" rel="noreferrer" target="_blank">http://getdp.info</a> | <a href="http://onelab.info" rel="noreferrer" target="_blank">http://onelab.info</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="m_7958538539164963667gmail_signature" data-smartmail="gmail_signature">Prof M Braun Tel.:27-12-4298006/8027<br>Physics Department Fax.: 27-12-4293643<br>University of South Africa (UNISA) <br><a href="mailto:moritz.braun@gmail.com" target="_blank">moritz.braun@gmail.com</a><br>P.O. Box 392 <br>0003 <br>UNISA<br> South Africa <br><a href="http://moritz-braun.blogspot.com" target="_blank">http://moritz-braun.blogspot.com</a><br></div>
</div>
_______________________________________________<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>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div></div></div>