[Gmsh] Help with an adaptive mesh (cube)

Oliver Willekens oliver.willekens at elis.ugent.be
Wed Feb 4 20:21:33 CET 2015


Such a thing is definitely possible with gmsh. The important thing, just
like on stackoverflow, is to show that you have an actual problem and not
just ask people to write code for you. Have you looked at the tutorials? In
particular, tutorial 10, about mesh field size?

http://geuz.org/gmsh/doc/texinfo/gmsh.html#t10_002egeo

That should get you started.

2015-02-04 16:53 GMT+01:00 Rastin Matin <rastinmatin at gmail.com>:

> Hi users of Gmsh
>
> I am trying to generate an adaptive mesh of a cube that has sidelengths
> running from -1 to 1. The average tetrahedra-sidelength of a sphere with
> radius 0.5 inside the cube is R1 and the remaining part of the cube has
> resolution R2<R1. So basically a sphere within a cube, where I can vary the
> two resolutions.
>
> Is it possible to generate such a mesh in Gmsh? Any help will be greatly
> appreciated. Thanks in advance.
>
> Best,
> Rastin.
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>


-- 
Oliver Willekens
PhD Student
[image: LCP group logo] <https://lcp.elis.ugent.be/>

Liquid Crystals & Photonics Group
Sint- Pietersnieuwstraat 41
9000 Gent
Phone: +32 9 264.89.51
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150204/0147c05e/attachment.html>


More information about the gmsh mailing list