File Format


INDEX

Geometry and particle trajectory data are created in an EGS calculation and read in by CGVIEW. The structure of the geometry, particle trajectory data is described.

- Particle trajectory file format

- Particle trajectory file free format

- Particle trajectory file CSV format

- Particle trajectory file Fixed format

- Make geometry file format

- Make geometry file Free format

- Make geometry file CSV format


<< Particle trajectory file format >>

1)geometry data

[CG System]

(1)CSTA : write CG data input start Symbol

    CSTA = Fixed Format               CSTA -TIME= Fixed Format with lifetime data

    CSTA-FREE = Free Format       CSTA-FREE-TIME = Free Format with lifetime data

    CSTA-CSV = CSV Format        CSTA-CSV-TIME = CSV Format with lifetime data

(2)CSYM : write CG Body Symbel(RPP,RCC,SPH etc).(2) to (4) is 1 set data(plural data).

(3)CNUM : write CG Body Number (5 digit and positive number). (2) to (4) is 1 set data(plural data).

(4)CPRM[ ] : write CG Body Parameter. (2) to (4) is 1 set data(plural data).

(5)END : write CG Body Data input finish Symbol "END"

(6)ZNUM : write CG Zone Number(Z0001 etc).(6) to (7) is 1 set data(plural data).

(7)ZPRM[ ] : write CG Zone Parameter(OR and Body Number). (6) to (7) is 1 set data(plural data).

(8)END : write CG Zone Data input finish Symbol "END"

(9)CEND : write CG Data input finish Symbol "CEND"

[Spheres of co-center]

(1)GSTA : write except CG data input start Symbol

    GSTA = Fixed Format               GSTA -TIME= Fixed Format with lifetime data

    GSTA-FREE = Free Format       GSTA-FREE-TIME = Free Format with lifetime data

    GSTA-CSV = CSV Format        GSTA-CSV-TIME = CSV Format with lifetime data

(2)SPHR : write Spheres of co-center Data input start Symbol "SPHR"

(3)GCNT : Spheres of co-center count(>1)

(4)GPRM[ ] : Spheres of co-center radius (GCNT)

(5)GEND : write except CG data input finish Symbol "GEND"

[Cylinders of the co-center line]

(1)GSTA : write except CG data input start Symbol

    GSTA = Fixed Format               GSTA -TIME= Fixed Format with lifetime data

    GSTA-FREE = Free Format       GSTA-FREE-TIME = Free Format with lifetime data

    GSTA-CSV = CSV Format        GSTA-CSV-TIME = CSV Format with lifetime data

(2)CYLS : write Cylinders of the co-center line Data input start Symbol "CYLS"

(3)GCNT1 : Cylinders of the co-center line count(>1)

(4)GCNT2 : A Section of Z Axis Count(>1)

(5)GPRM1[ ] : Cylinders of the co-center line radius (GCNT1)

(6)GPRM2[ ] : A Section of Z Axis Position(GCNT2)

(7)GEND : write except CG data input finish Symbol "GEND"

[Three-dimensional slab]

(1)GSTA : write except CG data input start Symbol

    GSTA = Fixed Format               GSTA -TIME= Fixed Format with lifetime data

    GSTA-FREE = Free Format       GSTA-FREE-TIME = Free Format with lifetime data

    GSTA-CSV = CSV Format        GSTA-CSV-TIME = CSV Format with lifetime data

(2)SLAB : Three-dimensional slab Data input start Symbol "SLAB"

(3)GCNT1 : A Section of X Axis Count(>1)

(4)GCNT2 : A Section of Y Axis Count(>1)

(5)GCNT3 : A Section of Z Axis Count(>1)

(6)GPRM1[ ] : A Section of X Axis Position(GCNT1)

(7)GPRM2[ ] : A Section of Y Axis Position(GCNT2)

(8)GPRM3[ ] : A Section of Z Axis Position(GCNT3)

(9)GEND : write except CG data input finish Symbol "GEND"

2)Material data

(1)MSTA : write material data input start Symbol "MSTA"

(2)MCNT : write input material count(equal Zone Count)

(3)MMAT[ ] : Material Number correspondence a Zone(>=0)

(4)MEND : write material data input finish Symbol "MEND"

3)Particle trajectory data

(1)0 : write 1 particle history data input start Symbol "0"

(2)PHIS : particle history number (>=1)

(3)PTYP :write particle kind ( 4=photon 5=electron 6=positron). (3) to (11) is 1 set data(plural data).

(4)PX : write X coordinate of particle reaction point. (3) to (11) is 1 set data(plural data).

(5)PY : write Y coordinate of particle reaction point. (3) to (11) is 1 set data(plural data).

(6)PZ : write Z coordinate of particle reaction point. (3) to (11) is 1 set data(plural data).

(7)PENR : write particle reaction energy. (3) to (11) is 1 set data(plural data).

(8)PZON : write particle reaction region. (3) to (11) is 1 set data(plural data).

(9)PWGT : write particle weight.(default 1) (3) to (11) is 1 set data(plural data).

(10)PTIME: write particle lifitime.(only using time option) (3) to (11) is 1 set data(plural data).

(11)PSTP : if Particle reaction is finish then write "-1". (3) to (11) is 1 set data(plural data).

(12)9 : write 1 particle history data input finish Symbol "9"

(13)PLAT : History's Latch.(usually 1. this History un show is -1)


<< Particle trajectory file free format >>

Free Format mark off by a space.

sample file is cgsamp-free.pic in sample directory.


<< Particle trajectory file CSV format >>

CSV Format mark off by a comma.

sample file is cgsamp-csv.pic in sample directory.


<< Particle trajectory file Fixed format >>

Fixed Format need input data with deside Format.

sample file is cgsamp-fixed.pic in sample directory.

1)geometry data

[CG]

(1)Format('CSTA')

(2)Format(1h, 2x, a3, i5, 1p8e12.4) CSYM, CNUM, CPRM[ ]

   Format(1h, 2x, 3x, 5x, 1p8e12.4) CSYM, CNUM, CPRM[ ] (A Case of CPRM 8 over)

(3)Format(1h, 'END')

(4Format(1h ,2x,a3,5x,1x,10(a2,i5,1x)) ZNUM, ZPRM[ ] (a2 is "OR" or space, i5 is Body number)

   Format(1h ,2x,3x,5x,1x,10(a2,i5,1x)) ZPRM[ ] (A Cse of ZPRM 10 over)

(5)Format('END')

(6)Frmat('CEND')

[Spheres of co-center]

(1)Format('GSTA')

(2)Format('SPHR')

(3)Format(3i6) GCNT

(4)Format(4E15.7) GPRM[ ]

(5)Format('GEND')

[Cylinders of the co-center line]

(1)Format('GSTA')

(2)Format('CYLS')

(3)Format(3i6) GCNT1, GCNT2

(4)Format(4E15.7) GPRM1[ ]

(5)Format(4E15.7) GPRM2[ ]

(6)Format('GEND')

[Three-dimensional slab]

(1)Format('GSTA')

(2)Format('SLAB')

(3)Format(3i6) GCNT1, GCNT2, GCNT3

(4)Format(4E15.7) GPRM1[ ]

(5)Format(4E15.7) GPRM2[ ]

(6)Format(4E15.7) GPRM3[ ]

(7)Format('GEND')

2)Material data

(1)Format('MSTA')

(2)Format(i4) MCNT

(3)Format(15i4) MMAT[ ]

(4)Format('MEND')

3)Particle trajectory data

(1)Format('0',i5) PHIS

(2)Format(i1,1p3E13.6,1pE10.3,i4,1p2E10.3) PTYP, PX, PY, PZ, PENR, PZONO, PWGT, PTIME

(3)Format('-1')

(4)Format('9',i5) PLAT


<< Make geometry file format >>

(1)CSYM : write CG Body Number(RPP,RCC,SPH etc). (1) to (3) is 1 set data(plural data).

(2)CNUM : write CG Body Number(5 digit and positive number). (1) to (3) is 1 set data(plural data).

(3)CPRM[ ] : write CG Body Parameter. (1) to (3) is 1 set data(plural data).

(4)END : write CG Body Data input finish Symbol "END"

(5)ZNUM : write CG Zone Number(Z0001 etc). (5) to (6) is 1 set data(plural data).

(6)ZPRM[ ] : write CG Zone Parameter(OR and Body Number). (5) to (6) is 1 set data(plural data).

(7)END : write CG Zone Data input finish Symbol "END"

(8)MMAT[ ] : Material Number correspondence a Zone(>=0)


<< Make geometry file Free format >>

Free Format mark off by a space.

sample file is makesamp.geo in sample directory.


<< Make geometry file CSV Format >>

Free Format mark off by a comma.

sample file is makesamp.csv in sample directory.