12.07.2015 Views

cg Version

cg Version

cg Version

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

tomedarr(1)='NAImedarr(1)='GEHere, data of 24 characters must be specified as medarr(1).User should be careful on the point that data of 24 characters are necessary for medarr .5. Modify ucnai<strong>cg</strong>v5.inp as follows:ModifyCOMP&INP NE=2,RHO=3.67, PZ=1,1,IRAYL=1 /ENDNAINAINA Ito''ELEM&INP IRAYL=1 /ENDGEGEGEUser should be careful on the point that the second "GE" must start from 31-th column.6. Run ucnai<strong>cg</strong>v5.f by egs5run. In the case of Linux or CygwinEnter ucnai<strong>cg</strong>v5 as the user code.Simply enter "return" as the le name for unit 4 and 25.Enter 1 for "Does this user code read from the terminal?". In the case of DOSegs5run ucnai<strong>cg</strong>v57. Compare the calculated results with nai.out. Example of the result: P e =41.1 0.5 %,T e =88.1 0.3 %6.3 Problem 31. cp ucnai<strong>cg</strong>v.f ucion<strong>cg</strong>v.f2. cp ucnai<strong>cg</strong>v.data ucion<strong>cg</strong>v.data3. cp ucnai<strong>cg</strong>v.inp ucion<strong>cg</strong>v.inp4. Modify ucion<strong>cg</strong>v.f as follows: Add variables used.ChangetoChange* xi0,yi0,zi0* xi0,yi0,zi0,avab,depes,depe2s,sigab* xi0,yi0,zi045

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!