1netcdf testcpd { 2dimensions: 3 len_string = 33 ; 4 len_line = 81 ; 5 four = 4 ; 6 time_step = UNLIMITED ; // (0 currently) 7 len_name = 33 ; 8 num_dim = 3 ; 9 num_nodes = 26 ; 10 num_elem = 5 ; 11 num_el_blk = 5 ; 12 num_node_sets = 2 ; 13 num_side_sets = 5 ; 14 num_el_in_blk1 = 1 ; 15 num_nod_per_el1 = 4 ; 16 num_att_in_blk1 = 1 ; 17 num_el_in_blk2 = 1 ; 18 num_nod_per_el2 = 4 ; 19 num_att_in_blk2 = 1 ; 20 num_el_in_blk3 = 1 ; 21 num_nod_per_el3 = 8 ; 22 num_att_in_blk3 = 1 ; 23 num_el_in_blk4 = 1 ; 24 num_nod_per_el4 = 4 ; 25 num_att_in_blk4 = 1 ; 26 num_el_in_blk5 = 1 ; 27 num_nod_per_el5 = 6 ; 28 num_att_in_blk5 = 1 ; 29 num_nod_ns1 = 5 ; 30 num_nod_ns2 = 3 ; 31 num_side_ss1 = 2 ; 32 num_df_ss1 = 4 ; 33 num_side_ss2 = 2 ; 34 num_df_ss2 = 4 ; 35 num_side_ss3 = 7 ; 36 num_side_ss4 = 4 ; 37 num_side_ss5 = 5 ; 38variables: 39 double time_whole(time_step) ; 40 int eb_status(num_el_blk) ; 41 int eb_prop1(num_el_blk) ; 42 eb_prop1:name = "ID" ; 43 int ns_status(num_node_sets) ; 44 int ns_prop1(num_node_sets) ; 45 ns_prop1:name = "ID" ; 46 int ss_status(num_side_sets) ; 47 int ss_prop1(num_side_sets) ; 48 ss_prop1:name = "ID" ; 49 double coordx(num_nodes) ; 50 double coordy(num_nodes) ; 51 double coordz(num_nodes) ; 52 char eb_names(num_el_blk, len_name) ; 53 char ns_names(num_node_sets, len_name) ; 54 char ss_names(num_side_sets, len_name) ; 55 char coor_names(num_dim, len_name) ; 56 int elem_map(num_elem) ; 57 double attrib1(num_el_in_blk1, num_att_in_blk1) ; 58 char attrib_name1(num_att_in_blk1, len_name) ; 59 int connect1(num_el_in_blk1, num_nod_per_el1) ; 60 connect1:elem_type = "quad" ; 61 double attrib2(num_el_in_blk2, num_att_in_blk2) ; 62 char attrib_name2(num_att_in_blk2, len_name) ; 63 int connect2(num_el_in_blk2, num_nod_per_el2) ; 64 connect2:elem_type = "quad" ; 65 double attrib3(num_el_in_blk3, num_att_in_blk3) ; 66 char attrib_name3(num_att_in_blk3, len_name) ; 67 int connect3(num_el_in_blk3, num_nod_per_el3) ; 68 connect3:elem_type = "hex" ; 69 double attrib4(num_el_in_blk4, num_att_in_blk4) ; 70 char attrib_name4(num_att_in_blk4, len_name) ; 71 int connect4(num_el_in_blk4, num_nod_per_el4) ; 72 connect4:elem_type = "tetra" ; 73 double attrib5(num_el_in_blk5, num_att_in_blk5) ; 74 char attrib_name5(num_att_in_blk5, len_name) ; 75 int connect5(num_el_in_blk5, num_nod_per_el5) ; 76 connect5:elem_type = "wedge" ; 77 int eb_prop2(num_el_blk) ; 78 eb_prop2:_FillValue = 0 ; 79 eb_prop2:name = "MATL" ; 80 int eb_prop3(num_el_blk) ; 81 eb_prop3:_FillValue = 0 ; 82 eb_prop3:name = "DENSITY" ; 83 int node_ns1(num_nod_ns1) ; 84 double dist_fact_ns1(num_nod_ns1) ; 85 int node_ns2(num_nod_ns2) ; 86 double dist_fact_ns2(num_nod_ns2) ; 87 int ns_prop2(num_node_sets) ; 88 ns_prop2:_FillValue = 0 ; 89 ns_prop2:name = "FACE" ; 90 int ns_prop3(num_node_sets) ; 91 ns_prop3:name = "VELOCITY" ; 92 int elem_ss1(num_side_ss1) ; 93 int side_ss1(num_side_ss1) ; 94 double dist_fact_ss1(num_df_ss1) ; 95 int elem_ss2(num_side_ss2) ; 96 int side_ss2(num_side_ss2) ; 97 double dist_fact_ss2(num_df_ss2) ; 98 int elem_ss3(num_side_ss3) ; 99 int side_ss3(num_side_ss3) ; 100 int elem_ss4(num_side_ss4) ; 101 int side_ss4(num_side_ss4) ; 102 int elem_ss5(num_side_ss5) ; 103 int side_ss5(num_side_ss5) ; 104 int ss_prop2(num_side_sets) ; 105 ss_prop2:_FillValue = 0 ; 106 ss_prop2:name = "COLOR" ; 107 108// global attributes: 109 :floating_point_word_size = 8 ; 110 :file_size = 1 ; 111 :int64_status = 0 ; 112 :title = "This is a test" ; 113 :maximum_name_length = 32 ; 114data: 115 116 eb_status = 1, 1, 1, 1, 1 ; 117 118 eb_prop1 = 10, 11, 12, 13, 14 ; 119 120 ns_status = 1, 1 ; 121 122 ns_prop1 = 20, 21 ; 123 124 ss_status = 1, 1, 1, 1, 1 ; 125 126 ss_prop1 = 30, 31, 32, 33, 34 ; 127 128 coordx = 0, 1, 1, 0, 1, 2, 2, 1, 0, 10, 10, 1, 1, 10, 10, 1, 0, 1, 10, 7, 3, 129 6, 0, 3, 6, 0 ; 130 131 coordy = 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 10, 10, 10, 10, 0, 0, 0, 5, 0, 132 0, 0, 2, 2, 2 ; 133 134 coordz = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, -10, 0, 0, -10, -10, 0, 5, 2, 3, 135 6, 0, 0, 6, 2, 0 ; 136 137 eb_names = 138 "", 139 "", 140 "", 141 "", 142 "" ; 143 144 ns_names = 145 "", 146 "" ; 147 148 ss_names = 149 "", 150 "", 151 "", 152 "", 153 "" ; 154 155 coor_names = 156 "xcoor", 157 "ycoor", 158 "zcoor" ; 159 160 elem_map = 1, 2, 3, 4, 5 ; 161 162 attrib1 = 163 3.1416 ; 164 165 attrib_name1 = 166 "" ; 167 168 connect1 = 169 1, 2, 3, 4 ; 170 171 attrib2 = 172 6.1416 ; 173 174 attrib_name2 = 175 "" ; 176 177 connect2 = 178 5, 6, 7, 8 ; 179 180 attrib3 = 181 6.1416 ; 182 183 attrib_name3 = 184 "" ; 185 186 connect3 = 187 9, 10, 11, 12, 13, 14, 15, 16 ; 188 189 attrib4 = 190 6.1416 ; 191 192 attrib_name4 = 193 "" ; 194 195 connect4 = 196 17, 18, 19, 20 ; 197 198 attrib5 = 199 6.1416 ; 200 201 attrib_name5 = 202 "" ; 203 204 connect5 = 205 21, 22, 23, 24, 25, 26 ; 206 207 eb_prop2 = 10, 20, 30, 40, 50 ; 208 209 eb_prop3 = _, _, _, _, _ ; 210 211 node_ns1 = 10, 11, 12, 13, 14 ; 212 213 dist_fact_ns1 = 1, 2, 3, 4, 5 ; 214 215 node_ns2 = 20, 21, 22 ; 216 217 dist_fact_ns2 = 1.1, 2.1, 3.1 ; 218 219 ns_prop2 = 4, 5 ; 220 221 ns_prop3 = 1000, 2000 ; 222 223 elem_ss1 = 2, 2 ; 224 225 side_ss1 = 4, 2 ; 226 227 dist_fact_ss1 = 30, 30.1, 30.2, 30.3 ; 228 229 elem_ss2 = 1, 2 ; 230 231 side_ss2 = 2, 3 ; 232 233 dist_fact_ss2 = 31, 31.1, 31.2, 31.3 ; 234 235 elem_ss3 = 3, 3, 3, 3, 3, 3, 3 ; 236 237 side_ss3 = 5, 3, 3, 2, 4, 1, 6 ; 238 239 elem_ss4 = 4, 4, 4, 4 ; 240 241 side_ss4 = 1, 2, 3, 4 ; 242 243 elem_ss5 = 5, 5, 5, 5, 5 ; 244 245 side_ss5 = 1, 2, 3, 4, 5 ; 246 247 ss_prop2 = 100, 101, _, _, _ ; 248} 249