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

moritz braun moritz.braun at gmail.com
Wed Sep 19 12:16:57 CEST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180919/ab176762/attachment.html>


More information about the gmsh mailing list