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

From: M. Nicola Mazziotta <Marionicola.Mazziotta_at_ba.infn.it>
Date: Tue, 01 Oct 2013 10:01:12 +0200

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 Tue Oct 01 2013 - 11:03:26 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 01 2013 - 11:03:27 CEST