From 523cc201d1ea9a321b46e4229b23a477dd185ce4 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson Date: Sun, 30 Jun 2024 17:37:22 +0000 Subject: [PATCH] add basic tests and examples --- examples/B717_wingbox.bdf | 1233 ++++++++++++++++++++++++++++++++++++ examples/getSetCoords.py | 13 + examples/rotate.py | 13 + examples/rotate.sh | 10 + tests/test_bdfutilities.py | 42 ++ 5 files changed, 1311 insertions(+) create mode 100644 examples/B717_wingbox.bdf create mode 100644 examples/getSetCoords.py create mode 100644 examples/rotate.py create mode 100644 examples/rotate.sh create mode 100644 tests/test_bdfutilities.py diff --git a/examples/B717_wingbox.bdf b/examples/B717_wingbox.bdf new file mode 100644 index 0000000..b6851bb --- /dev/null +++ b/examples/B717_wingbox.bdf @@ -0,0 +1,1233 @@ +$ Input file generated by pyLayout +SOL 103 +CEND +BEGIN BULK +GRID* 1 0 1.250000000e+00 2.795225161e-01* +* 1.000000000e-02 0 0 +GRID* 2 0 1.250000000e+00 9.422159025e-02* +* 1.000000000e-02 0 0 +GRID* 3 0 1.250000000e+00-9.107933563e-02* +* 1.000000000e-02 0 0 +GRID* 4 0 1.250000000e+00-2.763802615e-01* +* 1.000000000e-02 0 0 +GRID* 5 0 1.937500000e+00 3.118059906e-01* +* 1.000000000e-02 0 0 +GRID* 6 0 1.937500000e+00 1.100075519e-01* +* 1.000000000e-02 0 0 +GRID* 7 0 1.937500000e+00-9.179088678e-02* +* 1.000000000e-02 0 0 +GRID* 8 0 1.937500000e+00-2.935893255e-01* +* 1.000000000e-02 0 0 +GRID* 9 0 2.625000000e+00 3.063913066e-01* +* 1.000000000e-02 0 0 +GRID* 10 0 2.625000000e+00 1.249268499e-01* +* 1.000000000e-02 0 0 +GRID* 11 0 2.625000000e+00-5.653760683e-02* +* 1.000000000e-02 0 0 +GRID* 12 0 2.625000000e+00-2.380020635e-01* +* 1.000000000e-02 0 0 +GRID* 13 0 3.312500000e+00 2.587895165e-01* +* 1.000000000e-02 0 0 +GRID* 14 0 3.312500000e+00 1.247432480e-01* +* 1.000000000e-02 0 0 +GRID* 15 0 3.312500000e+00-9.303020469e-03* +* 1.000000000e-02 0 0 +GRID* 16 0 3.312500000e+00-1.433492890e-01* +* 1.000000000e-02 0 0 +GRID* 17 0 4.000000000e+00 1.743207538e-01* +* 1.000000000e-02 0 0 +GRID* 18 0 4.000000000e+00 9.960751669e-02* +* 1.000000000e-02 0 0 +GRID* 19 0 4.000000000e+00 2.489427954e-02* +* 1.000000000e-02 0 0 +GRID* 20 0 4.000000000e+00-4.981895761e-02* +* 1.000000000e-02 0 0 +GRID* 21 0 1.250000000e+00 2.372638263e-01* +* 7.550000000e-01 0 0 +GRID* 22 0 1.250000000e+00 7.923697094e-02* +* 7.550000000e-01 0 0 +GRID* 23 0 1.250000000e+00-7.878988443e-02* +* 7.550000000e-01 0 0 +GRID* 24 0 1.250000000e+00-2.368167398e-01* +* 7.550000000e-01 0 0 +GRID* 25 0 1.937500000e+00 2.890330333e-01* +* 7.550000000e-01 0 0 +GRID* 26 0 1.937500000e+00 9.856944448e-02* +* 7.550000000e-01 0 0 +GRID* 27 0 1.937500000e+00-9.189414432e-02* +* 7.550000000e-01 0 0 +GRID* 28 0 1.937500000e+00-2.823577331e-01* +* 7.550000000e-01 0 0 +GRID* 29 0 2.625000000e+00 3.022078844e-01* +* 7.550000000e-01 0 0 +GRID* 30 0 2.625000000e+00 1.145172114e-01* +* 7.550000000e-01 0 0 +GRID* 31 0 2.625000000e+00-7.317346168e-02* +* 7.550000000e-01 0 0 +GRID* 32 0 2.625000000e+00-2.608641347e-01* +* 7.550000000e-01 0 0 +GRID* 33 0 3.312500000e+00 2.732317977e-01* +* 7.550000000e-01 0 0 +GRID* 34 0 3.312500000e+00 1.228457490e-01* +* 7.550000000e-01 0 0 +GRID* 35 0 3.312500000e+00-2.754029972e-02* +* 7.550000000e-01 0 0 +GRID* 36 0 3.312500000e+00-1.779263484e-01* +* 7.550000000e-01 0 0 +GRID* 37 0 4.000000000e+00 2.017718160e-01* +* 7.550000000e-01 0 0 +GRID* 38 0 4.000000000e+00 1.079762327e-01* +* 7.550000000e-01 0 0 +GRID* 39 0 4.000000000e+00 1.418064948e-02* +* 7.550000000e-01 0 0 +GRID* 40 0 4.000000000e+00-7.961493376e-02* +* 7.550000000e-01 0 0 +GRID* 41 0 1.250000000e+00 1.732894229e-01* +* 1.500000000e+00 0 0 +GRID* 42 0 1.250000000e+00 5.734554819e-02* +* 1.500000000e+00 0 0 +GRID* 43 0 1.250000000e+00-5.859832651e-02* +* 1.500000000e+00 0 0 +GRID* 44 0 1.250000000e+00-1.745422012e-01* +* 1.500000000e+00 0 0 +GRID* 45 0 1.937500000e+00 2.573965737e-01* +* 1.500000000e+00 0 0 +GRID* 46 0 1.937500000e+00 8.672461821e-02* +* 1.500000000e+00 0 0 +GRID* 47 0 1.937500000e+00-8.394733728e-02* +* 1.500000000e+00 0 0 +GRID* 48 0 1.937500000e+00-2.546192928e-01* +* 1.500000000e+00 0 0 +GRID* 49 0 2.625000000e+00 2.891825729e-01* +* 1.500000000e+00 0 0 +GRID* 50 0 2.625000000e+00 1.026003813e-01* +* 1.500000000e+00 0 0 +GRID* 51 0 2.625000000e+00-8.398181039e-02* +* 1.500000000e+00 0 0 +GRID* 52 0 2.625000000e+00-2.705640020e-01* +* 1.500000000e+00 0 0 +GRID* 53 0 3.312500000e+00 2.799551985e-01* +* 1.500000000e+00 0 0 +GRID* 54 0 3.312500000e+00 1.167039049e-01* +* 1.500000000e+00 0 0 +GRID* 55 0 3.312500000e+00-4.654738865e-02* +* 1.500000000e+00 0 0 +GRID* 56 0 3.312500000e+00-2.097986822e-01* +* 1.500000000e+00 0 0 +GRID* 57 0 4.000000000e+00 2.252587846e-01* +* 1.500000000e+00 0 0 +GRID* 58 0 4.000000000e+00 1.125306101e-01* +* 1.500000000e+00 0 0 +GRID* 59 0 4.000000000e+00-1.975644771e-04* +* 1.500000000e+00 0 0 +GRID* 60 0 4.000000000e+00-1.129257390e-01* +* 1.500000000e+00 0 0 +GRID* 61 0 4.468750000e+00 1.184304816e-01* +* 7.750500000e+00 0 0 +GRID* 62 0 4.468750000e+00 3.921196093e-02* +* 7.750500000e+00 0 0 +GRID* 63 0 4.468750000e+00-4.000655974e-02* +* 7.750500000e+00 0 0 +GRID* 64 0 4.468750000e+00-1.192250804e-01* +* 7.750500000e+00 0 0 +GRID* 65 0 4.906250000e+00 1.706747167e-01* +* 7.750500000e+00 0 0 +GRID* 66 0 4.906250000e+00 5.751276766e-02* +* 7.750500000e+00 0 0 +GRID* 67 0 4.906250000e+00-5.564918137e-02* +* 7.750500000e+00 0 0 +GRID* 68 0 4.906250000e+00-1.688111304e-01* +* 7.750500000e+00 0 0 +GRID* 69 0 5.343750000e+00 1.912120240e-01* +* 7.750500000e+00 0 0 +GRID* 70 0 5.343750000e+00 6.759417919e-02* +* 7.750500000e+00 0 0 +GRID* 71 0 5.343750000e+00-5.602366566e-02* +* 7.750500000e+00 0 0 +GRID* 72 0 5.343750000e+00-1.796415105e-01* +* 7.750500000e+00 0 0 +GRID* 73 0 5.781250000e+00 1.867860778e-01* +* 7.750500000e+00 0 0 +GRID* 74 0 5.781250000e+00 7.688793476e-02* +* 7.750500000e+00 0 0 +GRID* 75 0 5.781250000e+00-3.301020832e-02* +* 7.750500000e+00 0 0 +GRID* 76 0 5.781250000e+00-1.429083514e-01* +* 7.750500000e+00 0 0 +GRID* 77 0 6.218750000e+00 1.545145186e-01* +* 7.750500000e+00 0 0 +GRID* 78 0 6.218750000e+00 7.567813408e-02* +* 7.750500000e+00 0 0 +GRID* 79 0 6.218750000e+00-3.158250463e-03* +* 7.750500000e+00 0 0 +GRID* 80 0 6.218750000e+00-8.199463501e-02* +* 7.750500000e+00 0 0 +GRID* 81 0 7.687500000e+00 6.294987309e-02* +* 1.400100000e+01 0 0 +GRID* 82 0 7.687500000e+00 2.088595017e-02* +* 1.400100000e+01 0 0 +GRID* 83 0 7.687500000e+00-2.117797276e-02* +* 1.400100000e+01 0 0 +GRID* 84 0 7.687500000e+00-6.324189568e-02* +* 1.400100000e+01 0 0 +GRID* 85 0 7.875000000e+00 8.344967163e-02* +* 1.400100000e+01 0 0 +GRID* 86 0 7.875000000e+00 2.813688275e-02* +* 1.400100000e+01 0 0 +GRID* 87 0 7.875000000e+00-2.717590614e-02* +* 1.400100000e+01 0 0 +GRID* 88 0 7.875000000e+00-8.248869502e-02* +* 1.400100000e+01 0 0 +GRID* 89 0 8.062500000e+00 9.268699842e-02* +* 1.400100000e+01 0 0 +GRID* 90 0 8.062500000e+00 3.258120435e-02* +* 1.400100000e+01 0 0 +GRID* 91 0 8.062500000e+00-2.752458972e-02* +* 1.400100000e+01 0 0 +GRID* 92 0 8.062500000e+00-8.763038380e-02* +* 1.400100000e+01 0 0 +GRID* 93 0 8.250000000e+00 9.293959118e-02* +* 1.400100000e+01 0 0 +GRID* 94 0 8.250000000e+00 3.682124841e-02* +* 1.400100000e+01 0 0 +GRID* 95 0 8.250000000e+00-1.929709437e-02* +* 1.400100000e+01 0 0 +GRID* 96 0 8.250000000e+00-7.541543715e-02* +* 1.400100000e+01 0 0 +GRID* 97 0 8.437500000e+00 8.233647011e-02* +* 1.400100000e+01 0 0 +GRID* 98 0 8.437500000e+00 3.793250339e-02* +* 1.400100000e+01 0 0 +GRID* 99 0 8.437500000e+00-6.471463342e-03* +* 1.400100000e+01 0 0 +GRID* 100 0 8.437500000e+00-5.087543007e-02* +* 1.400100000e+01 0 0 +GRID* 101 0 1.250000000e+00 2.722481608e-01* +* 1.590000000e-01 0 0 +GRID* 102 0 1.250000000e+00 2.644407976e-01* +* 3.080000000e-01 0 0 +GRID* 103 0 1.250000000e+00 2.559962146e-01* +* 4.570000000e-01 0 0 +GRID* 104 0 1.250000000e+00 2.469670034e-01* +* 6.060000000e-01 0 0 +GRID* 105 0 1.250000000e+00 9.160285982e-02* +* 1.590000000e-01 0 0 +GRID* 106 0 1.250000000e+00 8.882474522e-02* +* 3.080000000e-01 0 0 +GRID* 107 0 1.250000000e+00 8.582038753e-02* +* 4.570000000e-01 0 0 +GRID* 108 0 1.250000000e+00 8.262356769e-02* +* 6.060000000e-01 0 0 +GRID* 109 0 1.250000000e+00-8.904244116e-02* +* 1.590000000e-01 0 0 +GRID* 110 0 1.250000000e+00-8.679130713e-02* +* 3.080000000e-01 0 0 +GRID* 111 0 1.250000000e+00-8.435543955e-02* +* 4.570000000e-01 0 0 +GRID* 112 0 1.250000000e+00-8.171986797e-02* +* 6.060000000e-01 0 0 +GRID* 113 0 1.250000000e+00-2.696877421e-01* +* 1.590000000e-01 0 0 +GRID* 114 0 1.250000000e+00-2.624073595e-01* +* 3.080000000e-01 0 0 +GRID* 115 0 1.250000000e+00-2.545312666e-01* +* 4.570000000e-01 0 0 +GRID* 116 0 1.250000000e+00-2.460633036e-01* +* 6.060000000e-01 0 0 +GRID* 117 0 1.250000000e+00 2.263257041e-01* +* 9.040000000e-01 0 0 +GRID* 118 0 1.250000000e+00 2.144680333e-01* +* 1.053000000e+00 0 0 +GRID* 119 0 1.250000000e+00 2.016939985e-01* +* 1.202000000e+00 0 0 +GRID* 120 0 1.250000000e+00 1.880134284e-01* +* 1.351000000e+00 0 0 +GRID* 121 0 1.250000000e+00 7.542914959e-02* +* 9.040000000e-01 0 0 +GRID* 122 0 1.250000000e+00 7.132959400e-02* +* 1.053000000e+00 0 0 +GRID* 123 0 1.250000000e+00 6.694813899e-02* +* 1.202000000e+00 0 0 +GRID* 124 0 1.250000000e+00 6.230105663e-02* +* 1.351000000e+00 0 0 +GRID* 125 0 1.250000000e+00-7.546740490e-02* +* 9.040000000e-01 0 0 +GRID* 126 0 1.250000000e+00-7.180884529e-02* +* 1.053000000e+00 0 0 +GRID* 127 0 1.250000000e+00-6.779772054e-02* +* 1.202000000e+00 0 0 +GRID* 128 0 1.250000000e+00-6.341131509e-02* +* 1.351000000e+00 0 0 +GRID* 129 0 1.250000000e+00-2.263639594e-01* +* 9.040000000e-01 0 0 +GRID* 130 0 1.250000000e+00-2.149472846e-01* +* 1.053000000e+00 0 0 +GRID* 131 0 1.250000000e+00-2.025435801e-01* +* 1.202000000e+00 0 0 +GRID* 132 0 1.250000000e+00-1.891236868e-01* +* 1.351000000e+00 0 0 +GRID* 133 0 1.893750000e+00 1.623176346e-01* +* 2.750100000e+00 0 0 +GRID* 134 0 2.537500000e+00 1.513458464e-01* +* 4.000200000e+00 0 0 +GRID* 135 0 3.181250000e+00 1.403740581e-01* +* 5.250300000e+00 0 0 +GRID* 136 0 3.825000000e+00 1.294022699e-01* +* 6.500400000e+00 0 0 +GRID* 137 0 1.893750000e+00 5.371883074e-02* +* 2.750100000e+00 0 0 +GRID* 138 0 2.537500000e+00 5.009211329e-02* +* 4.000200000e+00 0 0 +GRID* 139 0 3.181250000e+00 4.646539583e-02* +* 5.250300000e+00 0 0 +GRID* 140 0 3.825000000e+00 4.283867838e-02* +* 6.500400000e+00 0 0 +GRID* 141 0 1.893750000e+00-5.487997316e-02* +* 2.750100000e+00 0 0 +GRID* 142 0 2.537500000e+00-5.116161980e-02* +* 4.000200000e+00 0 0 +GRID* 143 0 3.181250000e+00-4.744326645e-02* +* 5.250300000e+00 0 0 +GRID* 144 0 3.825000000e+00-4.372491310e-02* +* 6.500400000e+00 0 0 +GRID* 145 0 1.893750000e+00-1.634787771e-01* +* 2.750100000e+00 0 0 +GRID* 146 0 2.537500000e+00-1.524153529e-01* +* 4.000200000e+00 0 0 +GRID* 147 0 3.181250000e+00-1.413519287e-01* +* 5.250300000e+00 0 0 +GRID* 148 0 3.825000000e+00-1.302885046e-01* +* 6.500400000e+00 0 0 +GRID* 149 0 5.112500000e+00 1.074586933e-01* +* 9.000600000e+00 0 0 +GRID* 150 0 5.756250000e+00 9.648690509e-02* +* 1.025070000e+01 0 0 +GRID* 151 0 6.400000000e+00 8.551511683e-02* +* 1.150080000e+01 0 0 +GRID* 152 0 7.043750000e+00 7.443964756e-02* +* 1.275090000e+01 0 0 +GRID* 153 0 5.112500000e+00 3.558524348e-02* +* 9.000600000e+00 0 0 +GRID* 154 0 5.756250000e+00 3.195852603e-02* +* 1.025070000e+01 0 0 +GRID* 155 0 6.400000000e+00 2.833180857e-02* +* 1.150080000e+01 0 0 +GRID* 156 0 7.043750000e+00 2.468313147e-02* +* 1.275090000e+01 0 0 +GRID* 157 0 5.112500000e+00-3.628820639e-02* +* 9.000600000e+00 0 0 +GRID* 158 0 5.756250000e+00-3.256985304e-02* +* 1.025070000e+01 0 0 +GRID* 159 0 6.400000000e+00-2.885149968e-02* +* 1.150080000e+01 0 0 +GRID* 160 0 7.043750000e+00-2.507338463e-02* +* 1.275090000e+01 0 0 +GRID* 161 0 5.112500000e+00-1.081616563e-01* +* 9.000600000e+00 0 0 +GRID* 162 0 5.756250000e+00-9.709823210e-02* +* 1.025070000e+01 0 0 +GRID* 163 0 6.400000000e+00-8.603480794e-02* +* 1.150080000e+01 0 0 +GRID* 164 0 7.043750000e+00-7.482990072e-02* +* 1.275090000e+01 0 0 +GRID* 165 0 2.625000000e+00 3.062089397e-01* +* 1.590000000e-01 0 0 +GRID* 166 0 2.625000000e+00 3.057034686e-01* +* 3.080000000e-01 0 0 +GRID* 167 0 2.625000000e+00 3.049524390e-01* +* 4.570000000e-01 0 0 +GRID* 168 0 2.625000000e+00 3.036874180e-01* +* 6.060000000e-01 0 0 +GRID* 169 0 2.625000000e+00 1.230536913e-01* +* 1.590000000e-01 0 0 +GRID* 170 0 2.625000000e+00 1.210546090e-01* +* 3.080000000e-01 0 0 +GRID* 171 0 2.625000000e+00 1.189942395e-01* +* 4.570000000e-01 0 0 +GRID* 172 0 2.625000000e+00 1.167785524e-01* +* 6.060000000e-01 0 0 +GRID* 173 0 2.625000000e+00-6.010155718e-02* +* 1.590000000e-01 0 0 +GRID* 174 0 2.625000000e+00-6.359425068e-02* +* 3.080000000e-01 0 0 +GRID* 175 0 2.625000000e+00-6.696396004e-02* +* 4.570000000e-01 0 0 +GRID* 176 0 2.625000000e+00-7.013031323e-02* +* 6.060000000e-01 0 0 +GRID* 177 0 2.625000000e+00-2.432568056e-01* +* 1.590000000e-01 0 0 +GRID* 178 0 2.625000000e+00-2.482431103e-01* +* 3.080000000e-01 0 0 +GRID* 179 0 2.625000000e+00-2.529221596e-01* +* 4.570000000e-01 0 0 +GRID* 180 0 2.625000000e+00-2.570391789e-01* +* 6.060000000e-01 0 0 +GRID* 181 0 2.625000000e+00 3.003289573e-01* +* 9.040000000e-01 0 0 +GRID* 182 0 2.625000000e+00 2.980542018e-01* +* 1.053000000e+00 0 0 +GRID* 183 0 2.625000000e+00 2.955247564e-01* +* 1.202000000e+00 0 0 +GRID* 184 0 2.625000000e+00 2.925350423e-01* +* 1.351000000e+00 0 0 +GRID* 185 0 2.625000000e+00 1.122022589e-01* +* 9.040000000e-01 0 0 +GRID* 186 0 2.625000000e+00 1.098183435e-01* +* 1.053000000e+00 0 0 +GRID* 187 0 2.625000000e+00 1.074110648e-01* +* 1.202000000e+00 0 0 +GRID* 188 0 2.625000000e+00 1.050108649e-01* +* 1.351000000e+00 0 0 +GRID* 189 0 2.625000000e+00-7.592443963e-02* +* 9.040000000e-01 0 0 +GRID* 190 0 2.625000000e+00-7.841751482e-02* +* 1.053000000e+00 0 0 +GRID* 191 0 2.625000000e+00-8.070262684e-02* +* 1.202000000e+00 0 0 +GRID* 192 0 2.625000000e+00-8.251331249e-02* +* 1.351000000e+00 0 0 +GRID* 193 0 2.625000000e+00-2.640511381e-01* +* 9.040000000e-01 0 0 +GRID* 194 0 2.625000000e+00-2.666533731e-01* +* 1.053000000e+00 0 0 +GRID* 195 0 2.625000000e+00-2.688163185e-01* +* 1.202000000e+00 0 0 +GRID* 196 0 2.625000000e+00-2.700374899e-01* +* 1.351000000e+00 0 0 +GRID* 197 0 3.168750000e+00 2.695884632e-01* +* 2.750100000e+00 0 0 +GRID* 198 0 3.712500000e+00 2.499943534e-01* +* 4.000200000e+00 0 0 +GRID* 199 0 4.256250000e+00 2.304002436e-01* +* 5.250300000e+00 0 0 +GRID* 200 0 4.800000000e+00 2.108061338e-01* +* 6.500400000e+00 0 0 +GRID* 201 0 3.168750000e+00 9.559914086e-02* +* 2.750100000e+00 0 0 +GRID* 202 0 3.712500000e+00 8.859790044e-02* +* 4.000200000e+00 0 0 +GRID* 203 0 4.256250000e+00 8.159666003e-02* +* 5.250300000e+00 0 0 +GRID* 204 0 4.800000000e+00 7.459541961e-02* +* 6.500400000e+00 0 0 +GRID* 205 0 3.168750000e+00-7.839018144e-02* +* 2.750100000e+00 0 0 +GRID* 206 0 3.712500000e+00-7.279855250e-02* +* 4.000200000e+00 0 0 +GRID* 207 0 4.256250000e+00-6.720692355e-02* +* 5.250300000e+00 0 0 +GRID* 208 0 4.800000000e+00-6.161529461e-02* +* 6.500400000e+00 0 0 +GRID* 209 0 3.168750000e+00-2.523795037e-01* +* 2.750100000e+00 0 0 +GRID* 210 0 3.712500000e+00-2.341950054e-01* +* 4.000200000e+00 0 0 +GRID* 211 0 4.256250000e+00-2.160105071e-01* +* 5.250300000e+00 0 0 +GRID* 212 0 4.800000000e+00-1.978260088e-01* +* 6.500400000e+00 0 0 +GRID* 213 0 5.887500000e+00 1.716179143e-01* +* 9.000600000e+00 0 0 +GRID* 214 0 6.431250000e+00 1.520238045e-01* +* 1.025070000e+01 0 0 +GRID* 215 0 6.975000000e+00 1.324296947e-01* +* 1.150080000e+01 0 0 +GRID* 216 0 7.518750000e+00 1.127940705e-01* +* 1.275090000e+01 0 0 +GRID* 217 0 5.887500000e+00 6.059293877e-02* +* 9.000600000e+00 0 0 +GRID* 218 0 6.431250000e+00 5.359169836e-02* +* 1.025070000e+01 0 0 +GRID* 219 0 6.975000000e+00 4.659045794e-02* +* 1.150080000e+01 0 0 +GRID* 220 0 7.518750000e+00 3.958357682e-02* +* 1.275090000e+01 0 0 +GRID* 221 0 5.887500000e+00-5.043203672e-02* +* 9.000600000e+00 0 0 +GRID* 222 0 6.431250000e+00-4.484040777e-02* +* 1.025070000e+01 0 0 +GRID* 223 0 6.975000000e+00-3.924877883e-02* +* 1.150080000e+01 0 0 +GRID* 224 0 7.518750000e+00-3.362691682e-02* +* 1.275090000e+01 0 0 +GRID* 225 0 5.887500000e+00-1.614570122e-01* +* 9.000600000e+00 0 0 +GRID* 226 0 6.431250000e+00-1.432725139e-01* +* 1.025070000e+01 0 0 +GRID* 227 0 6.975000000e+00-1.250880156e-01* +* 1.150080000e+01 0 0 +GRID* 228 0 7.518750000e+00-1.068374105e-01* +* 1.275090000e+01 0 0 +GRID* 229 0 4.000000000e+00 1.800789717e-01* +* 1.590000000e-01 0 0 +GRID* 230 0 4.000000000e+00 1.857345518e-01* +* 3.080000000e-01 0 0 +GRID* 231 0 4.000000000e+00 1.912137752e-01* +* 4.570000000e-01 0 0 +GRID* 232 0 4.000000000e+00 1.965896924e-01* +* 6.060000000e-01 0 0 +GRID* 233 0 4.000000000e+00 1.015856269e-01* +* 1.590000000e-01 0 0 +GRID* 234 0 4.000000000e+00 1.034156828e-01* +* 3.080000000e-01 0 0 +GRID* 235 0 4.000000000e+00 1.050851653e-01* +* 4.570000000e-01 0 0 +GRID* 236 0 4.000000000e+00 1.066159726e-01* +* 6.060000000e-01 0 0 +GRID* 237 0 4.000000000e+00 2.309228205e-02* +* 1.590000000e-01 0 0 +GRID* 238 0 4.000000000e+00 2.109681374e-02* +* 3.080000000e-01 0 0 +GRID* 239 0 4.000000000e+00 1.895655544e-02* +* 4.570000000e-01 0 0 +GRID* 240 0 4.000000000e+00 1.664225277e-02* +* 6.060000000e-01 0 0 +GRID* 241 0 4.000000000e+00-5.540106278e-02* +* 1.590000000e-01 0 0 +GRID* 242 0 4.000000000e+00-6.122205530e-02* +* 3.080000000e-01 0 0 +GRID* 243 0 4.000000000e+00-6.717205446e-02* +* 4.570000000e-01 0 0 +GRID* 244 0 4.000000000e+00-7.333146703e-02* +* 6.060000000e-01 0 0 +GRID* 245 0 4.000000000e+00 2.068623842e-01* +* 9.040000000e-01 0 0 +GRID* 246 0 4.000000000e+00 2.117025498e-01* +* 1.053000000e+00 0 0 +GRID* 247 0 4.000000000e+00 2.164734695e-01* +* 1.202000000e+00 0 0 +GRID* 248 0 4.000000000e+00 2.209065548e-01* +* 1.351000000e+00 0 0 +GRID* 249 0 4.000000000e+00 1.092220066e-01* +* 9.040000000e-01 0 0 +GRID* 250 0 4.000000000e+00 1.102593135e-01* +* 1.053000000e+00 0 0 +GRID* 251 0 4.000000000e+00 1.112163873e-01* +* 1.202000000e+00 0 0 +GRID* 252 0 4.000000000e+00 1.119083009e-01* +* 1.351000000e+00 0 0 +GRID* 253 0 4.000000000e+00 1.158162913e-02* +* 9.040000000e-01 0 0 +GRID* 254 0 4.000000000e+00 8.816077257e-03* +* 1.053000000e+00 0 0 +GRID* 255 0 4.000000000e+00 5.959305109e-03* +* 1.202000000e+00 0 0 +GRID* 256 0 4.000000000e+00 2.910046992e-03* +* 1.351000000e+00 0 0 +GRID* 257 0 4.000000000e+00-8.605874839e-02* +* 9.040000000e-01 0 0 +GRID* 258 0 4.000000000e+00-9.262715902e-02* +* 1.053000000e+00 0 0 +GRID* 259 0 4.000000000e+00-9.929777710e-02* +* 1.202000000e+00 0 0 +GRID* 260 0 4.000000000e+00-1.060882069e-01* +* 1.351000000e+00 0 0 +GRID* 261 0 4.443750000e+00 2.111099314e-01* +* 2.750100000e+00 0 0 +GRID* 262 0 4.887500000e+00 1.969610782e-01* +* 4.000200000e+00 0 0 +GRID* 263 0 5.331250000e+00 1.828122250e-01* +* 5.250300000e+00 0 0 +GRID* 264 0 5.775000000e+00 1.686633718e-01* +* 6.500400000e+00 0 0 +GRID* 265 0 4.443750000e+00 1.051618287e-01* +* 2.750100000e+00 0 0 +GRID* 266 0 4.887500000e+00 9.779090508e-02* +* 4.000200000e+00 0 0 +GRID* 267 0 5.331250000e+00 9.041998141e-02* +* 5.250300000e+00 0 0 +GRID* 268 0 5.775000000e+00 8.304905775e-02* +* 6.500400000e+00 0 0 +GRID* 269 0 4.443750000e+00-7.862739471e-04* +* 2.750100000e+00 0 0 +GRID* 270 0 4.887500000e+00-1.379268076e-03* +* 4.000200000e+00 0 0 +GRID* 271 0 5.331250000e+00-1.972262205e-03* +* 5.250300000e+00 0 0 +GRID* 272 0 5.775000000e+00-2.565256334e-03* +* 6.500400000e+00 0 0 +GRID* 273 0 4.443750000e+00-1.067343766e-01* +* 2.750100000e+00 0 0 +GRID* 274 0 4.887500000e+00-1.005494412e-01* +* 4.000200000e+00 0 0 +GRID* 275 0 5.331250000e+00-9.436450582e-02* +* 5.250300000e+00 0 0 +GRID* 276 0 5.775000000e+00-8.817957041e-02* +* 6.500400000e+00 0 0 +GRID* 277 0 6.662500000e+00 1.403027504e-01* +* 9.000600000e+00 0 0 +GRID* 278 0 7.106250000e+00 1.260264182e-01* +* 1.025070000e+01 0 0 +GRID* 279 0 7.550000000e+00 1.117500860e-01* +* 1.150080000e+01 0 0 +GRID* 280 0 7.993750000e+00 9.731754006e-02* +* 1.275090000e+01 0 0 +GRID* 281 0 6.662500000e+00 6.826493533e-02* +* 9.000600000e+00 0 0 +GRID* 282 0 7.106250000e+00 6.080487074e-02* +* 1.025070000e+01 0 0 +GRID* 283 0 7.550000000e+00 5.334480616e-02* +* 1.150080000e+01 0 0 +GRID* 284 0 7.993750000e+00 4.578263623e-02* +* 1.275090000e+01 0 0 +GRID* 285 0 6.662500000e+00-3.772879759e-03* +* 9.000600000e+00 0 0 +GRID* 286 0 7.106250000e+00-4.416676713e-03* +* 1.025070000e+01 0 0 +GRID* 287 0 7.550000000e+00-5.060473666e-03* +* 1.150080000e+01 0 0 +GRID* 288 0 7.993750000e+00-5.752267593e-03* +* 1.275090000e+01 0 0 +GRID* 289 0 6.662500000e+00-7.581069485e-02* +* 9.000600000e+00 0 0 +GRID* 290 0 7.106250000e+00-6.963822417e-02* +* 1.025070000e+01 0 0 +GRID* 291 0 7.550000000e+00-6.346575349e-02* +* 1.150080000e+01 0 0 +GRID* 292 0 7.993750000e+00-5.728717142e-02* +* 1.275090000e+01 0 0 +GRID* 293 0 1.937500000e+00 3.079024522e-01* +* 1.590000000e-01 0 0 +GRID* 294 0 1.937500000e+00 3.037609889e-01* +* 3.080000000e-01 0 0 +GRID* 295 0 1.937500000e+00 2.991471917e-01* +* 4.570000000e-01 0 0 +GRID* 296 0 1.937500000e+00 2.942235420e-01* +* 6.060000000e-01 0 0 +GRID* 297 0 1.937500000e+00-2.928665563e-01* +* 1.590000000e-01 0 0 +GRID* 298 0 1.937500000e+00-2.915765611e-01* +* 3.080000000e-01 0 0 +GRID* 299 0 1.937500000e+00-2.890857686e-01* +* 4.570000000e-01 0 0 +GRID* 300 0 1.937500000e+00-2.860056311e-01* +* 6.060000000e-01 0 0 +GRID* 301 0 3.312500000e+00 2.623195768e-01* +* 1.590000000e-01 0 0 +GRID* 302 0 3.312500000e+00 2.654090661e-01* +* 3.080000000e-01 0 0 +GRID* 303 0 3.312500000e+00 2.683596827e-01* +* 4.570000000e-01 0 0 +GRID* 304 0 3.312500000e+00 2.709280496e-01* +* 6.060000000e-01 0 0 +GRID* 305 0 3.312500000e+00-1.503330722e-01* +* 1.590000000e-01 0 0 +GRID* 306 0 3.312500000e+00-1.572951936e-01* +* 3.080000000e-01 0 0 +GRID* 307 0 3.312500000e+00-1.642468866e-01* +* 4.570000000e-01 0 0 +GRID* 308 0 3.312500000e+00-1.711137273e-01* +* 6.060000000e-01 0 0 +GRID* 309 0 1.937500000e+00 2.833810919e-01* +* 9.040000000e-01 0 0 +GRID* 310 0 1.937500000e+00 2.774014411e-01* +* 1.053000000e+00 0 0 +GRID* 311 0 1.937500000e+00 2.711306162e-01* +* 1.202000000e+00 0 0 +GRID* 312 0 1.937500000e+00 2.644771288e-01* +* 1.351000000e+00 0 0 +GRID* 313 0 1.937500000e+00-2.777748382e-01* +* 9.040000000e-01 0 0 +GRID* 314 0 1.937500000e+00-2.727112925e-01* +* 1.053000000e+00 0 0 +GRID* 315 0 1.937500000e+00-2.671956749e-01* +* 1.202000000e+00 0 0 +GRID* 316 0 1.937500000e+00-2.611205297e-01* +* 1.351000000e+00 0 0 +GRID* 317 0 3.312500000e+00 2.752639609e-01* +* 9.040000000e-01 0 0 +GRID* 318 0 3.312500000e+00 2.768801075e-01* +* 1.053000000e+00 0 0 +GRID* 319 0 3.312500000e+00 2.783234853e-01* +* 1.202000000e+00 0 0 +GRID* 320 0 3.312500000e+00 2.792629261e-01* +* 1.351000000e+00 0 0 +GRID* 321 0 3.312500000e+00-1.846272786e-01* +* 9.040000000e-01 0 0 +GRID* 322 0 3.312500000e+00-1.911787517e-01* +* 1.053000000e+00 0 0 +GRID* 323 0 3.312500000e+00-1.976372632e-01* +* 1.202000000e+00 0 0 +GRID* 324 0 3.312500000e+00-2.037911449e-01* +* 1.351000000e+00 0 0 +GRID* 325 0 2.531250000e+00 2.400522023e-01* +* 2.750100000e+00 0 0 +GRID* 326 0 3.125000000e+00 2.227078309e-01* +* 4.000200000e+00 0 0 +GRID* 327 0 3.718750000e+00 2.053634595e-01* +* 5.250300000e+00 0 0 +GRID* 328 0 4.312500000e+00 1.880190881e-01* +* 6.500400000e+00 0 0 +GRID* 329 0 2.531250000e+00-2.374576603e-01* +* 2.750100000e+00 0 0 +GRID* 330 0 3.125000000e+00-2.202960278e-01* +* 4.000200000e+00 0 0 +GRID* 331 0 3.718750000e+00-2.031343953e-01* +* 5.250300000e+00 0 0 +GRID* 332 0 4.312500000e+00-1.859727629e-01* +* 6.500400000e+00 0 0 +GRID* 333 0 3.806250000e+00 2.613213743e-01* +* 2.750100000e+00 0 0 +GRID* 334 0 4.300000000e+00 2.426875502e-01* +* 4.000200000e+00 0 0 +GRID* 335 0 4.793750000e+00 2.240537261e-01* +* 5.250300000e+00 0 0 +GRID* 336 0 5.287500000e+00 2.054199020e-01* +* 6.500400000e+00 0 0 +GRID* 337 0 3.806250000e+00-1.964206160e-01* +* 2.750100000e+00 0 0 +GRID* 338 0 4.300000000e+00-1.830425499e-01* +* 4.000200000e+00 0 0 +GRID* 339 0 4.793750000e+00-1.696644837e-01* +* 5.250300000e+00 0 0 +GRID* 340 0 5.287500000e+00-1.562864176e-01* +* 6.500400000e+00 0 0 +GRID* 341 0 5.500000000e+00 1.533303453e-01* +* 9.000600000e+00 0 0 +GRID* 342 0 6.093750000e+00 1.359859739e-01* +* 1.025070000e+01 0 0 +GRID* 343 0 6.687500000e+00 1.186416025e-01* +* 1.150080000e+01 0 0 +GRID* 344 0 7.281250000e+00 1.012972311e-01* +* 1.275090000e+01 0 0 +GRID* 345 0 5.500000000e+00-1.516494979e-01* +* 9.000600000e+00 0 0 +GRID* 346 0 6.093750000e+00-1.344878654e-01* +* 1.025070000e+01 0 0 +GRID* 347 0 6.687500000e+00-1.173262330e-01* +* 1.150080000e+01 0 0 +GRID* 348 0 7.281250000e+00-1.001646005e-01* +* 1.275090000e+01 0 0 +GRID* 349 0 6.275000000e+00 1.681522537e-01* +* 9.000600000e+00 0 0 +GRID* 350 0 6.768750000e+00 1.494408863e-01* +* 1.025070000e+01 0 0 +GRID* 351 0 7.262500000e+00 1.307028495e-01* +* 1.150080000e+01 0 0 +GRID* 352 0 7.756250000e+00 1.119648127e-01* +* 1.275090000e+01 0 0 +GRID* 353 0 6.275000000e+00-1.295302852e-01* +* 9.000600000e+00 0 0 +GRID* 354 0 6.768750000e+00-1.161129521e-01* +* 1.025070000e+01 0 0 +GRID* 355 0 7.262500000e+00-1.026424795e-01* +* 1.150080000e+01 0 0 +GRID* 356 0 7.756250000e+00-8.917200683e-02* +* 1.275090000e+01 0 0 +$ Shell element data for family RIBS/RIB.00/SEG.00 +CQUAD4 1 1 1 2 6 5 +CQUAD4 2 1 2 3 7 6 +CQUAD4 3 1 3 4 8 7 +CQUAD4 4 1 5 6 10 9 +CQUAD4 5 1 6 7 11 10 +CQUAD4 6 1 7 8 12 11 +$ Shell element data for family RIBS/RIB.00/SEG.01 +CQUAD4 7 2 9 10 14 13 +CQUAD4 8 2 10 11 15 14 +CQUAD4 9 2 11 12 16 15 +CQUAD4 10 2 13 14 18 17 +CQUAD4 11 2 14 15 19 18 +CQUAD4 12 2 15 16 20 19 +$ Shell element data for family RIBS/RIB.01/SEG.00 +CQUAD4 13 3 21 22 26 25 +CQUAD4 14 3 22 23 27 26 +CQUAD4 15 3 23 24 28 27 +CQUAD4 16 3 25 26 30 29 +CQUAD4 17 3 26 27 31 30 +CQUAD4 18 3 27 28 32 31 +$ Shell element data for family RIBS/RIB.01/SEG.01 +CQUAD4 19 4 29 30 34 33 +CQUAD4 20 4 30 31 35 34 +CQUAD4 21 4 31 32 36 35 +CQUAD4 22 4 33 34 38 37 +CQUAD4 23 4 34 35 39 38 +CQUAD4 24 4 35 36 40 39 +$ Shell element data for family RIBS/RIB.02/SEG.00 +CQUAD4 25 5 41 42 46 45 +CQUAD4 26 5 42 43 47 46 +CQUAD4 27 5 43 44 48 47 +CQUAD4 28 5 45 46 50 49 +CQUAD4 29 5 46 47 51 50 +CQUAD4 30 5 47 48 52 51 +$ Shell element data for family RIBS/RIB.02/SEG.01 +CQUAD4 31 6 49 50 54 53 +CQUAD4 32 6 50 51 55 54 +CQUAD4 33 6 51 52 56 55 +CQUAD4 34 6 53 54 58 57 +CQUAD4 35 6 54 55 59 58 +CQUAD4 36 6 55 56 60 59 +$ Shell element data for family RIBS/RIB.03/SEG.00 +CQUAD4 37 7 61 62 66 65 +CQUAD4 38 7 62 63 67 66 +CQUAD4 39 7 63 64 68 67 +CQUAD4 40 7 65 66 70 69 +CQUAD4 41 7 66 67 71 70 +CQUAD4 42 7 67 68 72 71 +$ Shell element data for family RIBS/RIB.03/SEG.01 +CQUAD4 43 8 69 70 74 73 +CQUAD4 44 8 70 71 75 74 +CQUAD4 45 8 71 72 76 75 +CQUAD4 46 8 73 74 78 77 +CQUAD4 47 8 74 75 79 78 +CQUAD4 48 8 75 76 80 79 +$ Shell element data for family RIBS/RIB.04/SEG.00 +CQUAD4 49 9 81 82 86 85 +CQUAD4 50 9 82 83 87 86 +CQUAD4 51 9 83 84 88 87 +CQUAD4 52 9 85 86 90 89 +CQUAD4 53 9 86 87 91 90 +CQUAD4 54 9 87 88 92 91 +$ Shell element data for family RIBS/RIB.04/SEG.01 +CQUAD4 55 10 89 90 94 93 +CQUAD4 56 10 90 91 95 94 +CQUAD4 57 10 91 92 96 95 +CQUAD4 58 10 93 94 98 97 +CQUAD4 59 10 94 95 99 98 +CQUAD4 60 10 95 96 100 99 +$ Shell element data for family SPARS/SPAR.00/SEG.00 +CQUAD4 61 11 1 101 105 2 +CQUAD4 62 11 101 102 106 105 +CQUAD4 63 11 102 103 107 106 +CQUAD4 64 11 103 104 108 107 +CQUAD4 65 11 104 21 22 108 +CQUAD4 66 11 2 105 109 3 +CQUAD4 67 11 105 106 110 109 +CQUAD4 68 11 106 107 111 110 +CQUAD4 69 11 107 108 112 111 +CQUAD4 70 11 108 22 23 112 +CQUAD4 71 11 3 109 113 4 +CQUAD4 72 11 109 110 114 113 +CQUAD4 73 11 110 111 115 114 +CQUAD4 74 11 111 112 116 115 +CQUAD4 75 11 112 23 24 116 +$ Shell element data for family SPARS/SPAR.00/SEG.01 +CQUAD4 76 12 21 117 121 22 +CQUAD4 77 12 117 118 122 121 +CQUAD4 78 12 118 119 123 122 +CQUAD4 79 12 119 120 124 123 +CQUAD4 80 12 120 41 42 124 +CQUAD4 81 12 22 121 125 23 +CQUAD4 82 12 121 122 126 125 +CQUAD4 83 12 122 123 127 126 +CQUAD4 84 12 123 124 128 127 +CQUAD4 85 12 124 42 43 128 +CQUAD4 86 12 23 125 129 24 +CQUAD4 87 12 125 126 130 129 +CQUAD4 88 12 126 127 131 130 +CQUAD4 89 12 127 128 132 131 +CQUAD4 90 12 128 43 44 132 +$ Shell element data for family SPARS/SPAR.00/SEG.02 +CQUAD4 91 13 41 133 137 42 +CQUAD4 92 13 133 134 138 137 +CQUAD4 93 13 134 135 139 138 +CQUAD4 94 13 135 136 140 139 +CQUAD4 95 13 136 61 62 140 +CQUAD4 96 13 42 137 141 43 +CQUAD4 97 13 137 138 142 141 +CQUAD4 98 13 138 139 143 142 +CQUAD4 99 13 139 140 144 143 +CQUAD4 100 13 140 62 63 144 +CQUAD4 101 13 43 141 145 44 +CQUAD4 102 13 141 142 146 145 +CQUAD4 103 13 142 143 147 146 +CQUAD4 104 13 143 144 148 147 +CQUAD4 105 13 144 63 64 148 +$ Shell element data for family SPARS/SPAR.00/SEG.03 +CQUAD4 106 14 61 149 153 62 +CQUAD4 107 14 149 150 154 153 +CQUAD4 108 14 150 151 155 154 +CQUAD4 109 14 151 152 156 155 +CQUAD4 110 14 152 81 82 156 +CQUAD4 111 14 62 153 157 63 +CQUAD4 112 14 153 154 158 157 +CQUAD4 113 14 154 155 159 158 +CQUAD4 114 14 155 156 160 159 +CQUAD4 115 14 156 82 83 160 +CQUAD4 116 14 63 157 161 64 +CQUAD4 117 14 157 158 162 161 +CQUAD4 118 14 158 159 163 162 +CQUAD4 119 14 159 160 164 163 +CQUAD4 120 14 160 83 84 164 +$ Shell element data for family SPARS/SPAR.01/SEG.00 +CQUAD4 121 15 9 165 169 10 +CQUAD4 122 15 165 166 170 169 +CQUAD4 123 15 166 167 171 170 +CQUAD4 124 15 167 168 172 171 +CQUAD4 125 15 168 29 30 172 +CQUAD4 126 15 10 169 173 11 +CQUAD4 127 15 169 170 174 173 +CQUAD4 128 15 170 171 175 174 +CQUAD4 129 15 171 172 176 175 +CQUAD4 130 15 172 30 31 176 +CQUAD4 131 15 11 173 177 12 +CQUAD4 132 15 173 174 178 177 +CQUAD4 133 15 174 175 179 178 +CQUAD4 134 15 175 176 180 179 +CQUAD4 135 15 176 31 32 180 +$ Shell element data for family SPARS/SPAR.01/SEG.01 +CQUAD4 136 16 29 181 185 30 +CQUAD4 137 16 181 182 186 185 +CQUAD4 138 16 182 183 187 186 +CQUAD4 139 16 183 184 188 187 +CQUAD4 140 16 184 49 50 188 +CQUAD4 141 16 30 185 189 31 +CQUAD4 142 16 185 186 190 189 +CQUAD4 143 16 186 187 191 190 +CQUAD4 144 16 187 188 192 191 +CQUAD4 145 16 188 50 51 192 +CQUAD4 146 16 31 189 193 32 +CQUAD4 147 16 189 190 194 193 +CQUAD4 148 16 190 191 195 194 +CQUAD4 149 16 191 192 196 195 +CQUAD4 150 16 192 51 52 196 +$ Shell element data for family SPARS/SPAR.01/SEG.02 +CQUAD4 151 17 49 197 201 50 +CQUAD4 152 17 197 198 202 201 +CQUAD4 153 17 198 199 203 202 +CQUAD4 154 17 199 200 204 203 +CQUAD4 155 17 200 69 70 204 +CQUAD4 156 17 50 201 205 51 +CQUAD4 157 17 201 202 206 205 +CQUAD4 158 17 202 203 207 206 +CQUAD4 159 17 203 204 208 207 +CQUAD4 160 17 204 70 71 208 +CQUAD4 161 17 51 205 209 52 +CQUAD4 162 17 205 206 210 209 +CQUAD4 163 17 206 207 211 210 +CQUAD4 164 17 207 208 212 211 +CQUAD4 165 17 208 71 72 212 +$ Shell element data for family SPARS/SPAR.01/SEG.03 +CQUAD4 166 18 69 213 217 70 +CQUAD4 167 18 213 214 218 217 +CQUAD4 168 18 214 215 219 218 +CQUAD4 169 18 215 216 220 219 +CQUAD4 170 18 216 89 90 220 +CQUAD4 171 18 70 217 221 71 +CQUAD4 172 18 217 218 222 221 +CQUAD4 173 18 218 219 223 222 +CQUAD4 174 18 219 220 224 223 +CQUAD4 175 18 220 90 91 224 +CQUAD4 176 18 71 221 225 72 +CQUAD4 177 18 221 222 226 225 +CQUAD4 178 18 222 223 227 226 +CQUAD4 179 18 223 224 228 227 +CQUAD4 180 18 224 91 92 228 +$ Shell element data for family SPARS/SPAR.02/SEG.00 +CQUAD4 181 19 17 229 233 18 +CQUAD4 182 19 229 230 234 233 +CQUAD4 183 19 230 231 235 234 +CQUAD4 184 19 231 232 236 235 +CQUAD4 185 19 232 37 38 236 +CQUAD4 186 19 18 233 237 19 +CQUAD4 187 19 233 234 238 237 +CQUAD4 188 19 234 235 239 238 +CQUAD4 189 19 235 236 240 239 +CQUAD4 190 19 236 38 39 240 +CQUAD4 191 19 19 237 241 20 +CQUAD4 192 19 237 238 242 241 +CQUAD4 193 19 238 239 243 242 +CQUAD4 194 19 239 240 244 243 +CQUAD4 195 19 240 39 40 244 +$ Shell element data for family SPARS/SPAR.02/SEG.01 +CQUAD4 196 20 37 245 249 38 +CQUAD4 197 20 245 246 250 249 +CQUAD4 198 20 246 247 251 250 +CQUAD4 199 20 247 248 252 251 +CQUAD4 200 20 248 57 58 252 +CQUAD4 201 20 38 249 253 39 +CQUAD4 202 20 249 250 254 253 +CQUAD4 203 20 250 251 255 254 +CQUAD4 204 20 251 252 256 255 +CQUAD4 205 20 252 58 59 256 +CQUAD4 206 20 39 253 257 40 +CQUAD4 207 20 253 254 258 257 +CQUAD4 208 20 254 255 259 258 +CQUAD4 209 20 255 256 260 259 +CQUAD4 210 20 256 59 60 260 +$ Shell element data for family SPARS/SPAR.02/SEG.02 +CQUAD4 211 21 57 261 265 58 +CQUAD4 212 21 261 262 266 265 +CQUAD4 213 21 262 263 267 266 +CQUAD4 214 21 263 264 268 267 +CQUAD4 215 21 264 77 78 268 +CQUAD4 216 21 58 265 269 59 +CQUAD4 217 21 265 266 270 269 +CQUAD4 218 21 266 267 271 270 +CQUAD4 219 21 267 268 272 271 +CQUAD4 220 21 268 78 79 272 +CQUAD4 221 21 59 269 273 60 +CQUAD4 222 21 269 270 274 273 +CQUAD4 223 21 270 271 275 274 +CQUAD4 224 21 271 272 276 275 +CQUAD4 225 21 272 79 80 276 +$ Shell element data for family SPARS/SPAR.02/SEG.03 +CQUAD4 226 22 77 277 281 78 +CQUAD4 227 22 277 278 282 281 +CQUAD4 228 22 278 279 283 282 +CQUAD4 229 22 279 280 284 283 +CQUAD4 230 22 280 97 98 284 +CQUAD4 231 22 78 281 285 79 +CQUAD4 232 22 281 282 286 285 +CQUAD4 233 22 282 283 287 286 +CQUAD4 234 22 283 284 288 287 +CQUAD4 235 22 284 98 99 288 +CQUAD4 236 22 79 285 289 80 +CQUAD4 237 22 285 286 290 289 +CQUAD4 238 22 286 287 291 290 +CQUAD4 239 22 287 288 292 291 +CQUAD4 240 22 288 99 100 292 +$ Shell element data for family U_SKIN/U_SKIN.000/SEG.00 +CQUAD4 241 23 1 101 293 5 +CQUAD4 242 23 101 102 294 293 +CQUAD4 243 23 102 103 295 294 +CQUAD4 244 23 103 104 296 295 +CQUAD4 245 23 104 21 25 296 +CQUAD4 246 23 5 293 165 9 +CQUAD4 247 23 293 294 166 165 +CQUAD4 248 23 294 295 167 166 +CQUAD4 249 23 295 296 168 167 +CQUAD4 250 23 296 25 29 168 +$ Shell element data for family L_SKIN/L_SKIN.000/SEG.00 +CQUAD4 251 24 4 8 297 113 +CQUAD4 252 24 8 12 177 297 +CQUAD4 253 24 113 297 298 114 +CQUAD4 254 24 297 177 178 298 +CQUAD4 255 24 114 298 299 115 +CQUAD4 256 24 298 178 179 299 +CQUAD4 257 24 115 299 300 116 +CQUAD4 258 24 299 179 180 300 +CQUAD4 259 24 116 300 28 24 +CQUAD4 260 24 300 180 32 28 +$ Shell element data for family U_SKIN/U_SKIN.000/SEG.01 +CQUAD4 261 25 9 165 301 13 +CQUAD4 262 25 165 166 302 301 +CQUAD4 263 25 166 167 303 302 +CQUAD4 264 25 167 168 304 303 +CQUAD4 265 25 168 29 33 304 +CQUAD4 266 25 13 301 229 17 +CQUAD4 267 25 301 302 230 229 +CQUAD4 268 25 302 303 231 230 +CQUAD4 269 25 303 304 232 231 +CQUAD4 270 25 304 33 37 232 +$ Shell element data for family L_SKIN/L_SKIN.000/SEG.01 +CQUAD4 271 26 12 16 305 177 +CQUAD4 272 26 16 20 241 305 +CQUAD4 273 26 177 305 306 178 +CQUAD4 274 26 305 241 242 306 +CQUAD4 275 26 178 306 307 179 +CQUAD4 276 26 306 242 243 307 +CQUAD4 277 26 179 307 308 180 +CQUAD4 278 26 307 243 244 308 +CQUAD4 279 26 180 308 36 32 +CQUAD4 280 26 308 244 40 36 +$ Shell element data for family U_SKIN/U_SKIN.001/SEG.00 +CQUAD4 281 27 21 117 309 25 +CQUAD4 282 27 117 118 310 309 +CQUAD4 283 27 118 119 311 310 +CQUAD4 284 27 119 120 312 311 +CQUAD4 285 27 120 41 45 312 +CQUAD4 286 27 25 309 181 29 +CQUAD4 287 27 309 310 182 181 +CQUAD4 288 27 310 311 183 182 +CQUAD4 289 27 311 312 184 183 +CQUAD4 290 27 312 45 49 184 +$ Shell element data for family L_SKIN/L_SKIN.001/SEG.00 +CQUAD4 291 28 24 28 313 129 +CQUAD4 292 28 28 32 193 313 +CQUAD4 293 28 129 313 314 130 +CQUAD4 294 28 313 193 194 314 +CQUAD4 295 28 130 314 315 131 +CQUAD4 296 28 314 194 195 315 +CQUAD4 297 28 131 315 316 132 +CQUAD4 298 28 315 195 196 316 +CQUAD4 299 28 132 316 48 44 +CQUAD4 300 28 316 196 52 48 +$ Shell element data for family U_SKIN/U_SKIN.001/SEG.01 +CQUAD4 301 29 29 181 317 33 +CQUAD4 302 29 181 182 318 317 +CQUAD4 303 29 182 183 319 318 +CQUAD4 304 29 183 184 320 319 +CQUAD4 305 29 184 49 53 320 +CQUAD4 306 29 33 317 245 37 +CQUAD4 307 29 317 318 246 245 +CQUAD4 308 29 318 319 247 246 +CQUAD4 309 29 319 320 248 247 +CQUAD4 310 29 320 53 57 248 +$ Shell element data for family L_SKIN/L_SKIN.001/SEG.01 +CQUAD4 311 30 32 36 321 193 +CQUAD4 312 30 36 40 257 321 +CQUAD4 313 30 193 321 322 194 +CQUAD4 314 30 321 257 258 322 +CQUAD4 315 30 194 322 323 195 +CQUAD4 316 30 322 258 259 323 +CQUAD4 317 30 195 323 324 196 +CQUAD4 318 30 323 259 260 324 +CQUAD4 319 30 196 324 56 52 +CQUAD4 320 30 324 260 60 56 +$ Shell element data for family U_SKIN/U_SKIN.002/SEG.00 +CQUAD4 321 31 41 133 325 45 +CQUAD4 322 31 133 134 326 325 +CQUAD4 323 31 134 135 327 326 +CQUAD4 324 31 135 136 328 327 +CQUAD4 325 31 136 61 65 328 +CQUAD4 326 31 45 325 197 49 +CQUAD4 327 31 325 326 198 197 +CQUAD4 328 31 326 327 199 198 +CQUAD4 329 31 327 328 200 199 +CQUAD4 330 31 328 65 69 200 +$ Shell element data for family L_SKIN/L_SKIN.002/SEG.00 +CQUAD4 331 32 44 48 329 145 +CQUAD4 332 32 48 52 209 329 +CQUAD4 333 32 145 329 330 146 +CQUAD4 334 32 329 209 210 330 +CQUAD4 335 32 146 330 331 147 +CQUAD4 336 32 330 210 211 331 +CQUAD4 337 32 147 331 332 148 +CQUAD4 338 32 331 211 212 332 +CQUAD4 339 32 148 332 68 64 +CQUAD4 340 32 332 212 72 68 +$ Shell element data for family U_SKIN/U_SKIN.002/SEG.01 +CQUAD4 341 33 49 197 333 53 +CQUAD4 342 33 197 198 334 333 +CQUAD4 343 33 198 199 335 334 +CQUAD4 344 33 199 200 336 335 +CQUAD4 345 33 200 69 73 336 +CQUAD4 346 33 53 333 261 57 +CQUAD4 347 33 333 334 262 261 +CQUAD4 348 33 334 335 263 262 +CQUAD4 349 33 335 336 264 263 +CQUAD4 350 33 336 73 77 264 +$ Shell element data for family L_SKIN/L_SKIN.002/SEG.01 +CQUAD4 351 34 52 56 337 209 +CQUAD4 352 34 56 60 273 337 +CQUAD4 353 34 209 337 338 210 +CQUAD4 354 34 337 273 274 338 +CQUAD4 355 34 210 338 339 211 +CQUAD4 356 34 338 274 275 339 +CQUAD4 357 34 211 339 340 212 +CQUAD4 358 34 339 275 276 340 +CQUAD4 359 34 212 340 76 72 +CQUAD4 360 34 340 276 80 76 +$ Shell element data for family U_SKIN/U_SKIN.003/SEG.00 +CQUAD4 361 35 61 149 341 65 +CQUAD4 362 35 149 150 342 341 +CQUAD4 363 35 150 151 343 342 +CQUAD4 364 35 151 152 344 343 +CQUAD4 365 35 152 81 85 344 +CQUAD4 366 35 65 341 213 69 +CQUAD4 367 35 341 342 214 213 +CQUAD4 368 35 342 343 215 214 +CQUAD4 369 35 343 344 216 215 +CQUAD4 370 35 344 85 89 216 +$ Shell element data for family L_SKIN/L_SKIN.003/SEG.00 +CQUAD4 371 36 64 68 345 161 +CQUAD4 372 36 68 72 225 345 +CQUAD4 373 36 161 345 346 162 +CQUAD4 374 36 345 225 226 346 +CQUAD4 375 36 162 346 347 163 +CQUAD4 376 36 346 226 227 347 +CQUAD4 377 36 163 347 348 164 +CQUAD4 378 36 347 227 228 348 +CQUAD4 379 36 164 348 88 84 +CQUAD4 380 36 348 228 92 88 +$ Shell element data for family U_SKIN/U_SKIN.003/SEG.01 +CQUAD4 381 37 69 213 349 73 +CQUAD4 382 37 213 214 350 349 +CQUAD4 383 37 214 215 351 350 +CQUAD4 384 37 215 216 352 351 +CQUAD4 385 37 216 89 93 352 +CQUAD4 386 37 73 349 277 77 +CQUAD4 387 37 349 350 278 277 +CQUAD4 388 37 350 351 279 278 +CQUAD4 389 37 351 352 280 279 +CQUAD4 390 37 352 93 97 280 +$ Shell element data for family L_SKIN/L_SKIN.003/SEG.01 +CQUAD4 391 38 72 76 353 225 +CQUAD4 392 38 76 80 289 353 +CQUAD4 393 38 225 353 354 226 +CQUAD4 394 38 353 289 290 354 +CQUAD4 395 38 226 354 355 227 +CQUAD4 396 38 354 290 291 355 +CQUAD4 397 38 227 355 356 228 +CQUAD4 398 38 355 291 292 356 +CQUAD4 399 38 228 356 96 92 +CQUAD4 400 38 356 292 100 96 +SPC 1 1 1234560.000000 +SPC 1 5 1234560.000000 +SPC 1 9 1234560.000000 +SPC 1 4 1234560.000000 +SPC 1 8 1234560.000000 +SPC 1 12 1234560.000000 +SPC 1 2 1234560.000000 +SPC 1 3 1234560.000000 +SPC 1 10 1234560.000000 +SPC 1 11 1234560.000000 +SPC 1 13 1234560.000000 +SPC 1 17 1234560.000000 +SPC 1 16 1234560.000000 +SPC 1 20 1234560.000000 +SPC 1 18 1234560.000000 +SPC 1 19 1234560.000000 +$NRIBS 5 +$NSPARS 3 +$XSUPER 1 1 1 1.250000000e+00* +$* 2.795225161e-01 1.000000000e-02 +$XSUPER 1 1 2 1.250000000e+00* +$* -2.763802615e-01 1.000000000e-02 +$XSUPER 1 2 1 2.625000000e+00* +$* 3.063913066e-01 1.000000000e-02 +$XSUPER 1 2 2 2.625000000e+00* +$* -2.380020635e-01 1.000000000e-02 +$XSUPER 1 3 1 4.000000000e+00* +$* 1.743207538e-01 1.000000000e-02 +$XSUPER 1 3 2 4.000000000e+00* +$* -4.981895761e-02 1.000000000e-02 +$XSUPER 2 1 1 1.250000000e+00* +$* 2.372638263e-01 7.550000000e-01 +$XSUPER 2 1 2 1.250000000e+00* +$* -2.368167398e-01 7.550000000e-01 +$XSUPER 2 2 1 2.625000000e+00* +$* 3.022078844e-01 7.550000000e-01 +$XSUPER 2 2 2 2.625000000e+00* +$* -2.608641347e-01 7.550000000e-01 +$XSUPER 2 3 1 4.000000000e+00* +$* 2.017718160e-01 7.550000000e-01 +$XSUPER 2 3 2 4.000000000e+00* +$* -7.961493376e-02 7.550000000e-01 +$XSUPER 3 1 1 1.250000000e+00* +$* 1.732894229e-01 1.500000000e+00 +$XSUPER 3 1 2 1.250000000e+00* +$* -1.745422012e-01 1.500000000e+00 +$XSUPER 3 2 1 2.625000000e+00* +$* 2.891825729e-01 1.500000000e+00 +$XSUPER 3 2 2 2.625000000e+00* +$* -2.705640020e-01 1.500000000e+00 +$XSUPER 3 3 1 4.000000000e+00* +$* 2.252587846e-01 1.500000000e+00 +$XSUPER 3 3 2 4.000000000e+00* +$* -1.129257390e-01 1.500000000e+00 +$XSUPER 4 1 1 4.468750000e+00* +$* 1.184304816e-01 7.750500000e+00 +$XSUPER 4 1 2 4.468750000e+00* +$* -1.192250804e-01 7.750500000e+00 +$XSUPER 4 2 1 5.343750000e+00* +$* 1.912120240e-01 7.750500000e+00 +$XSUPER 4 2 2 5.343750000e+00* +$* -1.796415105e-01 7.750500000e+00 +$XSUPER 4 3 1 6.218750000e+00* +$* 1.545145186e-01 7.750500000e+00 +$XSUPER 4 3 2 6.218750000e+00* +$* -8.199463501e-02 7.750500000e+00 +$XSUPER 5 1 1 7.687500000e+00* +$* 6.294987309e-02 1.400100000e+01 +$XSUPER 5 1 2 7.687500000e+00* +$* -6.324189568e-02 1.400100000e+01 +$XSUPER 5 2 1 8.062500000e+00* +$* 9.268699842e-02 1.400100000e+01 +$XSUPER 5 2 2 8.062500000e+00* +$* -8.763038380e-02 1.400100000e+01 +$XSUPER 5 3 1 8.437500000e+00* +$* 8.233647011e-02 1.400100000e+01 +$XSUPER 5 3 2 8.437500000e+00* +$* -5.087543007e-02 1.400100000e+01 +ENDDATA diff --git a/examples/getSetCoords.py b/examples/getSetCoords.py new file mode 100644 index 0000000..e3d8482 --- /dev/null +++ b/examples/getSetCoords.py @@ -0,0 +1,13 @@ +from bdfutilities.bdf_utils import BDFUtils, readBDF + +# Get GRID coordinates, modify them externally, and set them back + +bdfInFile = "B717_wingbox.bdf" +bdfOutFile = "B717_wingbox_out.bdf" + +model = readBDF(bdfInFile) +bdfUtil = BDFUtils(model) +coords = bdfUtil.getGridCoords() +coords[:, 2] += 1.0 +bdfUtil.setGridCoords(coords) +bdfUtil.writeBDF(bdfOutFile) diff --git a/examples/rotate.py b/examples/rotate.py new file mode 100644 index 0000000..d90e4da --- /dev/null +++ b/examples/rotate.py @@ -0,0 +1,13 @@ +from bdfutilities.bdf_utils import BDFUtils, readBDF + +# Rotate the wing about the z-axis and write out an updated file + +bdfInFile = "B717_wingbox.bdf" +bdfOutFile = "B717_wingbox_out.bdf" + +axis = [0.0, 0.0, 1.0] + +model = readBDF(bdfInFile) +bdfUtil = BDFUtils(model) +bdfUtil.rotate(*axis, 45.0) +bdfUtil.writeBDF(bdfOutFile) diff --git a/examples/rotate.sh b/examples/rotate.sh new file mode 100644 index 0000000..0cd39a7 --- /dev/null +++ b/examples/rotate.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e + +BDF_INFILE="B717_wingbox.bdf" +BDF_OUTFILE="B717_wingbox_out.bdf" + +# Test rotate +bdf_utils rotate $BDF_INFILE 0.0 0.0 1.0 45.0 $BDF_OUTFILE + diff --git a/tests/test_bdfutilities.py b/tests/test_bdfutilities.py new file mode 100644 index 0000000..37f286d --- /dev/null +++ b/tests/test_bdfutilities.py @@ -0,0 +1,42 @@ +import os +import unittest +import subprocess +from parameterized import parameterized +from bdfutilities.bdf_utils import BDFUtils, readBDF + +baseDir = os.path.dirname(os.path.abspath(__file__)) +class TestExamples(unittest.TestCase): + # Get all example scripts in the example folder and its subfolders + exampleDir = os.path.abspath(os.path.join(baseDir, "../examples")) + examples = [] + for root, _, files in os.walk(exampleDir): + for file in files: + # Note: if matching extension we cd into dir as each script assumes to be run in current folder + if file.endswith(".sh"): + cmd = f"cd {root} && bash {file}" + examples.append([file, cmd]) + + if file.endswith(".py"): + cmd = f"cd {root} && python {file}" + examples.append([file, cmd]) + + # Generate a custom test function name for each script that will be run + def generateFuncName(testcase_func, _, param): + return "{}_{}".format( + testcase_func.__name__, + parameterized.to_safe_name(param.args[0]), + ) + + @parameterized.expand(examples, name_func=generateFuncName) + def test_example(self, _, cmd): + """ + Extract and run all examples from the examples folder. + We assume that all have a .sh extension. Note that this test + does not guarantee that they make sense, only that they run. + """ + out = subprocess.run(cmd, shell=True) + self.assertFalse(out.returncode) + + +if __name__ == "__main__": + unittest.main()