[Gmsh] 3D non-uniform meshing

Tian Xia tianxia.ui at gmail.com
Sun May 31 08:56:07 CEST 2020


Hi Jeremy,

Thanks for directing me to the documentation. I can see my first
question answered there. But I still can't see a clear way to create a mesh
like this:

If I'd like to mesh a box in this way: the surface closed to the eight
corners (for example, distance=1) need to be densely meshed (lc0), other
part of the surface needs to be meshed with lc1. Inside the volume, it can
be meshed as coarse as possible. Is there a way to do that in Gmsh? (

More generally, Can I define the surface mesh density and volume mesh
density separately?

Thank you,
Tian


On Sat, May 30, 2020 at 3:35 AM Jeremy Theler <jeremy at seamplex.com> wrote:

> http://gmsh.info/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes
>
> On Sat, 2020-05-30 at 00:21 -0700, Tian Xia wrote:
>
> Hi Gmsh developers,
>
> Thank you for developing this extremely useful tool. Recently I have
> encountered a couple of problems about generating 3D non-uniform mesh:
>
> 1. If I define a background (for example threshold) field and define the
> lc for an object using "Characteristic Length{ PointsOf{Volume{1};} } =
> lc;", the mesh size in the volume 1 will have two mesh size definitions.
> How will Gmsh treat this this? Will it just use the smaller lc or overwrite
> one of these?
>
> 2. If I'd like to mesh a box in this way: the surface closed to the eight
> corners (for example, distance=1) need to be densely meshed (lc0), other
> part of the surface needs to be meshed with lc1. Inside the volume, it can
> be meshed as coarse as possible. Is there a way to do that in Gmsh?
>
> Thank you for your help!
>
> Bet regards.
> Tian
>
> _______________________________________________
>
> gmsh mailing list
>
> gmsh at onelab.info
>
>
> http://onelab.info/mailman/listinfo/gmsh
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>


-- 
Tian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200530/972141d0/attachment.html>


More information about the gmsh mailing list