next up previous contents
Next: Appendix 3: Setting Model Up: G3D Cover Page Previous: Appendix 1: G3D Data

Appendix 2: A Sample G3D Data File

The small example problem below may be extracted from `FILE_FMT.doc' or simply `cut and pasted' from this page (i.e., material between ---).

---
size 3 5 5
center 2 3 3
time from 1 to 1
grid 
        1 1 1  1 1 2  1 1 3  1 1 4  1 1 5
        1 2 1  1 2 2  1 2 3  1 2 4  1 2 5
        1 3 1  1 3 2  1 3 3  1 3 4  1 3 5
        1 4 1  1 4 2  1 4 3  1 4 4  1 4 5
        1 5 1  1 5 2  1 5 3  1 5 4  1 5 5

        2 1 1  2 1 2  2 1 3  2 1 4  2 1 5
        2 2 1  2 2 2  2 2 3  2 2 4  2 2 5
        2 3 1  2 3 2  2 3 3  2 3 4  2 3 5
        2 4 1  2 4 2  2 4 3  2 4 4  2 4 5
        2 5 1  2 5 2  2 5 3  2 5 4  2 5 5

        3 1 1  3 1 2  3 1 3  3 1 4  3 1 5
        3 2 1  3 2 2  3 2 3  3 2 4  3 2 5
        3 3 1  3 3 2  3 3 3  3 3 4  3 3 5
        3 4 1  3 4 2  3 4 3  3 4 4  3 4 5
        3 5 1  3 5 2  3 5 3  3 5 4  3 5 5
end
data
        scalar "Concentration"
        range from 0 to 1
        time 1
                0 0 0 0 0
                0 0 0 0 0
                0 0 1 0 0
                0 0 0 0 0
                0 0 0 0 0

                0 0 0 0 0
                0 .1 .2 .1 0
                0 .2 1 .2 0
                0 .1 .2 .1 0
                0 0 0 0 0

                0 0 0 0 0
                0 0 0 0 0
                0 0 1 0 0
                0 0 0 0 0
                0 0 0 0 0
        end
end
---



Robert Sharpley
Tue Dec 9 10:30:18 EST 1997