Message: Re: Material Definitions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Material Definitions 

Forum: Geometry
Re: None Material Definitions (Christopher Cotter)
Date: 03 Mar, 2016
From: michel maire <michel maire>

On Wed, 02 Mar 2016 22:09:00 GMT, Christopher Cotter wrote:
> Hi all,
> 
> I'm trying to construct some theoretical materials out of specific
> isotopes, but I'm not sure they're registering correctly.
> 
> I'm trying to add varying concentrations by weight of, say, Ti50 in
> water from one part-per-million ("Oppm") to one hundred
> parts-per-million ("Hppm")...can anybody tell me what I'm doing wrong? I
> know it's sloppy, but I couldn't think of any other way to define these
> concentrations:
> 
> //Defining Isotope
>   G4Isotope* Ti50 = new G4Isotope("Ti50",22,50,49.9447921*g/mole);
> 
> //Defining Element
> G4Element* Ti = new G4Element("Titanium","Ti", ncomponents=1);
>         Ti->AddIsotope(Ti50,100.*perCent);
> 
> ///Titanium-50
>   G4Material* OppmTi50 = new G4Material("OppmTi50",1.0000097199*g/cm3,ncomponents=2);
>         OppmTi50->AddElement(Ti,fractionmass = 0.000277235*perCent);
>         OppmTi50->AddMaterial(H2O,fractionmass = 99.999722765*perCent);
>   G4Material* TppmTi50 = new G4Material("TppmTi50",1.0000971961*g/cm3,ncomponents=2);
>         TppmTi50->AddElement(Ti,fractionmass = 0.002772280*perCent);
>         TppmTi50->AddMaterial(H2O,fractionmass = 99.99722772*perCent);
>   G4Material* HppmTi50 = new G4Material("HppmTi50",1.000971719*g/cm3,ncomponents=2);
>         HppmTi50->AddElement(Ti,fractionmass = 0.027715888*perCent);
>         HppmTi50->AddMaterial(H2O,fractionmass = 99.972284112*perCent);
> 
> Thanks, -Chris
> 

  It looks ok.
  ( The constants perThousand and perMillion exist in SystemOfUnits !)

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

1 None: Re: Material Definitions   (Christopher Cotter - 03 Mar, 2016)
(_ None: Re: Material Definitions   (Christopher Cotter - 07 Mar, 2016)
(_ None: Re: Material Definitions   (michel maire - 08 Mar, 2016)
(_ None: Re: Material Definitions   (Christopher Cotter - 08 Mar, 2016)
(_ None: Re: Material Definitions   (Christopher Cotter - 04 Apr, 2016)
 Add Message Add Message
to: "Re: Material Definitions"

 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 ]