[Gmsh] meshing circular inclusions with desired element size

Nguyen Vinh Phu nvinhphu at gmail.com
Wed Jul 22 07:56:57 CEST 2015


Dear Johannes,

Your help is very much appreciated. And I managed to do that for one single inclusion. When I tried to extend the approach to more than one, I failed. Could you please help me how to do that for a simple problem with two inclusions of which the geo file is attached so that you just modify it. Note that the two inclusions are of different radii. And my target is a domain with many many inclusions. So any help on how to generalise the procedure is welcome.

Best regards,
Phu


> On 21 Jul 2015, at 5:44 pm, Johannes Wimmer <johannes.wimmer at rwth-aachen.de> wrote:
> 
> Dear Phu,
> are your inclusions intersecting the domain boundary? If not, simple
> attractors will do.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inclusions.geo
Type: application/octet-stream
Size: 2218 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150722/bdfdae96/attachment.geo>
-------------- next part --------------
> 
> I have attached a snippet of tutorial 10. It works in 3D analogously.
> Just pay attention that DistMin is not your inner radius of your
> transition zone from coarse to fine, but the outer one, now. Think of it
> as the radius where the minimal lc applies again. DistMax is then your
> radius up to which the maximal lc (i.e. 5*lc) holds.
> 
> Cheers,
> Johannes
> 
> On 20.07.2015 16:47, Nguyen Vinh Phu wrote:
>> Dear all,
>> 
>> I have a square domain with a number of circular inclusions. For each
>> inclusion, I normally define 5 points with the same characteristic
>> length. This resulted in a mesh where the inclusions are finely
>> discretised which is not what I need since the inclusions are only
>> elastic in my FE simulations.
>> 
>> What I need to achieve is a mesh which is refined around the
>> inclusion boundaries not within them. I heard and read the
>> documentation about  background meshes but I really do not know how
>> to get what I need.
>> 
>> Any help would be much appreciated.
>> 
>> Best regards, Phu
>> 
>> 
>> _______________________________________________ gmsh mailing list
>> gmsh at geuz.org http://www.geuz.org/mailman/listinfo/gmsh
>> 
> 
> -- 
> Dipl.-Ing. Johannes Wimmer
> RWTH Aachen
> Institut für Angewandte Mechanik
> Mies-van-der-Rohe-Str.1
> D-52074 Aachen
> 
> Tel.: +49 (0)241 80 25013
> Fax : +49 (0)241 80 22001
> www.ifam.rwth-aachen.de
> <t10_partial_coarseGraining.geo>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh