[Gmsh] Include volumes into other a bigger volume GMSH

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Jan 31 18:30:26 CET 2013


On 26 Oct 2012, at 13:19, Nicolas Bachelard <nicolas.bachelard at gmail.com> wrote:

> Hi GMSH team,
> 
> I want to create a cube on which I should add spheres with random
> positions.
> 
> I already have the GMSH functions to generate 3D spheres and the big
> Cube where I want to include them.
> 
> Do you have an idea of how I could include my sphere at random positions
> inside this cube?
> 
> Best regards
> 

cf. tutorial/t5.geo + using Rand() ?

> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine