Re: [fluka-discuss]: FLUGG: NON SEQUENTIAL MATERIAL NUMBER

From: paola sala <paola.sala_at_cern.ch>
Date: Wed, 2 Oct 2013 12:39:57 +0200

Dear Nicola,
please do not use the Nist Manager to build materials, use G4Material
instead
Paola
On 10/01/2013 10:01 AM, M. Nicola Mazziotta wrote:
> Dear all,
>
> I am using the FLUGG tool to interface the GEANT4 geometry to FLUKA
> code. However, I found an issue using the G4 material due to "NON
> SEQUENTIAL MATERIAL NUMBER" message error in running FLUKA.
>
> To easily see this message is enough to made some changes in the
> AlAuAl example changing the Al and Au material definitions in the
> MyDetectorConstruction.cc as:
>
> ...
> #include "G4NistManager.hh"
> ...
> ...
>
> density = 2.700*g/cm3;
> a = 26.98*g/mole;
> //G4Material* Al = new G4Material(name="Aluminum", z=13., a, density);
>
> G4NistManager* man = G4NistManager::Instance();
> G4Material* Al = man->FindOrBuildMaterial("G4_Al");
>
> density = 19.300*g/cm3;
> a = 196.97*g/mole;
> //G4Material* Au = new G4Material(name="Gold", z=79., a, density);
> G4Material* Au = man->FindOrBuildMaterial("G4_Au");
>
> I am using the latest version of FLUKA 2011.2b.4, the latest version
> of FLUGG flugg_2009_4 and the Geant4 version 4.9.6.p02.
>
> Any suggestions would be greatly appreciated.
>
> Best regards,
> Nicola
>
Received on Wed Oct 02 2013 - 13:17:00 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 02 2013 - 13:17:01 CEST