[Gmsh] Help with an adaptive mesh (cube)

x x at gmail.com
Fri Feb 6 11:12:18 CET 2015


Thanks for bringing this to my attention, I managed to make it work

On Wed, Feb 4, 2015 at 8:21 PM, Oliver Willekens <
oliver.willekens at elis.ugent.be> wrote:

> 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 x <x 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,
>> x
>>
>> _______________________________________________
>> 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/20150206/755820d0/attachment.html>