Message: How to define Deuterium gas? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to define Deuterium gas? 

Forum: Geometry
Date: 26 Jul, 2010
From: Neoh <Neoh>

Hi all,

I am trying to model a chamber filled with deuterium gas. I have the following code:

  G4Isotope* iso_H2 = new G4Isotope("H2",iz=1,n=2,a=4.028*g/mole);

  G4Element* ele_D = new G4Element("Deuterium","D",ncomponents=1);

  ele_D->AddIsotope(iso_H2, abundance = 100.*perCent);

  G4Material* Deuterium = new G4Material("DeuteriumGas", density=0.08*g/m3, ncomponents=1, kStateGas, temperature=293.15*kelvin, chamberPressure=0.005*bar);

  Deuterium->AddElement(ele_D,fractionmass=1);

Is it fine to define deuterium gas this way?

Neoh

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

1 Idea: Re: How to define Deuterium gas?   (Neoh - 26 Jul, 2010)
1 Question: Re: How to define Deuterium gas?   (Neoh - 26 Jul, 2010)
(_ None: Re: How to define Deuterium gas?   (michel maire - 27 Jul, 2010)
(_ None: Re: How to define Deuterium gas?   (Neoh - 27 Jul, 2010)
2 None: Re: How to define Deuterium gas?   (michel maire - 27 Jul, 2010)
1 Question: Re: How to define Deuterium gas?   (Neoh - 27 Jul, 2010)
(_ More: Re: How to define Deuterium gas?   (Neoh - 27 Jul, 2010)
1 None: Re: How to define Deuterium gas?   (Michael H. Kelsey - 27 Jul, 2010)
2 None: Re: How to define Deuterium gas?   (michel maire - 28 Jul, 2010)
 Add Message Add Message
to: "How to define Deuterium gas?"

 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 ]