[Gmsh] Question on gmsh meshing with size determined by executable
moritz braun
moritz.braun at gmail.com
Tue Sep 18 21:47:52 CEST 2018
Awesome, thanks!
On Tue, Sep 18, 2018, 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180918/72f025ea/attachment.html>
More information about the gmsh
mailing list