[Gmsh] Question on gmsh meshing with size determined by executable

Max Orok morok at mevex.com
Wed Sep 19 14:29:04 CEST 2018


Hi Moritz,

You can either add this line to your geo file: Mesh.MshFileVersion=2.2
Or, use the command line option -format msh2

Sincerely,
Max Orok

On Wed, Sep 19, 2018 at 6:18 AM moritz braun <moritz.braun at gmail.com> wrote:

> Dear Christophe
> Dear Colleagues
>
> Is there maybe a way  to use the old version of the output format for
> compatibility  i.e
> an option on the command line?
> Otherwise I will be kind of stuck.....
>
>
> Regards
>
> Moritz
>
> On Wed, Sep 19, 2018 at 11:54 AM, Christophe Geuzaine <cgeuzaine at uliege.be
> > wrote:
>
>>
>>
>> > On 19 Sep 2018, at 10:34, moritz braun <moritz.braun at gmail.com> wrote:
>> >
>> > Dear Christophe
>> > Dear Fellow gmsh users!
>> >
>> > Currently my geo file ends with
>> > Volume (186)={theloops[]};
>> > Physical Volume(999)= 186;
>> > I assume for every point  would need to add
>> > Point {x_i,y_i,z_i} in Volume{186};
>> > Is that the right syntax?
>>
>> exact : see e.g.
>> https://gitlab.onelab.info/gmsh/gmsh/blob/master/tutorial/t15.geo
>>
>> >
>> > Regards
>> >
>> > Moritz
>> >
>> >
>> > On Tue, Sep 18, 2018 at 9:13 PM, Christophe Geuzaine <
>> cgeuzaine at uliege.be> wrote:
>> >
>> >
>> > > On 18 Sep 2018, at 12:16, moritz braun <moritz.braun at gmail.com>
>> wrote:
>> > >
>> > > Dear Christophe
>> > >
>> > > I am currently using gmsh  with a size function
>> > > that becomes very small, but not zero
>> > > close to the positions of nuclei in a molecule
>> > > and is scaling close to linear for distances > 0.1 abohr.
>> > > More specifically
>> > > i have chosen the size function as
>> > > S*sqrt(0.02**2+d**2), with S as a parameter between 0.1 and 0.5
>> > > It would possbily make my calculation more exact
>> > > if I could force gmsh to use the nuclear positions
>> > > as grid points.
>> > > Is there a way to  get gmsh to do that?
>> > >
>> >
>> > Yes : in .geo files, use "Point { ... } In Surface { ... };" or "Point
>> { ... } In Volume { ... };".
>> >
>> > In the API (Python, Julia, C++ or C), use the "embed" function.
>> >
>> > Cheers,
>> >
>> > Christophe
>> >
>> > > Regards
>> > >
>> > > Moritz
>> > >
>> > > --
>> > > Prof M Braun         Tel.:27-12-4298006/8027
>> > > Physics Department  Fax.: 27-12-4293643
>> > > University of South Africa (UNISA)
>> > > moritz.braun at gmail.com
>> > > P.O. Box 392
>> > > 0003
>> > > UNISA
>> > >  South Africa
>> > > http://moritz-braun.blogspot.com
>> >
>> > —
>> > 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
>> >
>> >
>> >
>> >
>> > --
>> > Prof M Braun         Tel.:27-12-4298006/8027
>> > Physics Department  Fax.: 27-12-4293643
>> > University of South Africa (UNISA)
>> > moritz.braun at gmail.com
>> > P.O. Box 392
>> > 0003
>> > UNISA
>> >  South Africa
>> > http://moritz-braun.blogspot.com
>>
>>>> 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
>>
>>
>
>
> --
> Prof M Braun         Tel.:27-12-4298006/8027
> Physics Department  Fax.: 27-12-4293643
> University of South Africa (UNISA)
> moritz.braun at gmail.com
> P.O. Box 392
> 0003
> UNISA
>  South Africa
> http://moritz-braun.blogspot.com
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>


-- 
Max Orok
Contractor
www.mevex.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180919/446108c3/attachment-0001.html>


More information about the gmsh mailing list