| 1 |
netcdf test { |
| 2 |
dimensions: |
| 3 |
len_name = 256 ; |
| 4 |
time_step = UNLIMITED ; // (0 currently) |
| 5 |
num_dim = 3 ; |
| 6 |
num_nodes = 33 ; |
| 7 |
num_elem = 8 ; |
| 8 |
num_el_blk = 8 ; |
| 9 |
num_node_sets = 2 ; |
| 10 |
num_side_sets = 9 ; |
| 11 |
num_el_in_blk1 = 1 ; |
| 12 |
num_nod_per_el1 = 4 ; |
| 13 |
num_att_in_blk1 = 1 ; |
| 14 |
num_el_in_blk2 = 1 ; |
| 15 |
num_nod_per_el2 = 4 ; |
| 16 |
num_att_in_blk2 = 1 ; |
| 17 |
num_el_in_blk3 = 1 ; |
| 18 |
num_nod_per_el3 = 8 ; |
| 19 |
num_att_in_blk3 = 1 ; |
| 20 |
num_el_in_blk4 = 1 ; |
| 21 |
num_nod_per_el4 = 4 ; |
| 22 |
num_att_in_blk4 = 1 ; |
| 23 |
num_el_in_blk5 = 1 ; |
| 24 |
num_nod_per_el5 = 6 ; |
| 25 |
num_att_in_blk5 = 1 ; |
| 26 |
num_el_in_blk6 = 1 ; |
| 27 |
num_nod_per_el6 = 8 ; |
| 28 |
num_att_in_blk6 = 1 ; |
| 29 |
num_el_in_blk7 = 1 ; |
| 30 |
num_nod_per_el7 = 4 ; |
| 31 |
num_att_in_blk7 = 1 ; |
| 32 |
num_el_in_blk8 = 1 ; |
| 33 |
num_nod_per_el8 = 3 ; |
| 34 |
num_att_in_blk8 = 1 ; |
| 35 |
num_side_ss3 = 2 ; |
| 36 |
num_df_ss3 = 4 ; |
| 37 |
num_side_ss4 = 2 ; |
| 38 |
num_df_ss4 = 4 ; |
| 39 |
num_side_ss5 = 7 ; |
| 40 |
num_side_ss6 = 4 ; |
| 41 |
num_side_ss7 = 2 ; |
| 42 |
num_side_ss8 = 4 ; |
| 43 |
num_side_ss9 = 2 ; |
| 44 |
num_qa_rec = 2 ; |
| 45 |
four = 4 ; |
| 46 |
len_string = 33 ; |
| 47 |
num_info = 3 ; |
| 48 |
len_line = 81 ; |
| 49 |
variables: |
| 50 |
float time_whole(time_step) ; |
| 51 |
int eb_status(num_el_blk) ; |
| 52 |
int eb_prop1(num_el_blk) ; |
| 53 |
eb_prop1:name = "ID" ; |
| 54 |
int ns_status(num_node_sets) ; |
| 55 |
int ns_prop1(num_node_sets) ; |
| 56 |
ns_prop1:name = "ID" ; |
| 57 |
int ss_status(num_side_sets) ; |
| 58 |
int ss_prop1(num_side_sets) ; |
| 59 |
ss_prop1:name = "ID" ; |
| 60 |
float coordx(num_nodes) ; |
| 61 |
float coordy(num_nodes) ; |
| 62 |
float coordz(num_nodes) ; |
| 63 |
char eb_names(num_el_blk, len_name) ; |
| 64 |
char ns_names(num_node_sets, len_name) ; |
| 65 |
char ss_names(num_side_sets, len_name) ; |
| 66 |
char coor_names(num_dim, len_name) ; |
| 67 |
float attrib1(num_el_in_blk1, num_att_in_blk1) ; |
| 68 |
char attrib_name1(num_att_in_blk1, len_name) ; |
| 69 |
int connect1(num_el_in_blk1, num_nod_per_el1) ; |
| 70 |
connect1:elem_type = "quad" ; |
| 71 |
float attrib2(num_el_in_blk2, num_att_in_blk2) ; |
| 72 |
char attrib_name2(num_att_in_blk2, len_name) ; |
| 73 |
int connect2(num_el_in_blk2, num_nod_per_el2) ; |
| 74 |
connect2:elem_type = "quad" ; |
| 75 |
float attrib3(num_el_in_blk3, num_att_in_blk3) ; |
| 76 |
char attrib_name3(num_att_in_blk3, len_name) ; |
| 77 |
int connect3(num_el_in_blk3, num_nod_per_el3) ; |
| 78 |
connect3:elem_type = "hex" ; |
| 79 |
float attrib4(num_el_in_blk4, num_att_in_blk4) ; |
| 80 |
char attrib_name4(num_att_in_blk4, len_name) ; |
| 81 |
int connect4(num_el_in_blk4, num_nod_per_el4) ; |
| 82 |
connect4:elem_type = "tetra" ; |
| 83 |
float attrib5(num_el_in_blk5, num_att_in_blk5) ; |
| 84 |
char attrib_name5(num_att_in_blk5, len_name) ; |
| 85 |
int connect5(num_el_in_blk5, num_nod_per_el5) ; |
| 86 |
connect5:elem_type = "wedge" ; |
| 87 |
float attrib6(num_el_in_blk6, num_att_in_blk6) ; |
| 88 |
char attrib_name6(num_att_in_blk6, len_name) ; |
| 89 |
int connect6(num_el_in_blk6, num_nod_per_el6) ; |
| 90 |
connect6:elem_type = "tetra" ; |
| 91 |
float attrib7(num_el_in_blk7, num_att_in_blk7) ; |
| 92 |
char attrib_name7(num_att_in_blk7, len_name) ; |
| 93 |
int connect7(num_el_in_blk7, num_nod_per_el7) ; |
| 94 |
connect7:elem_type = "shell" ; |
| 95 |
float attrib8(num_el_in_blk8, num_att_in_blk8) ; |
| 96 |
char attrib_name8(num_att_in_blk8, len_name) ; |
| 97 |
int connect8(num_el_in_blk8, num_nod_per_el8) ; |
| 98 |
connect8:elem_type = "triangle" ; |
| 99 |
int elem_ss3(num_side_ss3) ; |
| 100 |
int side_ss3(num_side_ss3) ; |
| 101 |
float dist_fact_ss3(num_df_ss3) ; |
| 102 |
int elem_ss4(num_side_ss4) ; |
| 103 |
int side_ss4(num_side_ss4) ; |
| 104 |
float dist_fact_ss4(num_df_ss4) ; |
| 105 |
int elem_ss5(num_side_ss5) ; |
| 106 |
int side_ss5(num_side_ss5) ; |
| 107 |
int elem_ss6(num_side_ss6) ; |
| 108 |
int side_ss6(num_side_ss6) ; |
| 109 |
int elem_ss7(num_side_ss7) ; |
| 110 |
int side_ss7(num_side_ss7) ; |
| 111 |
int elem_ss8(num_side_ss8) ; |
| 112 |
int side_ss8(num_side_ss8) ; |
| 113 |
int elem_ss9(num_side_ss9) ; |
| 114 |
int side_ss9(num_side_ss9) ; |
| 115 |
char qa_records(num_qa_rec, four, len_string) ; |
| 116 |
char info_records(num_info, len_line) ; |
| 117 |
|
| 118 |
// global attributes: |
| 119 |
:file_size = 1 ; |
| 120 |
:maximum_name_length = 32 ; |
| 121 |
:title = "This is a test" ; |
| 122 |
data: |
| 123 |
|
| 124 |
eb_status = 1, 1, 1, 1, 1, 1, 1, 1 ; |
| 125 |
|
| 126 |
eb_prop1 = 10, 11, 12, 13, 14, 15, 16, 17 ; |
| 127 |
|
| 128 |
ns_status = 0, 0 ; |
| 129 |
|
| 130 |
ns_prop1 = -1, -1 ; |
| 131 |
|
| 132 |
ss_status = 0, 0, 1, 1, 1, 1, 1, 1, 1 ; |
| 133 |
|
| 134 |
ss_prop1 = 30, 31, 32, 33, 34, 35, 36, 37, 38 ; |
| 135 |
|
| 136 |
coordx = 0, 1, 1, 0, 1, 2, 2, 1, 0, 10, 10, 1, 1, 10, 10, 1, 0, 1, 10, 7, 3, |
| 137 |
6, 0, 3, 6, 0, 2.7, 6, 5.7, 3.7, 2.7, 6, 5.7 ; |
| 138 |
|
| 139 |
coordy = 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 10, 10, 10, 10, 0, 0, 0, 5, 0, |
| 140 |
0, 0, 2, 2, 2, 1.7, 1.7, 1.7, 0, 1.7, 1.7, 1.7 ; |
| 141 |
|
| 142 |
coordz = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, -10, 0, 0, -10, -10, 0, 5, 2, 3, |
| 143 |
6, 0, 0, 6, 2, 0, 2.7, 3.3, 1.7, 2.3, 2.7, 3.3, 1.7 ; |
| 144 |
|
| 145 |
eb_names = |
| 146 |
"", |
| 147 |
"", |
| 148 |
"", |
| 149 |
"", |
| 150 |
"", |
| 151 |
"", |
| 152 |
"", |
| 153 |
"" ; |
| 154 |
|
| 155 |
ns_names = |
| 156 |
"", |
| 157 |
"" ; |
| 158 |
|
| 159 |
ss_names = |
| 160 |
"", |
| 161 |
"", |
| 162 |
"", |
| 163 |
"", |
| 164 |
"", |
| 165 |
"", |
| 166 |
"", |
| 167 |
"", |
| 168 |
"" ; |
| 169 |
|
| 170 |
coor_names = |
| 171 |
"xcoor", |
| 172 |
"ycoor", |
| 173 |
"zcoor" ; |
| 174 |
|
| 175 |
attrib1 = |
| 176 |
3.1416 ; |
| 177 |
|
| 178 |
attrib_name1 = |
| 179 |
"" ; |
| 180 |
|
| 181 |
connect1 = |
| 182 |
1, 2, 3, 4 ; |
| 183 |
|
| 184 |
attrib2 = |
| 185 |
6.1416 ; |
| 186 |
|
| 187 |
attrib_name2 = |
| 188 |
"" ; |
| 189 |
|
| 190 |
connect2 = |
| 191 |
5, 6, 7, 8 ; |
| 192 |
|
| 193 |
attrib3 = |
| 194 |
6.1416 ; |
| 195 |
|
| 196 |
attrib_name3 = |
| 197 |
"" ; |
| 198 |
|
| 199 |
connect3 = |
| 200 |
9, 10, 11, 12, 13, 14, 15, 16 ; |
| 201 |
|
| 202 |
attrib4 = |
| 203 |
6.1416 ; |
| 204 |
|
| 205 |
attrib_name4 = |
| 206 |
"" ; |
| 207 |
|
| 208 |
connect4 = |
| 209 |
17, 18, 19, 20 ; |
| 210 |
|
| 211 |
attrib5 = |
| 212 |
6.1416 ; |
| 213 |
|
| 214 |
attrib_name5 = |
| 215 |
"" ; |
| 216 |
|
| 217 |
connect5 = |
| 218 |
21, 22, 23, 24, 25, 26 ; |
| 219 |
|
| 220 |
attrib6 = |
| 221 |
6.1416 ; |
| 222 |
|
| 223 |
attrib_name6 = |
| 224 |
"" ; |
| 225 |
|
| 226 |
connect6 = |
| 227 |
17, 18, 19, 20, 27, 28, 30, 29 ; |
| 228 |
|
| 229 |
attrib7 = |
| 230 |
6.1416 ; |
| 231 |
|
| 232 |
attrib_name7 = |
| 233 |
"" ; |
| 234 |
|
| 235 |
connect7 = |
| 236 |
1, 2, 3, 4 ; |
| 237 |
|
| 238 |
attrib8 = |
| 239 |
6.1416 ; |
| 240 |
|
| 241 |
attrib_name8 = |
| 242 |
"" ; |
| 243 |
|
| 244 |
connect8 = |
| 245 |
30, 31, 32 ; |
| 246 |
|
| 247 |
elem_ss3 = 2, 2 ; |
| 248 |
|
| 249 |
side_ss3 = 4, 2 ; |
| 250 |
|
| 251 |
dist_fact_ss3 = 30, 30.1, 30.2, 30.3 ; |
| 252 |
|
| 253 |
elem_ss4 = 1, 2 ; |
| 254 |
|
| 255 |
side_ss4 = 2, 3 ; |
| 256 |
|
| 257 |
dist_fact_ss4 = 31, 31.1, 31.2, 31.3 ; |
| 258 |
|
| 259 |
elem_ss5 = 3, 3, 3, 3, 3, 3, 3 ; |
| 260 |
|
| 261 |
side_ss5 = 5, 3, 3, 2, 4, 1, 6 ; |
| 262 |
|
| 263 |
elem_ss6 = 4, 4, 4, 4 ; |
| 264 |
|
| 265 |
side_ss6 = 1, 2, 3, 4 ; |
| 266 |
|
| 267 |
elem_ss7 = 7, 7 ; |
| 268 |
|
| 269 |
side_ss7 = 1, 2 ; |
| 270 |
|
| 271 |
elem_ss8 = 7, 7, 7, 7 ; |
| 272 |
|
| 273 |
side_ss8 = 3, 4, 5, 6 ; |
| 274 |
|
| 275 |
elem_ss9 = 8, 8 ; |
| 276 |
|
| 277 |
side_ss9 = 1, 3 ; |
| 278 |
|
| 279 |
qa_records = |
| 280 |
"TESTWT", |
| 281 |
"testwt", |
| 282 |
"07/07/93", |
| 283 |
"15:41:33", |
| 284 |
"", |
| 285 |
" ", |
| 286 |
"", |
| 287 |
" " ; |
| 288 |
|
| 289 |
info_records = |
| 290 |
"This is the first information record.", |
| 291 |
"", |
| 292 |
" " ; |
| 293 |
} |