Message: Re: large box filled with identical tiny spheres Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: large box filled with identical tiny spheres 

Forum: Geometry
Re: Question large box filled with identical tiny spheres (Cristian Bungau)
Re: None Re: large box filled with identical tiny spheres (michel maire)
Re: Ok Re: large box filled with identical tiny spheres (Cristian Bungau)
Re: None Re: large box filled with identical tiny spheres (John Apostolakis)
Re: Agree Re: large box filled with identical tiny spheres (Cristian Bungau)
Date: 29 Sep, 2016
From: John Apostolakis <John Apostolakis>

Good to hear that you have a first working solution. That is the most important first step.

You can also try to use 3 levels of volumes. Slice the original volume in two dimensions with replicas and then use placements just the last dimension.

John

Get Outlook for Android<https://aka.ms/ghei36>



On Wed, Sep 28, 2016 at 7:42 PM +0100, "Cristian Bungau" <C.Bungau@hud.ac.uk<mailto:C.Bungau@hud.ac.uk>> wrote:


*** Discussion title: Geometry

Dear John,

Thank you for your reply. I have a box which is 100 x 100 x 100 cm^3 and
I have to fill it with spheres of 0.5 cm diameter, so 8 million spheres.

Before I was using a triple loop to fill the box with copies of the
physical volume, but as expected the code crashed due to memory
consumption exceeding allowed values. At least now with replicas, it is
running fine even if possibly not at optimum speed. I will play with the
small boxes size to see if an optimum can be achieved.

Thank you,

Best regards,

Cristian

-------------------------------------------------------------
Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at:
http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1502/1/1/1/1.html

 [ MIME part of type text/html without a name stripped ]

 Add Message Add Message
to: "Re: large box filled with identical tiny spheres"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]