You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
469 lines
10 KiB
469 lines
10 KiB
netcdf test {
|
|
dimensions:
|
|
len_name = 256 ;
|
|
time_step = UNLIMITED ; // (10 currently)
|
|
num_dim = 1 ;
|
|
num_nodes = 10 ;
|
|
num_elem = 10 ;
|
|
num_el_blk = 3 ;
|
|
num_node_sets = 2 ;
|
|
num_side_sets = 2 ;
|
|
num_att_in_nblk = 1 ;
|
|
num_el_in_blk1 = 4 ;
|
|
num_nod_per_el1 = 2 ;
|
|
num_att_in_blk1 = 1 ;
|
|
num_el_in_blk2 = 5 ;
|
|
num_nod_per_el2 = 2 ;
|
|
num_att_in_blk2 = 1 ;
|
|
num_el_in_blk3 = 1 ;
|
|
num_nod_per_el3 = 1 ;
|
|
num_nod_ns1 = 5 ;
|
|
num_nod_ns2 = 3 ;
|
|
num_att_in_ns1 = 1 ;
|
|
num_side_ss1 = 1 ;
|
|
num_df_ss1 = 1 ;
|
|
num_side_ss2 = 1 ;
|
|
num_df_ss2 = 1 ;
|
|
num_qa_rec = 2 ;
|
|
four = 4 ;
|
|
len_string = 33 ;
|
|
num_info = 3 ;
|
|
len_line = 81 ;
|
|
num_nod_var = 2 ;
|
|
num_elem_var = 3 ;
|
|
num_nset_var = 3 ;
|
|
variables:
|
|
float time_whole(time_step) ;
|
|
int eb_status(num_el_blk) ;
|
|
int eb_prop1(num_el_blk) ;
|
|
eb_prop1:name = "ID" ;
|
|
int ns_status(num_node_sets) ;
|
|
int ns_prop1(num_node_sets) ;
|
|
ns_prop1:name = "ID" ;
|
|
int ss_status(num_side_sets) ;
|
|
int ss_prop1(num_side_sets) ;
|
|
ss_prop1:name = "ID" ;
|
|
float coordx(num_nodes) ;
|
|
char eb_names(num_el_blk, len_name) ;
|
|
char ns_names(num_node_sets, len_name) ;
|
|
char ss_names(num_side_sets, len_name) ;
|
|
char coor_names(num_dim, len_name) ;
|
|
float nattrb(num_nodes, num_att_in_nblk) ;
|
|
char nattrib_name(num_att_in_nblk, len_name) ;
|
|
int elem_num_map(num_elem) ;
|
|
float attrib1(num_el_in_blk1, num_att_in_blk1) ;
|
|
char attrib_name1(num_att_in_blk1, len_name) ;
|
|
int connect1(num_el_in_blk1, num_nod_per_el1) ;
|
|
connect1:elem_type = "bar" ;
|
|
float attrib2(num_el_in_blk2, num_att_in_blk2) ;
|
|
char attrib_name2(num_att_in_blk2, len_name) ;
|
|
int connect2(num_el_in_blk2, num_nod_per_el2) ;
|
|
connect2:elem_type = "bar" ;
|
|
int connect3(num_el_in_blk3, num_nod_per_el3) ;
|
|
connect3:elem_type = "point" ;
|
|
int eb_prop2(num_el_blk) ;
|
|
eb_prop2:name = "DENSITY" ;
|
|
int node_ns1(num_nod_ns1) ;
|
|
float dist_fact_ns1(num_nod_ns1) ;
|
|
int node_ns2(num_nod_ns2) ;
|
|
float dist_fact_ns2(num_nod_ns2) ;
|
|
int ns_prop2(num_node_sets) ;
|
|
ns_prop2:name = "FACE" ;
|
|
int ns_prop3(num_node_sets) ;
|
|
ns_prop3:name = "VELOCITY" ;
|
|
float nsattrb1(num_nod_ns1, num_att_in_ns1) ;
|
|
char nsattrib_name1(num_att_in_ns1, len_name) ;
|
|
int elem_ss1(num_side_ss1) ;
|
|
int side_ss1(num_side_ss1) ;
|
|
float dist_fact_ss1(num_df_ss1) ;
|
|
int elem_ss2(num_side_ss2) ;
|
|
int side_ss2(num_side_ss2) ;
|
|
float dist_fact_ss2(num_df_ss2) ;
|
|
char qa_records(num_qa_rec, four, len_string) ;
|
|
char info_records(num_info, len_line) ;
|
|
char name_nod_var(num_nod_var, len_name) ;
|
|
float vals_nod_var1(time_step, num_nodes) ;
|
|
float vals_nod_var2(time_step, num_nodes) ;
|
|
char name_elem_var(num_elem_var, len_name) ;
|
|
char name_nset_var(num_nset_var, len_name) ;
|
|
float vals_elem_var1eb1(time_step, num_el_in_blk1) ;
|
|
float vals_elem_var2eb1(time_step, num_el_in_blk1) ;
|
|
float vals_elem_var3eb1(time_step, num_el_in_blk1) ;
|
|
float vals_elem_var1eb2(time_step, num_el_in_blk2) ;
|
|
float vals_elem_var2eb2(time_step, num_el_in_blk2) ;
|
|
float vals_elem_var3eb2(time_step, num_el_in_blk2) ;
|
|
float vals_elem_var1eb3(time_step, num_el_in_blk3) ;
|
|
float vals_elem_var2eb3(time_step, num_el_in_blk3) ;
|
|
float vals_elem_var3eb3(time_step, num_el_in_blk3) ;
|
|
int elem_var_tab(num_el_blk, num_elem_var) ;
|
|
float vals_nset_var1ns1(time_step, num_nod_ns1) ;
|
|
float vals_nset_var1ns2(time_step, num_nod_ns2) ;
|
|
float vals_nset_var2ns1(time_step, num_nod_ns1) ;
|
|
float vals_nset_var2ns2(time_step, num_nod_ns2) ;
|
|
float vals_nset_var3ns1(time_step, num_nod_ns1) ;
|
|
float vals_nset_var3ns2(time_step, num_nod_ns2) ;
|
|
|
|
// global attributes:
|
|
:file_size = 1 ;
|
|
:title = "This is a test" ;
|
|
data:
|
|
|
|
time_whole = 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1 ;
|
|
|
|
eb_status = 1, 1, 1 ;
|
|
|
|
eb_prop1 = 10, 20, 30 ;
|
|
|
|
ns_status = 1, 1 ;
|
|
|
|
ns_prop1 = 20, 21 ;
|
|
|
|
ss_status = 1, 1 ;
|
|
|
|
ss_prop1 = 1, 2 ;
|
|
|
|
coordx = 1, 1.1052, 1.2214, 1.3499, 1.4918, 1.6487, 1.8221, 2.0138, 2.2255,
|
|
2.4596 ;
|
|
|
|
eb_names =
|
|
"left_side",
|
|
"right_side",
|
|
"center" ;
|
|
|
|
ns_names =
|
|
"all_odd_nodes",
|
|
"some_even_nodes" ;
|
|
|
|
ss_names =
|
|
"left_boundary",
|
|
"right_boundary" ;
|
|
|
|
coor_names =
|
|
"xcoor" ;
|
|
|
|
nattrb =
|
|
1,
|
|
1.1052,
|
|
1.2214,
|
|
1.3499,
|
|
1.4918,
|
|
1.6487,
|
|
1.8221,
|
|
2.0138,
|
|
2.2255,
|
|
2.4596 ;
|
|
|
|
nattrib_name =
|
|
"Node_attr_1" ;
|
|
|
|
elem_num_map = 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 ;
|
|
|
|
attrib1 =
|
|
0,
|
|
3.1416,
|
|
6.2832,
|
|
9.4248 ;
|
|
|
|
attrib_name1 =
|
|
"THICKNESS" ;
|
|
|
|
connect1 =
|
|
1, 2,
|
|
2, 3,
|
|
3, 4,
|
|
4, 5 ;
|
|
|
|
attrib2 =
|
|
12.566,
|
|
15.708,
|
|
18.85,
|
|
21.991,
|
|
25.133 ;
|
|
|
|
attrib_name2 =
|
|
"WIDTH" ;
|
|
|
|
connect2 =
|
|
5, 6,
|
|
6, 7,
|
|
7, 8,
|
|
8, 9,
|
|
9, 10 ;
|
|
|
|
connect3 =
|
|
5 ;
|
|
|
|
eb_prop2 = 1, 10, 34 ;
|
|
|
|
node_ns1 = 1, 3, 5, 7, 9 ;
|
|
|
|
dist_fact_ns1 = 1, 2, 3, 4, 5 ;
|
|
|
|
node_ns2 = 2, 4, 6 ;
|
|
|
|
dist_fact_ns2 = 1, 2, 3 ;
|
|
|
|
ns_prop2 = 4, 5 ;
|
|
|
|
ns_prop3 = 1000, 2000 ;
|
|
|
|
nsattrb1 =
|
|
1,
|
|
1.1052,
|
|
1.2214,
|
|
1.3499,
|
|
1.4918 ;
|
|
|
|
nsattrib_name1 =
|
|
"Nodeset_attribute" ;
|
|
|
|
elem_ss1 = 1 ;
|
|
|
|
side_ss1 = 1 ;
|
|
|
|
dist_fact_ss1 = 2 ;
|
|
|
|
elem_ss2 = 9 ;
|
|
|
|
side_ss2 = 2 ;
|
|
|
|
dist_fact_ss2 = 3 ;
|
|
|
|
qa_records =
|
|
"TESTWT",
|
|
"testwt",
|
|
"07/07/93",
|
|
"15:41:33",
|
|
"",
|
|
" ",
|
|
"",
|
|
" " ;
|
|
|
|
info_records =
|
|
"This is the first information record.",
|
|
"",
|
|
" " ;
|
|
|
|
name_nod_var =
|
|
"node_variable_a_very_long_name_0",
|
|
"nod_var1" ;
|
|
|
|
vals_nod_var1 =
|
|
1.01, 1.02, 1.03, 1.04, 1.05, 1.06, 1.07, 1.08, 1.09, 1.1,
|
|
1.02, 1.04, 1.06, 1.08, 1.1, 1.12, 1.14, 1.16, 1.18, 1.2,
|
|
1.03, 1.06, 1.09, 1.12, 1.15, 1.18, 1.21, 1.24, 1.27, 1.3,
|
|
1.04, 1.08, 1.12, 1.16, 1.2, 1.24, 1.28, 1.32, 1.36, 1.4,
|
|
1.05, 1.1, 1.15, 1.2, 1.25, 1.3, 1.35, 1.4, 1.45, 1.5,
|
|
1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6,
|
|
1.07, 1.14, 1.21, 1.28, 1.35, 1.42, 1.49, 1.56, 1.63, 1.7,
|
|
1.08, 1.16, 1.24, 1.32, 1.4, 1.48, 1.56, 1.64, 1.72, 1.8,
|
|
1.09, 1.18, 1.27, 1.36, 1.45, 1.54, 1.63, 1.72, 1.81, 1.9,
|
|
1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2 ;
|
|
|
|
vals_nod_var2 =
|
|
2.01, 2.02, 2.03, 2.04, 2.05, 2.06, 2.07, 2.08, 2.09, 2.1,
|
|
2.02, 2.04, 2.06, 2.08, 2.1, 2.12, 2.14, 2.16, 2.18, 2.2,
|
|
2.03, 2.06, 2.09, 2.12, 2.15, 2.18, 2.21, 2.24, 2.27, 2.3,
|
|
2.04, 2.08, 2.12, 2.16, 2.2, 2.24, 2.28, 2.32, 2.36, 2.4,
|
|
2.05, 2.1, 2.15, 2.2, 2.25, 2.3, 2.35, 2.4, 2.45, 2.5,
|
|
2.06, 2.12, 2.18, 2.24, 2.3, 2.36, 2.42, 2.48, 2.54, 2.6,
|
|
2.07, 2.14, 2.21, 2.28, 2.35, 2.42, 2.49, 2.56, 2.63, 2.7,
|
|
2.08, 2.16, 2.24, 2.32, 2.4, 2.48, 2.56, 2.64, 2.72, 2.8,
|
|
2.09, 2.18, 2.27, 2.36, 2.45, 2.54, 2.63, 2.72, 2.81, 2.9,
|
|
2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3 ;
|
|
|
|
name_elem_var =
|
|
"this_variable_name_is_short",
|
|
"this_variable_name_is_just_right",
|
|
"this_variable_name_is_tooooo_long" ;
|
|
|
|
name_nset_var =
|
|
"ns_var0",
|
|
"ns_var1",
|
|
"ns_var2" ;
|
|
|
|
vals_elem_var1eb1 =
|
|
4.01, 4.02, 4.03, 4.04,
|
|
4.02, 4.04, 4.06, 4.08,
|
|
4.03, 4.06, 4.09, 4.12,
|
|
4.04, 4.08, 4.12, 4.16,
|
|
4.05, 4.1, 4.15, 4.2,
|
|
4.06, 4.12, 4.18, 4.24,
|
|
4.07, 4.14, 4.21, 4.28,
|
|
4.08, 4.16, 4.24, 4.32,
|
|
4.09, 4.18, 4.27, 4.36,
|
|
4.1, 4.2, 4.3, 4.4 ;
|
|
|
|
vals_elem_var2eb1 =
|
|
5.01, 5.02, 5.03, 5.04,
|
|
5.02, 5.04, 5.06, 5.08,
|
|
5.03, 5.06, 5.09, 5.12,
|
|
5.04, 5.08, 5.12, 5.16,
|
|
5.05, 5.1, 5.15, 5.2,
|
|
5.06, 5.12, 5.18, 5.24,
|
|
5.07, 5.14, 5.21, 5.28,
|
|
5.08, 5.16, 5.24, 5.32,
|
|
5.09, 5.18, 5.27, 5.36,
|
|
5.1, 5.2, 5.3, 5.4 ;
|
|
|
|
vals_elem_var3eb1 =
|
|
6.01, 6.02, 6.03, 6.04,
|
|
6.02, 6.04, 6.06, 6.08,
|
|
6.03, 6.06, 6.09, 6.12,
|
|
6.04, 6.08, 6.12, 6.16,
|
|
6.05, 6.1, 6.15, 6.2,
|
|
6.06, 6.12, 6.18, 6.24,
|
|
6.07, 6.14, 6.21, 6.28,
|
|
6.08, 6.16, 6.24, 6.32,
|
|
6.09, 6.18, 6.27, 6.36,
|
|
6.1, 6.2, 6.3, 6.4 ;
|
|
|
|
vals_elem_var1eb2 =
|
|
5.01, 5.02, 5.03, 5.04, 5.05,
|
|
5.02, 5.04, 5.06, 5.08, 5.1,
|
|
5.03, 5.06, 5.09, 5.12, 5.15,
|
|
5.04, 5.08, 5.12, 5.16, 5.2,
|
|
5.05, 5.1, 5.15, 5.2, 5.25,
|
|
5.06, 5.12, 5.18, 5.24, 5.3,
|
|
5.07, 5.14, 5.21, 5.28, 5.35,
|
|
5.08, 5.16, 5.24, 5.32, 5.4,
|
|
5.09, 5.18, 5.27, 5.36, 5.45,
|
|
5.1, 5.2, 5.3, 5.4, 5.5 ;
|
|
|
|
vals_elem_var2eb2 =
|
|
6.01, 6.02, 6.03, 6.04, 6.05,
|
|
6.02, 6.04, 6.06, 6.08, 6.1,
|
|
6.03, 6.06, 6.09, 6.12, 6.15,
|
|
6.04, 6.08, 6.12, 6.16, 6.2,
|
|
6.05, 6.1, 6.15, 6.2, 6.25,
|
|
6.06, 6.12, 6.18, 6.24, 6.3,
|
|
6.07, 6.14, 6.21, 6.28, 6.35,
|
|
6.08, 6.16, 6.24, 6.32, 6.4,
|
|
6.09, 6.18, 6.27, 6.36, 6.45,
|
|
6.1, 6.2, 6.3, 6.4, 6.5 ;
|
|
|
|
vals_elem_var3eb2 =
|
|
7.01, 7.02, 7.03, 7.04, 7.05,
|
|
7.02, 7.04, 7.06, 7.08, 7.1,
|
|
7.03, 7.06, 7.09, 7.12, 7.15,
|
|
7.04, 7.08, 7.12, 7.16, 7.2,
|
|
7.05, 7.1, 7.15, 7.2, 7.25,
|
|
7.06, 7.12, 7.18, 7.24, 7.3,
|
|
7.07, 7.14, 7.21, 7.28, 7.35,
|
|
7.08, 7.16, 7.24, 7.32, 7.4,
|
|
7.09, 7.18, 7.27, 7.36, 7.45,
|
|
7.1, 7.2, 7.3, 7.4, 7.5 ;
|
|
|
|
vals_elem_var1eb3 =
|
|
6.01,
|
|
6.02,
|
|
6.03,
|
|
6.04,
|
|
6.05,
|
|
6.06,
|
|
6.07,
|
|
6.08,
|
|
6.09,
|
|
6.1 ;
|
|
|
|
vals_elem_var2eb3 =
|
|
7.01,
|
|
7.02,
|
|
7.03,
|
|
7.04,
|
|
7.05,
|
|
7.06,
|
|
7.07,
|
|
7.08,
|
|
7.09,
|
|
7.1 ;
|
|
|
|
vals_elem_var3eb3 =
|
|
8.01,
|
|
8.02,
|
|
8.03,
|
|
8.04,
|
|
8.05,
|
|
8.06,
|
|
8.07,
|
|
8.08,
|
|
8.09,
|
|
8.1 ;
|
|
|
|
elem_var_tab =
|
|
1, 1, 1,
|
|
1, 1, 1,
|
|
1, 1, 1 ;
|
|
|
|
vals_nset_var1ns1 =
|
|
8.01, 8.02, 8.03, 8.04, 8.05,
|
|
8.02, 8.04, 8.06, 8.08, 8.1,
|
|
8.03, 8.06, 8.09, 8.12, 8.15,
|
|
8.04, 8.08, 8.12, 8.16, 8.2,
|
|
8.05, 8.1, 8.15, 8.2, 8.25,
|
|
8.06, 8.12, 8.18, 8.24, 8.3,
|
|
8.07, 8.14, 8.21, 8.28, 8.35,
|
|
8.08, 8.16, 8.24, 8.32, 8.4,
|
|
8.09, 8.18, 8.27, 8.36, 8.45,
|
|
8.1, 8.2, 8.3, 8.4, 8.5 ;
|
|
|
|
vals_nset_var1ns2 =
|
|
9.01, 9.02, 9.03,
|
|
9.02, 9.04, 9.06,
|
|
9.03, 9.06, 9.09,
|
|
9.04, 9.08, 9.12,
|
|
9.05, 9.1, 9.15,
|
|
9.06, 9.12, 9.18,
|
|
9.07, 9.14, 9.21,
|
|
9.08, 9.16, 9.24,
|
|
9.09, 9.18, 9.27,
|
|
9.1, 9.2, 9.3 ;
|
|
|
|
vals_nset_var2ns1 =
|
|
9.01, 9.02, 9.03, 9.04, 9.05,
|
|
9.02, 9.04, 9.06, 9.08, 9.1,
|
|
9.03, 9.06, 9.09, 9.12, 9.15,
|
|
9.04, 9.08, 9.12, 9.16, 9.2,
|
|
9.05, 9.1, 9.15, 9.2, 9.25,
|
|
9.06, 9.12, 9.18, 9.24, 9.3,
|
|
9.07, 9.14, 9.21, 9.28, 9.35,
|
|
9.08, 9.16, 9.24, 9.32, 9.4,
|
|
9.09, 9.18, 9.27, 9.36, 9.45,
|
|
9.1, 9.2, 9.3, 9.4, 9.5 ;
|
|
|
|
vals_nset_var2ns2 =
|
|
10.01, 10.02, 10.03,
|
|
10.02, 10.04, 10.06,
|
|
10.03, 10.06, 10.09,
|
|
10.04, 10.08, 10.12,
|
|
10.05, 10.1, 10.15,
|
|
10.06, 10.12, 10.18,
|
|
10.07, 10.14, 10.21,
|
|
10.08, 10.16, 10.24,
|
|
10.09, 10.18, 10.27,
|
|
10.1, 10.2, 10.3 ;
|
|
|
|
vals_nset_var3ns1 =
|
|
10.01, 10.02, 10.03, 10.04, 10.05,
|
|
10.02, 10.04, 10.06, 10.08, 10.1,
|
|
10.03, 10.06, 10.09, 10.12, 10.15,
|
|
10.04, 10.08, 10.12, 10.16, 10.2,
|
|
10.05, 10.1, 10.15, 10.2, 10.25,
|
|
10.06, 10.12, 10.18, 10.24, 10.3,
|
|
10.07, 10.14, 10.21, 10.28, 10.35,
|
|
10.08, 10.16, 10.24, 10.32, 10.4,
|
|
10.09, 10.18, 10.27, 10.36, 10.45,
|
|
10.1, 10.2, 10.3, 10.4, 10.5 ;
|
|
|
|
vals_nset_var3ns2 =
|
|
11.01, 11.02, 11.03,
|
|
11.02, 11.04, 11.06,
|
|
11.03, 11.06, 11.09,
|
|
11.04, 11.08, 11.12,
|
|
11.05, 11.1, 11.15,
|
|
11.06, 11.12, 11.18,
|
|
11.07, 11.14, 11.21,
|
|
11.08, 11.16, 11.24,
|
|
11.09, 11.18, 11.27,
|
|
11.1, 11.2, 11.3 ;
|
|
}
|
|
|