Message: density or dimensions: that is the question Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question density or dimensions: that is the question 

Forum: Geometry
Date: 15 Oct, 2010
From: Simone <Simone>

hello,

in my geometry i have a complex detector casing (walls, cables, different layers of different materials..) so I have decided to simplify the design creating a box with the dimension of my detector casing, and creating a new material "DC" this way

G4Material* DC =new G4Material("Detector Case",density=DC_density,ncomponents=5); DC->AddMaterial(Al, fractionmass=Al_fraction); DC->AddMaterial(Cu, fractionmass=Cu_fraction); DC->AddMaterial(Nb, fractionmass=Nb_fraction); DC->AddMaterial(Ti, fractionmass=Ti_fraction); DC->AddMaterial(MuMetal, fractionmass=MuMetal_fraction);

i was tempted to define DC_density as:

G4double DH_density = Al_density*Al_fraction+Cu_density*Cu_fraction+Nb_density*Nb_fraction+Ti_density*Ti_fraction+MuMetal_fraction*MuMetal_density;

but this way the total mass of the detector case is way too much (because the actual volume has a lot of void space inside it)

my question is: is it safer to use the actual dimension and a fake density that gives the correct total mass, or the real mass with a thinner detector case?

according to me it should be exactly the same thing, but in my group there are different opinions on the matter, and i'd like to hear the opinion of someone that knows better how the software works

thank you

simone

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: density or dimensions: that is the question   (michel maire - 16 Oct, 2010)
 Add Message Add Message
to: "density or dimensions: that is the question"

 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 ]