Skip to content
Snippets Groups Projects
Commit 41aaf6bf authored by David Verelst's avatar David Verelst
Browse files

prepost.hawcstab2: more robust induction file reading, add tests

parent e0ae2e54
No related branches found
No related tags found
No related merge requests found
Showing
with 427 additions and 28 deletions
......@@ -553,7 +553,7 @@ class MappingsH2HS2(object):
def blade_distribution(self, fname_h2, fname_hs2, h2_df_stats=None,
fname_h2_tors=None):
self.hs2_res.load_ind(fname_hs2)
self.hs2_res.df_ind = self.hs2_res.load_ind(fname_hs2)
self.h2_res = sim.windIO.ReadOutputAtTime(fname_h2)
self._distribution_hs2()
self._distribution_h2()
......@@ -601,7 +601,7 @@ class MappingsH2HS2(object):
hs2_cols = list(mapping_hs2)
# select only the HS channels that will be used for the mapping
std_cols = list(mapping_hs2.values())
self.hs_aero = self.hs2_res.ind.df_data[hs2_cols].copy()
self.hs_aero = self.hs2_res.df_ind[hs2_cols].copy()
except KeyError:
# some results have been created with older HAWCStab2 that did not
# include CT and CP columns
......@@ -610,7 +610,7 @@ class MappingsH2HS2(object):
hs2_cols = list(mapping_hs2)
std_cols = list(mapping_hs2.values())
# select only the HS channels that will be used for the mapping
self.hs_aero = self.hs2_res.ind.df_data[hs2_cols].copy()
self.hs_aero = self.hs2_res.df_ind[hs2_cols].copy()
# change column names to the standard form that is shared with H2
self.hs_aero.columns = std_cols
......@@ -808,7 +808,7 @@ class Plots(object):
def load_hs(self, fname_hs):
res = MappingsH2HS2(self.config)
res.hs2_res.load_ind(fname_hs)
res.df_ind = res.hs2_res.load_ind(fname_hs)
self.units = res.units
res._distribution_hs2()
......
......@@ -68,7 +68,7 @@ class InductionResults(object):
"""Column width can vary between versions and with/withouth gradient in
output. Use get_col_width() for automatic detection.
"""
def __init__(self, colwidth=14):
def __init__(self, colwidth=None):
"""with gradients currently ind has columns width of 28 instead of 14!
"""
self.cw = colwidth
......@@ -76,22 +76,36 @@ class InductionResults(object):
def get_col_width(self, fname):
# figure out column width
with open(fname) as fid:
fid.readline()
line1 = fid.readline()
line2 = fid.readline()
cols = misc.remove_items(line2.split(' '), '')
if len(cols[0]) > 15:
self.cw = 28
# it is very annoying that various files can have various column widths
# also, the first column is one character wider than the rest
i0 = re.search(r'\S',line2).start()
self.i1_col1 = line2[i0:].find(' ') + i0
# number of columns can also be different (gradients or not, node displ)
nr_cols = int(round(len(line2)/self.i1_col1, 0))
self.colwidths = [self.i1_col1+1] + [self.i1_col1]*(nr_cols-1)
# because sometimes there are no spaces between the header of each column
# sanitize the headers
ci = np.array([0] + self.colwidths).cumsum()
# remember zero based indexing
ci[1:] = ci[1:] - 1
self.columns = []
for i in range(len(ci)-1):
# also lose the index in the header
colname = line1[ci[i]:ci[i+1]][:-2].replace('#', '').strip()
self.columns.append(colname)
def read(self, fname):
self.data = np.loadtxt(fname)
if self.cw is None:
self.get_col_width(fname)
self.wsp = int(fname.split('_u')[-1][:-4]) / 1000.0
try:
self.df_data = pd.read_fwf(fname, header=0, widths=[self.cw]*38)
except:
self.df_data = pd.read_fwf(fname, header=0, widths=[self.cw]*34)
# sanitize the headers
cols = self.df_data.columns
self.df_data.columns = [k[:-2].replace('#', '').strip() for k in cols]
# self.df_data = pd.read_fwf(fname, header=0, widths=self.colwidths)
self.df_data = pd.read_fwf(fname, skiprows=0, widths=self.colwidths)
# we can not rely on read_fwf for the column names since for some
# columns there is no space between one column and the next one.
self.df_data.columns = self.columns
class results(object):
......@@ -178,10 +192,9 @@ class results(object):
"""for results withouth gradients, colwidth=14, otherwise 28. Set to
None to derive automatically.
"""
self.ind = InductionResults(colwidth=colwidth)
if colwidth is None:
self.ind.get_col_width(fname)
self.ind.read(fname)
ind = InductionResults(colwidth=colwidth)
ind.read(fname)
return ind.df_data
def load_amp(self, fname):
......
File added
File added
File added
# s [m] 1 Element no [-] 2 pos_xR [m] 3 pos_yR [m] 4 pos_zR [m] 5 Elem angle [rad] 6 Elem v_1 [-] 7 Elem v_2 [-] 8 Elem v_3 [-] 9 Node 1 angle [rad] 10 Node 1 v_1 [-] 11 Node 1 v_2 [-] 12 Node 1 v_3 [-] 13 Node 2 angle [rad] 14 Node 2 v_1 [-] 15 Node 2 v_2 [-] 16 Node 2 v_3 [-] 17 Elongation [m] 18
0.100000E-01 1 0.000000E+00 0.000000E+00 0.000000E+00 0.158172E+00 -0.125253E-02 0.500920E-05 -0.999999E+00 0.197910E-03 0.997182E+00 0.750162E-01 -0.109396E-03 0.193668E-03 0.997166E+00 0.752333E-01 0.969652E-04 0.595707E-06
0.300003E+01 2 0.164254E-06 0.197239E-05 0.100006E-01 0.253142E+00 0.152820E-01 -0.308514E-02 -0.999878E+00 0.818351E-03 0.985601E+00 0.168844E+00 -0.901715E-02 0.409381E-03 -0.989040E+00 -0.146549E+00 0.180061E-01 0.176154E-03
0.600004E+01 3 -0.376642E-02 -0.111486E-01 0.300018E+01 0.252974E+00 0.123352E-01 -0.128909E-01 -0.999841E+00 0.797666E-03 0.985814E+00 0.167307E+00 -0.133941E-01 0.376106E-03 -0.987114E+00 -0.157480E+00 0.283865E-01 0.173611E-03
0.700027E+01 4 -0.146239E-01 -0.191804E-01 0.600034E+01 0.252682E+00 0.143807E-01 0.221218E-01 -0.999652E+00 0.429097E-03 0.984487E+00 0.175453E+00 0.115559E-02 0.235472E-04 0.930733E+00 0.365069E+00 -0.214538E-01 0.590958E-04
0.870176E+01 5 -0.954841E-02 -0.234790E-01 0.700061E+01 0.534720E+00 -0.299733E-02 -0.860380E-02 -0.999958E+00 0.626298E-03 0.905337E+00 0.424520E+00 -0.121390E-01 0.123301E-03 -0.924831E+00 -0.375382E+00 0.614574E-01 0.103516E-03
0.104085E+02 6 -0.162971E-01 -0.188364E-01 0.870218E+01 0.943932E+00 -0.312952E-02 0.698715E-02 -0.999971E+00 0.698375E-03 0.699045E+00 0.715050E+00 0.628631E-02 0.126148E-03 -0.808071E+00 -0.588037E+00 -0.351275E-01 0.108088E-03
0.122171E+02 7 -0.443052E-02 -0.194404E-01 0.104090E+02 0.799949E+00 0.325617E-02 -0.172818E-01 -0.999845E+00 0.861246E-03 0.828587E+00 0.559306E+00 -0.248923E-01 0.182549E-03 -0.814243E+00 -0.568582E+00 0.117147E+00 0.120653E-03
0.132226E+02 8 -0.286388E-01 -0.141872E-01 0.122176E+02 0.657887E+00 -0.142400E-02 -0.895068E-02 -0.999959E+00 0.739203E-03 0.906694E+00 0.421755E+00 -0.531928E-02 0.526512E-04 0.923981E+00 0.375301E+00 0.735490E-01 0.693360E-04
0.150319E+02 9 -0.338432E-01 -0.114332E-01 0.132231E+02 0.550937E+00 -0.366666E-02 -0.741762E-02 -0.999966E+00 0.118229E-02 0.949569E+00 0.313554E+00 0.135953E-02 0.264234E-03 -0.942095E+00 -0.335288E+00 -0.631629E-02 0.126677E-03
0.182408E+02 10 -0.398874E-01 -0.597444E-02 0.150325E+02 0.413897E+00 -0.171889E-02 -0.206470E-01 -0.999785E+00 0.225341E-02 0.982334E+00 0.187128E+00 -0.153105E-02 0.106288E-02 -0.980371E+00 -0.197136E+00 0.318752E-02 0.233584E-03
0.214384E+02 11 -0.660698E-01 0.183774E-02 0.182415E+02 0.312177E+00 -0.163859E-01 0.509216E-02 -0.999853E+00 0.284930E-02 0.992559E+00 0.118484E+00 0.280651E-01 0.142123E-02 -0.993096E+00 -0.102906E+00 -0.563128E-01 0.250642E-03
0.246337E+02 12 -0.585361E-01 0.171447E-01 0.214394E+02 0.257385E+00 -0.199416E-01 0.635988E-01 -0.997776E+00 0.342364E-02 0.992371E+00 0.899782E-01 0.842789E-01 0.179423E-02 -0.985546E+00 -0.531264E-01 -0.160864E+00 0.265152E-03
0.278269E+02 13 -0.470817E-02 0.266860E-01 0.246344E+02 0.214675E+00 -0.265124E-01 -0.623253E-01 -0.997704E+00 0.400621E-02 0.998392E+00 0.551469E-01 -0.131365E-01 0.219364E-02 -0.998900E+00 -0.402961E-01 0.239637E-01 0.272371E-03
0.310224E+02 14 -0.451687E-01 0.492804E-01 0.278275E+02 0.188842E+00 -0.481720E-01 0.516235E-01 -0.997504E+00 0.451870E-02 0.996138E+00 0.457130E-01 0.749667E-01 0.262846E-02 -0.991498E+00 -0.177428E-01 -0.128907E+00 0.266006E-03
0.342167E+02 15 -0.114690E-01 0.752540E-01 0.310230E+02 0.173735E+00 -0.946428E-01 0.827302E-01 -0.992068E+00 0.499259E-02 0.994735E+00 0.378695E-01 0.952277E-01 0.300875E-02 -0.987348E+00 -0.129102E-01 -0.158041E+00 0.257938E-03
0.402160E+02 16 0.387313E-01 0.123570E+00 0.342168E+02 0.149416E+00 -0.179544E+00 0.576075E-01 -0.982062E+00 0.999275E-02 0.996645E+00 0.217683E-01 0.788967E-01 0.733509E-02 -0.994087E+00 -0.153884E-01 -0.107492E+00 0.460000E-03
0.466212E+02 17 0.101969E+00 0.280145E+00 0.402142E+02 0.120875E+00 -0.335510E+00 0.987467E-01 -0.936847E+00 0.129283E-01 0.995702E+00 0.976747E-02 0.921007E-01 0.965647E-02 -0.992340E+00 -0.741153E-02 -0.123311E+00 0.453198E-03
0.530293E+02 18 0.192932E+00 0.534968E+00 0.466141E+02 0.995733E-01 -0.575176E+00 0.124415E+00 -0.808513E+00 0.154386E-01 0.995962E+00 -0.757411E-05 0.897709E-01 0.115334E-01 -0.992754E+00 -0.657805E-03 -0.120166E+00 0.410735E-03
0.594400E+02 19 0.286955E+00 0.898201E+00 0.530117E+02 0.931911E-01 -0.821706E+00 0.132755E+00 -0.554234E+00 0.175639E-01 0.996620E+00 -0.784314E-02 0.817805E-01 0.129629E-01 -0.993829E+00 0.519032E-02 -0.110800E+00 0.362857E-03
0.658541E+02 20 0.378825E+00 0.138638E+01 0.594035E+02 0.102966E+00 -0.955811E+00 0.121307E+00 -0.267786E+00 0.189507E-01 0.997340E+00 -0.142658E-01 0.714788E-01 0.135518E-01 -0.994938E+00 0.104459E-01 -0.999418E-01 0.313607E-03
0.722716E+02 21 0.467497E+00 0.201544E+01 0.657863E+02 0.121725E+00 -0.991735E+00 0.108503E+00 -0.684793E-01 0.195289E-01 0.997748E+00 -0.186876E-01 0.644242E-01 0.131310E-01 -0.995300E+00 0.141924E-01 -0.957917E-01 0.262515E-03
0.790961E+02 22 0.555277E+00 0.278793E+01 0.721569E+02 0.141501E+00 -0.995523E+00 0.713038E-01 0.620523E-01 0.189832E-01 0.998842E+00 -0.205817E-01 0.434793E-01 0.106510E-01 -0.996870E+00 0.158702E-01 -0.774484E-01 0.214263E-03
0.806018E+02 23 0.619692E+00 0.374640E+01 0.789136E+02 0.148163E+00 -0.989128E+00 0.810082E-01 0.122732E+00 0.324585E-02 0.998598E+00 -0.228228E-01 0.477590E-01 0.139025E-02 -0.993757E+00 0.446550E-02 -0.111481E+00 0.317275E-04
0.821087E+02 24 0.635696E+00 0.396643E+01 0.804031E+02 0.149447E+00 -0.988847E+00 0.409112E-01 0.143205E+00 0.277414E-02 0.999035E+00 -0.215039E-01 0.382886E-01 0.104491E-02 -0.994821E+00 0.154966E-02 -0.101628E+00 0.265552E-04
0.836161E+02 25 0.642497E+00 0.418840E+01 0.818936E+02 0.149431E+00 -0.987294E+00 0.169329E-01 0.158003E+00 0.221971E-02 0.999120E+00 -0.185684E-01 0.376135E-01 0.696381E-03 -0.992782E+00 -0.394280E-02 -0.119869E+00 0.206861E-04
0.851232E+02 26 0.643676E+00 0.441001E+01 0.833846E+02 0.148884E+00 -0.983888E+00 0.715696E-01 0.163833E+00 0.160278E-02 0.998501E+00 -0.144022E-01 0.528105E-01 0.342010E-03 -0.968803E+00 -0.135564E-01 -0.247463E+00 0.148018E-04
0.864694E+02 27 0.656989E+00 0.463016E+01 0.848755E+02 0.161690E+00 -0.895532E+00 0.426648E+00 0.126466E+00 0.631646E-03 0.993953E+00 -0.791507E-02 0.109520E+00 0.713966E-04 0.246305E+00 -0.234270E-01 -0.968909E+00 0.615937E-05
# s [m] 1 Node [-] 2 Fx_e [N] 3 Fy_e [N] 4 Fz_e [N] 5 Mx_e [Nm] 6 My_e [Nm] 7 Mz_e [Nm] 8 Fx_r [N] 9 Fy_r [N] 10 Fz_r [N] 11 Mx_r [Nm] 12 My_r [Nm] 13 Mz_r [Nm] 14
0.100000E-01 2 -0.622052E+05 0.438696E+06 -0.384119E+05 -0.248711E+08 -0.389263E+07 0.127846E+06 0.496814E+05 0.441617E+06 -0.174608E+05 -0.250536E+08 0.245221E+07 0.212624E+06
0.300003E+01 3 -0.620667E+05 0.438498E+06 -0.380663E+05 -0.235602E+08 -0.370277E+07 0.185977E+06 0.497759E+05 0.441360E+06 -0.174729E+05 -0.237377E+08 0.230367E+07 0.206941E+06
0.600004E+01 4 -0.611646E+05 0.437987E+06 -0.383439E+05 -0.222481E+08 -0.351061E+07 -0.130870E+05 0.500466E+05 0.440719E+06 -0.175026E+05 -0.224192E+08 0.215392E+07 0.204103E+06
0.700027E+01 5 -0.180624E+06 0.403245E+06 -0.357113E+05 -0.199872E+08 -0.938520E+07 0.199900E+06 0.502173E+05 0.440088E+06 -0.175304E+05 -0.219805E+08 0.210361E+07 0.198914E+06
0.870176E+01 6 -0.325300E+06 0.297977E+06 -0.365138E+05 -0.140969E+08 -0.160092E+08 -0.386728E+05 0.502345E+05 0.439445E+06 -0.175573E+05 -0.212345E+08 0.201833E+07 0.197904E+06
0.104085E+02 7 -0.279077E+06 0.340275E+06 -0.361055E+05 -0.156648E+08 -0.133421E+08 0.383527E+06 0.500802E+05 0.438357E+06 -0.176043E+05 -0.204884E+08 0.193274E+07 0.188176E+06
0.122171E+02 8 -0.227266E+06 0.375108E+06 -0.357783E+05 -0.167190E+08 -0.105811E+08 0.220570E+06 0.497025E+05 0.436867E+06 -0.176758E+05 -0.197002E+08 0.184337E+07 0.194135E+06
0.132226E+02 9 -0.185485E+06 0.395801E+06 -0.355806E+05 -0.173555E+08 -0.854972E+07 0.184848E+06 0.492703E+05 0.435415E+06 -0.177508E+05 -0.192636E+08 0.179406E+07 0.193506E+06
0.150319E+02 10 -0.129632E+06 0.415559E+06 -0.360892E+05 -0.176079E+08 -0.586263E+07 0.271971E+06 0.487038E+05 0.433711E+06 -0.178448E+05 -0.184807E+08 0.170610E+07 0.191629E+06
0.182408E+02 11 -0.864420E+05 0.423066E+06 -0.346223E+05 -0.167559E+08 -0.376718E+07 0.945920E+05 0.475690E+05 0.430194E+06 -0.180407E+05 -0.171029E+08 0.155387E+07 0.195379E+06
0.214384E+02 12 -0.624948E+05 0.421057E+06 -0.348023E+05 -0.155916E+08 -0.263288E+07 -0.137352E+06 0.459020E+05 0.424219E+06 -0.183572E+05 -0.157491E+08 0.140705E+07 0.185285E+06
0.246337E+02 13 -0.457317E+05 0.414036E+06 -0.344996E+05 -0.143634E+08 -0.182409E+07 0.291949E+06 0.437696E+05 0.415257E+06 -0.187830E+05 -0.144254E+08 0.126636E+07 0.155577E+06
0.278269E+02 14 -0.343955E+05 0.403940E+06 -0.331452E+05 -0.131194E+08 -0.133990E+07 -0.123767E+05 0.414863E+05 0.404176E+06 -0.192494E+05 -0.131376E+08 0.113479E+07 0.166556E+06
0.310224E+02 15 -0.279949E+05 0.392282E+06 -0.302454E+05 -0.118859E+08 -0.103972E+07 -0.670281E+05 0.391743E+05 0.391996E+06 -0.197000E+05 -0.118878E+08 0.100902E+07 0.148617E+06
0.342167E+02 16 -0.185906E+05 0.380085E+06 -0.263594E+05 -0.106954E+08 -0.677264E+06 -0.206935E+04 0.368532E+05 0.379134E+06 -0.201058E+05 -0.106791E+08 0.890355E+06 0.126123E+06
0.402160E+02 17 -0.685763E+04 0.360456E+06 -0.214807E+05 -0.854101E+07 -0.277868E+06 -0.233058E+05 0.335137E+05 0.359013E+06 -0.205812E+05 -0.851736E+07 0.686397E+06 0.100289E+06
0.466212E+02 18 0.288211E+04 0.329444E+06 -0.162535E+05 -0.643263E+07 -0.174428E+05 -0.163468E+05 0.289959E+05 0.327911E+06 -0.209723E+05 -0.641294E+07 0.498375E+06 0.712351E+05
0.530293E+02 19 0.957342E+04 0.291768E+06 -0.110402E+05 -0.455934E+07 0.105941E+06 -0.597343E+04 0.243115E+05 0.290372E+06 -0.208635E+05 -0.454759E+07 0.340565E+06 0.481261E+05
0.594400E+02 20 0.130302E+05 0.248172E+06 -0.613468E+04 -0.296261E+07 0.131287E+06 0.228321E+04 0.196177E+05 0.247012E+06 -0.199175E+05 -0.295769E+07 0.213013E+06 0.315960E+05
0.658541E+02 21 0.134737E+05 0.198976E+06 -0.227762E+04 -0.168109E+07 0.101216E+06 0.635806E+04 0.149369E+05 0.198088E+06 -0.177799E+05 -0.168003E+07 0.115775E+06 0.204900E+05
0.722716E+02 22 0.116792E+05 0.145114E+06 -0.102306E+02 -0.745821E+06 0.541563E+05 0.103447E+05 0.103052E+05 0.144521E+06 -0.142118E+05 -0.746169E+06 0.485638E+05 0.127315E+05
0.790961E+02 23 0.733001E+04 0.864063E+05 -0.862422E+02 -0.150278E+06 0.108476E+05 0.813612E+04 0.568600E+04 0.860561E+05 -0.904493E+04 -0.150362E+06 0.894962E+04 0.886136E+04
0.806018E+02 24 0.404287E+04 0.490074E+05 -0.124788E+03 -0.109514E+06 0.842750E+04 0.601819E+04 0.297428E+04 0.488032E+05 -0.524285E+04 -0.109643E+06 0.668573E+04 0.584939E+04
0.821087E+02 25 0.293909E+04 0.358633E+05 -0.130286E+03 -0.554273E+05 0.421281E+04 0.492844E+04 0.208787E+04 0.357155E+05 -0.385744E+04 -0.555078E+05 0.339759E+04 0.464450E+04
0.836161E+02 26 0.186597E+04 0.232959E+05 -0.109762E+03 -0.203544E+05 0.148578E+04 0.331406E+04 0.128006E+04 0.231993E+05 -0.251905E+04 -0.203552E+05 0.132876E+04 0.337529E+04
0.851232E+02 27 0.894700E+03 0.117981E+05 -0.433425E+02 -0.276479E+04 0.165021E+03 0.159779E+04 0.590480E+03 0.117470E+05 -0.128699E+04 -0.265445E+04 0.275661E+03 0.176129E+04
0.864694E+02 28 0.196980E+03 0.293411E+04 -0.108366E+02 0.696288E+03 -0.506722E+02 0.363140E+03 0.119285E+03 0.292054E+04 -0.322720E+03 0.737379E+03 -0.504743E+01 0.274776E+03
This diff is collapsed.
# s [m] 1 Element no [-] 2 pos_xR [m] 3 pos_yR [m] 4 pos_zR [m] 5 Elem angle [rad] 6 Elem v_1 [-] 7 Elem v_2 [-] 8 Elem v_3 [-] 9 Node 1 angle [rad] 10 Node 1 v_1 [-] 11 Node 1 v_2 [-] 12 Node 1 v_3 [-] 13 Node 2 angle [rad] 14 Node 2 v_1 [-] 15 Node 2 v_2 [-] 16 Node 2 v_3 [-] 17 Elongation [m] 18
0.1000000000000000E-01 1 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.1581720748334171E+00 -0.1252525828090220E-02 0.5009197628077356E-05 -0.9999992155766756E+00 0.1979097375561801E-03 0.9971823029593873E+00 0.7501619309174899E-01 -0.1093964306656607E-03 0.1936676353146043E-03 0.9971659682539831E+00 0.7523326475802933E-01 0.9696524349262792E-04 0.5957071812241060E-06
0.3000027716563378E+01 2 0.1642544242645871E-06 0.1972387749673990E-05 0.1000059551132814E-01 0.2531423654693439E+00 0.1528202722592904E-01 -0.3085144615482638E-02 -0.9998784633777184E+00 0.8183508178185977E-03 0.9856014621746311E+00 0.1688444549654974E+00 -0.9017147085587327E-02 0.4093809839369353E-03 -0.9890395138408292E+00 -0.1465490449883605E+00 0.1800606074137397E-01 0.1761543996638970E-03
0.6000041734190423E+01 3 -0.3766423178687979E-02 -0.1114859699860099E-01 0.3000181303686746E+01 0.2529742691274434E+00 0.1233520397951033E-01 -0.1289086087246781E-01 -0.9998408215554879E+00 0.7976656488811755E-03 0.9858139085971006E+00 0.1673067124519329E+00 -0.1339412004693096E-01 0.3761057778473889E-03 -0.9871140284239134E+00 -0.1574804730755604E+00 0.2838650000498641E-01 0.1736114062951266E-03
0.7000271418919271E+01 4 -0.1462387301605233E-01 -0.1918037278858609E-01 0.6000338535527540E+01 0.2526821335524182E+00 0.1438069345042819E-01 0.2212181282914732E-01 -0.9996518499222883E+00 0.4290969485643005E-03 0.9844870474302937E+00 0.1754534702131119E+00 0.1155587183458647E-02 0.2354724850243057E-04 0.9307331385350871E+00 0.3650689356110729E+00 -0.2145377672573980E-01 0.5909577833551616E-04
0.8701763021717801E+01 5 -0.9548408962055584E-02 -0.2347903880267432E-01 0.7000605202743904E+01 0.5347203884733629E+00 -0.2997332854786683E-02 -0.8603801153347039E-02 -0.9999584944393811E+00 0.6262975844698961E-03 0.9053370452656561E+00 0.4245202924629912E+00 -0.1213901005414290E-01 0.1233011473896562E-03 -0.9248306408914695E+00 -0.3753815707537404E+00 0.6145737691049351E-01 0.1035159624309667E-03
0.1040850079628084E+02 6 -0.1629714673363100E-01 -0.1883642864626495E-01 0.8702180604805919E+01 0.9439316523310755E+00 -0.3129523837826997E-02 0.6987150804038404E-02 -0.9999706924726296E+00 0.6983751344495495E-03 0.6990452062075777E+00 0.7150498469881501E+00 0.6286313860634241E-02 0.1261480734361052E-03 -0.8080711301347540E+00 -0.5880366840223720E+00 -0.3512747982779760E-01 0.1080876596986080E-03
0.1221714185677281E+02 7 -0.4430523606519183E-02 -0.1944037027268947E-01 0.1040898510910604E+02 0.7999491723227071E+00 0.3256168340195651E-02 -0.1728176730248817E-01 -0.9998453569860910E+00 0.8612461383030364E-03 0.8285872880733496E+00 0.5593062488086346E+00 -0.2489230509183344E-01 0.1825487611820551E-03 -0.8142425617140202E+00 -0.5685821364540720E+00 0.1171469123301747E+00 0.1206526729571333E-03
0.1322263387610731E+02 8 -0.2863875817398900E-01 -0.1418720780794724E-01 0.1221757718602036E+02 0.6578865580918504E+00 -0.1424002793929857E-02 -0.8950676857561173E-02 -0.9999589279564594E+00 0.7392027592896892E-03 0.9066940755605909E+00 0.4217553297028188E+00 -0.5319280111748110E-02 0.5265121564888148E-04 0.9239806003004130E+00 0.3753006064499599E+00 0.7354901836048115E-01 0.6933597804015257E-04
0.1503187355187086E+02 9 -0.3384319959282073E-01 -0.1143322340841924E-01 0.1322312130174005E+02 0.5509372567793474E+00 -0.3666656461563566E-02 -0.7417619603902931E-02 -0.9999657666889439E+00 0.1182286785741451E-02 0.9495693053563803E+00 0.3135542807606300E+00 0.1359528001347989E-02 0.2642336460043138E-03 -0.9420945574850691E+00 -0.3352878779062760E+00 -0.6316286372530983E-02 0.1266773898567219E-03
0.1824077992511038E+02 10 -0.3988738660231354E-01 -0.5974438433401397E-02 0.1503246932503406E+02 0.4138967620438695E+00 -0.1718892171490765E-02 -0.2064703458835893E-01 -0.9997853496488178E+00 0.2253413264982063E-02 0.9823343006539123E+00 0.1871282385107864E+00 -0.1531047509239844E-02 0.1062879134898192E-02 -0.9803709852130448E+00 -0.1971359221153717E+00 0.3187517027885291E-02 0.2335842676473021E-03
0.2143844424534061E+02 11 -0.6606984557893278E-01 0.1837743157957594E-02 0.1824149296401618E+02 0.3121767171200429E+00 -0.1638593584368783E-01 0.5092157358420077E-02 -0.9998527746823340E+00 0.2849296743417799E-02 0.9925592419532074E+00 0.1184841803883586E+00 0.2806510790696540E-01 0.1421231263813160E-02 -0.9930957392754793E+00 -0.1029063485628202E+00 -0.5631283944919391E-01 0.2506416984608961E-03
0.2463372253480342E+02 12 -0.5853613721650198E-01 0.1714470779113098E-01 0.2143936241785870E+02 0.2573852427351832E+00 -0.1994156955376372E-01 0.6359884089564170E-01 -0.9977762881730987E+00 0.3423641329683507E-02 0.9923713960414110E+00 0.8997821180110188E-01 0.8427890466707817E-01 0.1794230201055558E-02 -0.9855456938124078E+00 -0.5312641944928276E-01 -0.1608641333126031E+00 0.2651517189589114E-03
0.2782687059672809E+02 13 -0.4708166558402113E-02 0.2668603763299227E-01 0.2463443822245262E+02 0.2146749244018029E+00 -0.2651244951837950E-01 -0.6232534757125296E-01 -0.9977036840017550E+00 0.4006214528453690E-02 0.9983918325410275E+00 0.5514690700582760E-01 -0.1313649285834536E-01 0.2193639022362007E-02 -0.9989003771372439E+00 -0.4029613903792238E-01 0.2396367837085299E-01 0.2723706293701333E-03
0.3102237659735258E+02 14 -0.4516874151752751E-01 0.4928042046958625E-01 0.2782752238902515E+02 0.1888420913429391E+00 -0.4817200904361239E-01 0.5162353945093000E-01 -0.9975041191490369E+00 0.4518704774015439E-02 0.9961377025162572E+00 0.4571297530555758E-01 0.7496666935584377E-01 0.2628460163443630E-02 -0.9914979011513546E+00 -0.1774282318321487E-01 -0.1289073472543885E+00 0.2660057297614316E-03
0.3421665012867821E+02 15 -0.1146897241936012E-01 0.7525396777872673E-01 0.3102301114929782E+02 0.1737354039472654E+00 -0.9464281435034931E-01 0.8273024642308205E-01 -0.9920677618079596E+00 0.4992586215226078E-02 0.9947349337424524E+00 0.3786945232391481E-01 0.9522770715855090E-01 0.3008752956532680E-02 -0.9873481054494950E+00 -0.1291016071180312E-01 -0.1580412806236732E+00 0.2579377383682413E-03
0.4021597872082173E+02 16 0.3873127967320857E-01 0.1235701892873278E+00 0.3421678271036794E+02 0.1494162743260572E+00 -0.1795441299222726E+00 0.5760746604255465E-01 -0.9820617522674655E+00 0.9992748138304256E-02 0.9966450992348819E+00 0.2176829898775773E-01 0.7889668765261458E-01 0.7335092207129834E-02 -0.9940868621303213E+00 -0.1538836590179935E-01 -0.1074919008472466E+00 0.4600004514045963E-03
0.4662115166526345E+02 17 0.1019694842930053E+00 0.2801452722610889E+00 0.4021419451287240E+02 0.1208748854713345E+00 -0.3355101971489429E+00 0.9874666364310201E-01 -0.9368468412864807E+00 0.1292831663260515E-01 0.9957017885124539E+00 0.9767470808056037E-02 0.9210073219309702E-01 0.9656467542046198E-02 -0.9923403972822695E+00 -0.7411533846692219E-02 -0.1233110096169499E+00 0.4531978133979209E-03
0.5302930575614984E+02 18 0.1929318646924971E+00 0.5349679475094862E+00 0.4661410369379219E+02 0.9957334581215924E-01 -0.5751762242817842E+00 0.1244152881372695E+00 -0.8085129232725954E+00 0.1543861574016671E-01 0.9959624388220668E+00 -0.7574106541910151E-05 0.8977093292250343E-01 0.1153344696157107E-01 -0.9927536250487221E+00 -0.6578045742872741E-03 -0.1201657490696722E+00 0.4107350587476688E-03
0.5944002225373877E+02 19 0.2869549264688854E+00 0.8982013306615821E+00 0.5301167544420852E+02 0.9319111378216556E-01 -0.8217061812285272E+00 0.1327554661474658E+00 -0.5542336492301139E+00 0.1756392146750973E-01 0.9966195052313377E+00 -0.7843142780608790E-02 0.8178047997724432E-01 0.1296291357757680E-01 -0.9938291253926579E+00 0.5190319037119890E-02 -0.1108004066497350E+00 0.3628565327788991E-03
0.6585405181409229E+02 20 0.3788247584766748E+00 0.1386377201273159E+01 0.5940348135008055E+02 0.1029664445190838E+00 -0.9558114448462710E+00 0.1213068545387936E+00 -0.2677856025682875E+00 0.1895074585214260E-01 0.9973400987906705E+00 -0.1426580022825759E-01 0.7147876809349017E-01 0.1355180387114826E-01 -0.9949384508301500E+00 0.1044585907531454E-01 -0.9994179851286283E-01 0.3136068552631599E-03
0.7227162425796887E+02 21 0.4674972394169647E+00 0.2015435983171767E+01 0.6578628798250797E+02 0.1217251712778462E+00 -0.9917347327552511E+00 0.1085025810882727E+00 -0.6847926506719793E-01 0.1952894359183652E-01 0.9977476097585600E+00 -0.1868762869881552E-01 0.6442421714034885E-01 0.1313098757311434E-01 -0.9953002204590911E+00 0.1419235762057446E-01 -0.9579169138327800E-01 0.2625151874688925E-03
0.7909609719728093E+02 22 0.5552766543365004E+00 0.2787926429699397E+01 0.7215685772518636E+02 0.1415014447547772E+00 -0.9955226140902559E+00 0.7130384867049212E-01 0.6205228440368667E-01 0.1898320937199168E-01 0.9988423011676827E+00 -0.2058169582245570E-01 0.4347931918144051E-01 0.1065104011499267E-01 -0.9968700420667719E+00 0.1587017887100748E-01 -0.7744841285387848E-01 0.2142630859989225E-03
0.8060184206428970E+02 23 0.6196917922659049E+00 0.3746402486383171E+01 0.7891359730501267E+02 0.1481627474829670E+00 -0.9891281098920218E+00 0.8100820702829759E-01 0.1227324432067504E+00 0.3245849176048589E-02 0.9985981181316443E+00 -0.2282278042686098E-01 0.4775896968615797E-01 0.1390251789392073E-02 -0.9937565215322347E+00 0.4465497835337153E-02 -0.1114811019037393E+00 0.3172754432001490E-04
0.8210874792071280E+02 24 0.6356959260498970E+00 0.3966434491195867E+01 0.8040312506147653E+02 0.1494468610162167E+00 -0.9888471270855952E+00 0.4091124780854070E-01 0.1432048499785049E+00 0.2774143043094783E-02 0.9990353162726682E+00 -0.2150391945889328E-01 0.3828861748066711E-01 0.1044914107149095E-02 -0.9948212246146633E+00 0.1549660609893319E-02 -0.1016283950415776E+00 0.2655524775119211E-04
0.8361612636375484E+02 25 0.6424965704300474E+00 0.4188399488284412E+01 0.8189360504613276E+02 0.1494311327755315E+00 -0.9872935041190730E+00 0.1693289705734296E-01 0.1580025750471675E+00 0.2219709419724010E-02 0.9991198317008191E+00 -0.1856836086627572E-01 0.3761353428614069E-01 0.6963808434670491E-03 -0.9927819147754040E+00 -0.3942797495253256E-02 -0.1198687840922344E+00 0.2068605689453662E-04
0.8512324587594718E+02 26 0.6436760758570516E+00 0.4410007896964454E+01 0.8338462498442701E+02 0.1488837281126082E+00 -0.9838883952461851E+00 0.7156962867745140E-01 0.1638334945940457E+00 0.1602780570856442E-02 0.9985006915774901E+00 -0.1440220437188664E-01 0.5281047124607827E-01 0.3420099303359101E-03 -0.9688025108209810E+00 -0.1355640136406891E-01 -0.2474629730926469E+00 0.1480177388990533E-04
0.8646937203114588E+02 27 0.6569885744187199E+00 0.4630161207452426E+01 0.8487553381383671E+02 0.1616895536852675E+00 -0.8955323919774116E+00 0.4266475718522915E+00 0.1264657437876259E+00 0.6316460414236690E-03 0.9939530820683576E+00 -0.7915066229085152E-02 0.1095199730345992E+00 0.7139656234036121E-04 0.2463052311044225E+00 -0.2342700217644817E-01 -0.9689091102549057E+00 0.6159368197033999E-05
# s [m] 1 Node [-] 2 Fx_e [N] 3 Fy_e [N] 4 Fz_e [N] 5 Mx_e [Nm] 6 My_e [Nm] 7 Mz_e [Nm] 8 Fx_r [N] 9 Fy_r [N] 10 Fz_r [N] 11 Mx_r [Nm] 12 My_r [Nm] 13 Mz_r [Nm] 14
0.1000000000000000E-01 2 -0.6220519479112588E+05 0.4386959110844825E+06 -0.3841193782411448E+05 -0.2487113875315152E+08 -0.3892625239366227E+07 0.1278456004660936E+06 0.4968143643374329E+05 0.4416174154554460E+06 -0.1746078088040680E+05 -0.2505362040043254E+08 0.2452206033641757E+07 0.2126241512809403E+06
0.3000027716563378E+01 3 -0.6206666039614371E+05 0.4384981968553886E+06 -0.3806633503703626E+05 -0.2356018457927083E+08 -0.3702765397855537E+07 0.1859773797060649E+06 0.4977592399812499E+05 0.4413604409534044E+06 -0.1747293315111940E+05 -0.2373768416809377E+08 0.2303667194091423E+07 0.2069405263396266E+06
0.6000041734190423E+01 4 -0.6116455727139746E+05 0.4379868450577608E+06 -0.3834391653221281E+05 -0.2224811505911673E+08 -0.3510613308656475E+07 -0.1308701325961735E+05 0.5004655298331730E+05 0.4407185470549610E+06 -0.1750257869930861E+05 -0.2241923645514955E+08 0.2153921850171830E+07 0.2041033757871685E+06
0.7000271418919271E+01 5 -0.1806238560585013E+06 0.4032448229232375E+06 -0.3571131761010167E+05 -0.1998716586368677E+08 -0.9385204413457580E+07 0.1998999809553981E+06 0.5021730590826500E+05 0.4400881394898285E+06 -0.1753038690404563E+05 -0.2198053825643031E+08 0.2103614141497275E+07 0.1989136712757642E+06
0.8701763021717801E+01 6 -0.3252997901745338E+06 0.2979772588444809E+06 -0.3651383244011259E+05 -0.1409692218225806E+08 -0.1600918237014223E+08 -0.3867284230599186E+05 0.5023450718839045E+05 0.4394449864749840E+06 -0.1755728866000100E+05 -0.2123454237690651E+08 0.2018334700732014E+07 0.1979036157163713E+06
0.1040850079628084E+02 7 -0.2790771797710481E+06 0.3402753195866454E+06 -0.3610553974919156E+05 -0.1566479580808431E+08 -0.1334209046613272E+08 0.3835274070571079E+06 0.5008018556208821E+05 0.4383572059647310E+06 -0.1760427170496028E+05 -0.2048837261422299E+08 0.1932738095688366E+07 0.1881756146607006E+06
0.1221714185677281E+02 8 -0.2272658831142912E+06 0.3751078896117142E+06 -0.3577830027075367E+05 -0.1671900077038113E+08 -0.1058105717887323E+08 0.2205696910159309E+06 0.4970246273307010E+05 0.4368672874297383E+06 -0.1767584846892137E+05 -0.1970017039753840E+08 0.1843368324046086E+07 0.1941347506787610E+06
0.1322263387610731E+02 9 -0.1854845376059892E+06 0.3958013645124857E+06 -0.3558061997262844E+05 -0.1735545741829988E+08 -0.8549721995081386E+07 0.1848479715732060E+06 0.4927029436948161E+05 0.4354153900013904E+06 -0.1775079156566224E+05 -0.1926363749687858E+08 0.1794057693751489E+07 0.1935059295372744E+06
0.1503187355187086E+02 10 -0.1296316161854899E+06 0.4155590531001544E+06 -0.3608917991472773E+05 -0.1760789306189526E+08 -0.5862628889136626E+07 0.2719712621803500E+06 0.4870376157767788E+05 0.4337114450670584E+06 -0.1784481609243985E+05 -0.1848066017477731E+08 0.1706095513611641E+07 0.1916286549275333E+06
0.1824077992511038E+02 11 -0.8644199128841216E+05 0.4230656077536433E+06 -0.3462230721029962E+05 -0.1675590960536219E+08 -0.3767176974186298E+07 0.9459195189081630E+05 0.4756897220677060E+05 0.4301943253432284E+06 -0.1804067083665458E+05 -0.1710287647334409E+08 0.1553872660089948E+07 0.1953785794893975E+06
0.2143844424534061E+02 12 -0.6249483341720461E+05 0.4210567504574911E+06 -0.3480226426882942E+05 -0.1559157964486599E+08 -0.2632878001707643E+07 -0.1373518958965843E+06 0.4590200838483182E+05 0.4242188199349993E+06 -0.1835721512618828E+05 -0.1574909952402139E+08 0.1407054235262277E+07 0.1852849134026589E+06
0.2463372253480342E+02 13 -0.4573169405017483E+05 0.4140358185112571E+06 -0.3449961524302161E+05 -0.1436339101956619E+08 -0.1824092557038532E+07 0.2919491308795095E+06 0.4376955963658125E+05 0.4152573830556580E+06 -0.1878301812575313E+05 -0.1442538311545061E+08 0.1266359872659738E+07 0.1555769207593542E+06
0.2782687059672809E+02 14 -0.3439554576166112E+05 0.4039404664174109E+06 -0.3314522797080207E+05 -0.1311935407897311E+08 -0.1339902679426051E+07 -0.1237667474174890E+05 0.4148626355762550E+05 0.4041755949320836E+06 -0.1924937693417659E+05 -0.1313763511015755E+08 0.1134789304557479E+07 0.1665556025836815E+06
0.3102237659735258E+02 15 -0.2799492384543208E+05 0.3922820374716422E+06 -0.3024539786326043E+05 -0.1188592818387464E+08 -0.1039724201567224E+07 -0.6702805925138020E+05 0.3917425743685630E+05 0.3919961515587737E+06 -0.1970003790164724E+05 -0.1188783394989002E+08 0.1009021758699751E+07 0.1486170880290851E+06
0.3421665012867821E+02 16 -0.1859056459720837E+05 0.3800853052490590E+06 -0.2635943865819395E+05 -0.1069543615300678E+08 -0.6772635411337508E+06 -0.2069348188544325E+04 0.3685317067636705E+05 0.3791343686628066E+06 -0.2010578708889669E+05 -0.1067906393205156E+08 0.8903545128524821E+06 0.1261232183052559E+06
0.4021597872082173E+02 17 -0.6857634336389980E+04 0.3604557227314730E+06 -0.2148069416008165E+05 -0.8541009341567198E+07 -0.2778676892251748E+06 -0.2330578883392693E+05 0.3351373332287033E+05 0.3590125609753747E+06 -0.2058120892731512E+05 -0.8517358449983422E+07 0.6863973985564703E+06 0.1002887388010149E+06
0.4662115166526345E+02 18 0.2882111205255561E+04 0.3294442102788463E+06 -0.1625346474089156E+05 -0.6432629929339478E+07 -0.1744276743108776E+05 -0.1634682817897259E+05 0.2899586056022919E+05 0.3279106172683241E+06 -0.2097227981089102E+05 -0.6412943712019775E+07 0.4983751482388820E+06 0.7123506804955690E+05
0.5302930575614984E+02 19 0.9573419156752965E+04 0.2917678030946885E+06 -0.1104016591473938E+05 -0.4559344690686118E+07 0.1059410106910547E+06 -0.5973430845032494E+04 0.2431151970269777E+05 0.2903715733917260E+06 -0.2086350680626132E+05 -0.4547590816704739E+07 0.3405654596667597E+06 0.4812608083326022E+05
0.5944002225373877E+02 20 0.1303016075969083E+05 0.2481716661471129E+06 -0.6134678411396699E+04 -0.2962608733394106E+07 0.1312871625336753E+06 0.2283208336557087E+04 0.1961772451275499E+05 0.2470122124378896E+06 -0.1991750582750277E+05 -0.2957688123228143E+07 0.2130133705055405E+06 0.3159602812478947E+05
0.6585405181409229E+02 21 0.1347365295358376E+05 0.1989757717276148E+06 -0.2277623652335125E+04 -0.1681085707137297E+07 0.1012163684084916E+06 0.6358060476400325E+04 0.1493693190246069E+05 0.1980879821463922E+06 -0.1777987689981343E+05 -0.1680032939941479E+07 0.1157748439460740E+06 0.2048997646325784E+05
0.7227162425796887E+02 22 0.1167921736253658E+05 0.1451142382890254E+06 -0.1023056715712573E+02 -0.7458206033590892E+06 0.5415627287329726E+05 0.1034467775716207E+05 0.1030519834371510E+05 0.1445211930672798E+06 -0.1421175635136359E+05 -0.7461687185649794E+06 0.4856376358130042E+05 0.1273149432207982E+05
0.7909609719728093E+02 23 0.7330007872796113E+04 0.8640630520917765E+05 -0.8624222759963800E+02 -0.1502776984582057E+06 0.1084759243684640E+05 0.8136118495975844E+04 0.5685997869424858E+04 0.8605605522130798E+05 -0.9044933444913004E+04 -0.1503616770682211E+06 0.8949615714741156E+04 0.8861364883475146E+04
0.8060184206428970E+02 24 0.4042872467612217E+04 0.4900738599639626E+05 -0.1247876969311650E+03 -0.1095139829120225E+06 0.8427499964315701E+04 0.6018194927618080E+04 0.2974278436109421E+04 0.4880318134706967E+05 -0.5242845615673446E+04 -0.1096432376792566E+06 0.6685725181602875E+04 0.5849392201823506E+04
0.8210874792071280E+02 25 0.2939088629082651E+04 0.3586333731552351E+05 -0.1302859506681176E+03 -0.5542733837781249E+05 0.4212811294526341E+04 0.4928442061922298E+04 0.2087874438811689E+04 0.3571547463389449E+05 -0.3857438503676456E+04 -0.5550776615399592E+05 0.3397592848856140E+04 0.4644504198019948E+04
0.8361612636375484E+02 26 0.1865972386954317E+04 0.2329586116258260E+05 -0.1097616319823834E+03 -0.2035438429729204E+05 0.1485778936605411E+04 0.3314057299664242E+04 0.1280056623594766E+04 0.2319928591219333E+05 -0.2519054599615964E+04 -0.2035517887099387E+05 0.1328762316741204E+04 0.3375286475616193E+04
0.8512324587594718E+02 27 0.8947004134002606E+03 0.1179809436721369E+05 -0.4334250846938707E+02 -0.2764788729538687E+04 0.1650211680775192E+03 0.1597790363614786E+04 0.5904804478758647E+03 0.1174701577186372E+05 -0.1286993161126587E+04 -0.2654446976586075E+04 0.2756609575415551E+03 0.1761290730112945E+04
0.8646937203114588E+02 28 0.1969797826219535E+03 0.2934114545323812E+04 -0.1083662925064995E+02 0.6962876954748293E+03 -0.5067218460989268E+02 0.3631401551918350E+03 0.1192852275557883E+03 0.2920542698133473E+04 -0.3227197162353349E+03 0.7373787486577517E+03 -0.5047425413920145E+01 0.2747764582391104E+03
This diff is collapsed.
# s [m] 1 Element no [-] 2 pos_xR [m] 3 pos_yR [m] 4 pos_zR [m] 5 Elem angle [rad] 6 Elem v_1 [-] 7 Elem v_2 [-] 8 Elem v_3 [-] 9 Node 1 angle [rad] 10 Node 1 v_1 [-] 11 Node 1 v_2 [-] 12 Node 1 v_3 [-] 13 Node 2 angle [rad] 14 Node 2 v_1 [-] 15 Node 2 v_2 [-] 16 Node 2 v_3 [-] 17 Elongation [m] 18
0.100000E-01 1 0.000000E+00 0.000000E+00 0.000000E+00 0.180551E-03 -0.906250E+00 0.161513E+00 0.390672E+00 0.166203E-03 0.984481E+00 -0.175491E+00 -0.110425E-03 0.162571E-03 0.984283E+00 -0.176601E+00 0.141697E-03 0.465692E-06
0.300003E+01 2 0.291569E-06 0.163633E-05 0.100005E-01 0.137092E+00 0.309030E-01 -0.142463E-01 -0.999421E+00 0.696015E-03 0.999890E+00 0.892819E-02 -0.118121E-01 0.356428E-03 -0.999481E+00 -0.224869E-01 0.230666E-01 0.137658E-03
0.600004E+01 3 -0.668788E-02 -0.122273E-01 0.300014E+01 0.253119E+00 0.120696E-01 -0.882080E-02 -0.999888E+00 0.679888E-03 0.990868E+00 0.134197E+00 -0.130890E-01 0.327950E-03 -0.990599E+00 -0.134079E+00 0.271230E-01 0.135711E-03
0.700027E+01 4 -0.144687E-01 -0.204521E-01 0.600026E+01 0.252665E+00 0.159897E-01 0.224978E-01 -0.999619E+00 0.363632E-03 0.990337E+00 0.138681E+00 0.379259E-03 0.146951E-04 0.970285E+00 0.241771E+00 -0.972861E-02 0.461916E-04
0.870176E+01 5 -0.935065E-02 -0.251647E-01 0.700051E+01 0.534719E+00 -0.210992E-02 -0.826643E-02 -0.999964E+00 0.533634E-03 0.918687E+00 0.394755E+00 -0.135491E-01 0.111734E-03 -0.926966E+00 -0.369548E+00 0.645632E-01 0.809131E-04
0.104085E+02 6 -0.160175E-01 -0.213718E-01 0.870206E+01 0.943930E+00 -0.255426E-02 0.734472E-02 -0.999970E+00 0.597675E-03 0.722325E+00 0.691536E+00 0.504627E-02 0.115240E-03 -0.807329E+00 -0.589510E+00 -0.264255E-01 0.844976E-04
0.122171E+02 7 -0.406268E-02 -0.230232E-01 0.104088E+02 0.799950E+00 0.411750E-02 -0.168557E-01 -0.999849E+00 0.740331E-03 0.844436E+00 0.535001E+00 -0.265055E-01 0.165070E-03 -0.823621E+00 -0.554590E+00 0.118651E+00 0.942836E-04
0.132226E+02 8 -0.281902E-01 -0.191212E-01 0.122174E+02 0.657885E+00 -0.167295E-03 -0.846026E-02 -0.999964E+00 0.634601E-03 0.917830E+00 0.396918E+00 -0.669769E-02 0.387405E-04 0.950090E+00 0.292442E+00 0.108662E+00 0.541906E-04
0.150319E+02 9 -0.333567E-01 -0.172429E-01 0.132229E+02 0.550931E+00 -0.187306E-02 -0.686577E-02 -0.999975E+00 0.101924E-02 0.956564E+00 0.291521E+00 -0.630634E-03 0.237827E-03 -0.946541E+00 -0.322573E+00 0.252893E-02 0.990068E-04
0.182408E+02 10 -0.393582E-01 -0.136308E-01 0.150323E+02 0.413883E+00 0.150835E-02 -0.200023E-01 -0.999799E+00 0.194854E-02 0.985534E+00 0.169420E+00 -0.439122E-02 0.934698E-03 -0.983219E+00 -0.182204E+00 0.911144E-02 0.182512E-03
0.214384E+02 11 -0.655817E-01 -0.101588E-01 0.182413E+02 0.312112E+00 -0.104333E-01 0.583039E-02 -0.999929E+00 0.246584E-02 0.994426E+00 0.102608E+00 0.242437E-01 0.124712E-02 -0.994517E+00 -0.929295E-01 -0.479686E-01 0.195867E-03
0.246337E+02 12 -0.582446E-01 -0.814315E-03 0.214391E+02 0.257237E+00 -0.102545E-01 0.644339E-01 -0.997869E+00 0.296549E-02 0.994004E+00 0.746658E-01 0.798774E-01 0.157111E-02 -0.987442E+00 -0.470795E-01 -0.150802E+00 0.207203E-03
0.278269E+02 13 -0.478645E-02 0.761867E-03 0.246341E+02 0.214456E+00 -0.113811E-01 -0.616473E-01 -0.998033E+00 0.347589E-02 0.998949E+00 0.420130E-01 -0.183268E-01 0.192399E-02 -0.998821E+00 -0.355126E-01 0.330938E-01 0.212652E-03
0.310224E+02 14 -0.458509E-01 0.129973E-01 0.278272E+02 0.188432E+00 -0.264487E-01 0.523940E-01 -0.998276E+00 0.392487E-02 0.997015E+00 0.334868E-01 0.695648E-01 0.230155E-02 -0.992820E+00 -0.152356E-01 -0.118647E+00 0.207725E-03
0.342166E+02 15 -0.129934E-01 0.258712E-01 0.310227E+02 0.172917E+00 -0.657074E-01 0.836291E-01 -0.994328E+00 0.434330E-02 0.995663E+00 0.265124E-01 0.891714E-01 0.263394E-02 -0.989073E+00 -0.104139E-01 -0.147056E+00 0.201431E-03
0.402160E+02 16 0.360842E-01 0.580247E-01 0.342167E+02 0.147715E+00 -0.136130E+00 0.583324E-01 -0.988972E+00 0.871705E-02 0.997369E+00 0.129858E-01 0.713243E-01 0.641770E-02 -0.995243E+00 -0.102100E-01 -0.968827E-01 0.359113E-03
0.466211E+02 17 0.963895E-01 0.174462E+00 0.402149E+02 0.117071E+00 -0.267504E+00 0.100865E+00 -0.958263E+00 0.113003E-01 0.996497E+00 0.225618E-02 0.836029E-01 0.845420E-02 -0.993733E+00 -0.250706E-02 -0.111748E+00 0.353683E-03
0.530293E+02 18 0.183095E+00 0.370367E+00 0.466169E+02 0.916302E-01 -0.490523E+00 0.131938E+00 -0.861382E+00 0.135153E-01 0.996737E+00 -0.674629E-02 0.804365E-01 0.101019E-01 -0.994185E+00 0.408678E-02 -0.107612E+00 0.320386E-03
0.594400E+02 19 0.271821E+00 0.654949E+00 0.530184E+02 0.791948E-01 -0.766288E+00 0.150187E+00 -0.624697E+00 0.153876E-01 0.997326E+00 -0.142174E-01 0.716835E-01 0.113516E-01 -0.995219E+00 0.998785E-02 -0.971604E-01 0.282878E-03
0.658540E+02 20 0.357613E+00 0.104171E+01 0.594171E+02 0.832594E-01 -0.944125E+00 0.142278E+00 -0.297298E+00 0.165987E-01 0.997947E+00 -0.204621E-01 0.606868E-01 0.118546E-01 -0.996266E+00 0.153465E-01 -0.849571E-01 0.244339E-03
0.722716E+02 21 0.439745E+00 0.154440E+01 0.658112E+02 0.977202E-01 -0.990648E+00 0.127085E+00 -0.496656E-01 0.170809E-01 0.998283E+00 -0.245105E-01 0.531945E-01 0.114618E-01 -0.996676E+00 0.188919E-01 -0.792480E-01 0.204394E-03
0.790961E+02 22 0.520826E+00 0.216450E+01 0.721984E+02 0.113987E+00 -0.990400E+00 0.803087E-01 0.112508E+00 0.165617E-01 0.999149E+00 -0.256641E-01 0.322779E-01 0.926689E-02 -0.998137E+00 0.200219E-01 -0.576392E-01 0.166584E-03
0.806018E+02 23 0.578229E+00 0.293368E+01 0.789793E+02 0.119461E+00 -0.977664E+00 0.918467E-01 0.189045E+00 0.282297E-02 0.998949E+00 -0.282967E-01 0.360693E-01 0.120361E-02 -0.996406E+00 0.476164E-02 -0.845724E-01 0.246312E-04
0.821087E+02 24 0.592728E+00 0.310932E+01 0.804747E+02 0.120371E+00 -0.975849E+00 0.419656E-01 0.214376E+00 0.240969E-02 0.999308E+00 -0.264324E-01 0.261817E-01 0.903176E-03 -0.997558E+00 0.138805E-02 -0.698272E-01 0.205858E-04
0.836161E+02 25 0.598041E+00 0.328600E+01 0.819712E+02 0.120103E+00 -0.972299E+00 0.120645E-01 0.233429E+00 0.192509E-02 0.999426E+00 -0.228191E-01 0.250409E-01 0.600034E-03 -0.996757E+00 -0.502320E-02 -0.803126E-01 0.160097E-04
0.851232E+02 26 0.597755E+00 0.346163E+01 0.834684E+02 0.119412E+00 -0.966731E+00 0.801482E-01 0.242914E+00 0.138722E-02 0.999074E+00 -0.179981E-01 0.390736E-01 0.290175E-03 -0.982257E+00 -0.170006E-01 -0.186769E+00 0.114338E-04
0.864694E+02 27 0.609625E+00 0.363541E+01 0.849654E+02 0.135036E+00 -0.842446E+00 0.503154E+00 0.192668E+00 0.542075E-03 0.995652E+00 -0.110606E-01 0.924882E-01 0.529588E-04 0.319545E+00 -0.413808E-01 -0.946667E+00 0.476688E-05
# s [m] 1 Node [-] 2 Fx_e [N] 3 Fy_e [N] 4 Fz_e [N] 5 Mx_e [Nm] 6 My_e [Nm] 7 Mz_e [Nm] 8 Fx_r [N] 9 Fy_r [N] 10 Fz_r [N] 11 Mx_r [Nm] 12 My_r [Nm] 13 Mz_r [Nm] 14
0.100000E-01 2 0.903877E+03 0.409876E+06 -0.280874E+05 -0.229853E+08 -0.358646E+06 0.149981E+06 0.569427E+05 0.406022E+06 -0.262998E+05 -0.228191E+08 0.278383E+07 0.110327E+06
0.300003E+01 3 -0.464463E+05 0.407028E+06 -0.275609E+05 -0.215719E+08 -0.287957E+07 0.160881E+06 0.570258E+05 0.405765E+06 -0.263008E+05 -0.216060E+08 0.261354E+07 0.112012E+06
0.600004E+01 4 -0.456356E+05 0.406506E+06 -0.279176E+05 -0.203543E+08 -0.273101E+07 -0.183132E+04 0.572605E+05 0.405140E+06 -0.263025E+05 -0.203907E+08 0.244197E+07 0.114007E+06
0.700027E+01 5 -0.156882E+06 0.377330E+06 -0.256259E+05 -0.184109E+08 -0.813331E+07 0.194751E+06 0.574017E+05 0.404549E+06 -0.263030E+05 -0.199863E+08 0.238436E+07 0.111130E+06
0.870176E+01 6 -0.293335E+06 0.283585E+06 -0.262907E+05 -0.131734E+08 -0.142881E+08 -0.237971E+05 0.574033E+05 0.403943E+06 -0.263025E+05 -0.192988E+08 0.228685E+07 0.113590E+06
0.104085E+02 7 -0.249388E+06 0.321575E+06 -0.261954E+05 -0.145359E+08 -0.118218E+08 0.360935E+06 0.572237E+05 0.402896E+06 -0.263037E+05 -0.186112E+08 0.218884E+07 0.107961E+06
0.122171E+02 8 -0.200678E+06 0.352309E+06 -0.258566E+05 -0.154274E+08 -0.928397E+07 0.212749E+06 0.567526E+05 0.401433E+06 -0.263153E+05 -0.178850E+08 0.208680E+07 0.116958E+06
0.132226E+02 9 -0.161598E+06 0.370210E+06 -0.257218E+05 -0.159585E+08 -0.742186E+07 0.180326E+06 0.561952E+05 0.399974E+06 -0.263341E+05 -0.174830E+08 0.203051E+07 0.118284E+06
0.150319E+02 10 -0.109528E+06 0.386866E+06 -0.263838E+05 -0.161220E+08 -0.497239E+07 0.259041E+06 0.554914E+05 0.398225E+06 -0.263621E+05 -0.167622E+08 0.193020E+07 0.119983E+06
0.182408E+02 11 -0.696519E+05 0.392301E+06 -0.251449E+05 -0.152859E+08 -0.308609E+07 0.989469E+05 0.541128E+05 0.394661E+06 -0.264225E+05 -0.154948E+08 0.175699E+07 0.129365E+06
0.214384E+02 12 -0.478484E+05 0.389760E+06 -0.254287E+05 -0.141867E+08 -0.208039E+07 -0.111478E+06 0.522431E+05 0.389124E+06 -0.264983E+05 -0.142499E+08 0.158971E+07 0.126147E+06
0.246337E+02 13 -0.325193E+05 0.382832E+06 -0.257400E+05 -0.130359E+08 -0.137220E+07 0.277105E+06 0.498788E+05 0.380903E+06 -0.265605E+05 -0.130323E+08 0.142888E+07 0.104053E+06
0.278269E+02 14 -0.225825E+05 0.372671E+06 -0.246024E+05 -0.118803E+08 -0.959798E+06 0.176603E+04 0.472462E+05 0.370216E+06 -0.265811E+05 -0.118495E+08 0.127911E+07 0.118455E+06
0.310224E+02 15 -0.170896E+05 0.361040E+06 -0.222513E+05 -0.107407E+08 -0.712756E+06 -0.472784E+05 0.445632E+05 0.358394E+06 -0.265477E+05 -0.107038E+08 0.113583E+07 0.105753E+06
0.342166E+02 16 -0.876547E+04 0.348809E+06 -0.193129E+05 -0.964179E+07 -0.408221E+06 0.116706E+05 0.418782E+05 0.345924E+06 -0.264535E+05 -0.959800E+07 0.100078E+07 0.887447E+05
0.402160E+02 17 0.144129E+04 0.329342E+06 -0.156579E+05 -0.766529E+07 -0.905687E+05 -0.773793E+04 0.380251E+05 0.326470E+06 -0.261719E+05 -0.762679E+07 0.769257E+06 0.720143E+05
0.466211E+02 18 0.950853E+04 0.299184E+06 -0.118128E+05 -0.574457E+07 0.102688E+06 -0.311357E+04 0.328174E+05 0.296674E+06 -0.254691E+05 -0.571824E+07 0.556517E+06 0.514013E+05
0.530293E+02 19 0.146367E+05 0.263202E+06 -0.801120E+04 -0.405076E+07 0.177325E+06 0.400946E+04 0.274258E+05 0.261183E+06 -0.241812E+05 -0.403677E+07 0.378715E+06 0.352516E+05
0.594400E+02 20 0.166984E+05 0.222301E+06 -0.442296E+04 -0.261817E+07 0.169657E+06 0.908202E+04 0.220303E+05 0.220779E+06 -0.220772E+05 -0.261295E+07 0.235768E+06 0.241408E+05
0.658540E+02 21 0.159376E+05 0.176925E+06 -0.163608E+04 -0.147758E+07 0.119017E+06 0.105092E+05 0.166682E+05 0.175849E+06 -0.189276E+05 -0.147681E+07 0.127535E+06 0.169261E+05
0.722716E+02 22 0.131162E+05 0.128069E+06 -0.554075E+02 -0.651857E+06 0.603550E+05 0.120767E+05 0.114103E+05 0.127398E+06 -0.146035E+05 -0.652478E+06 0.533279E+05 0.116296E+05
0.790961E+02 23 0.800823E+04 0.756986E+05 -0.122597E+03 -0.130298E+06 0.118101E+05 0.856864E+04 0.625131E+04 0.753246E+05 -0.903066E+04 -0.130448E+06 0.987508E+04 0.873303E+04
0.806018E+02 24 0.437733E+04 0.427307E+05 -0.135569E+03 -0.951571E+05 0.913645E+04 0.593118E+04 0.326309E+04 0.425175E+05 -0.516772E+04 -0.953411E+05 0.734538E+04 0.544378E+04
0.821087E+02 25 0.316984E+04 0.312152E+05 -0.144698E+03 -0.480843E+05 0.455631E+04 0.475358E+04 0.229324E+04 0.310618E+05 -0.378928E+04 -0.481941E+05 0.373704E+04 0.433862E+04
0.836161E+02 26 0.200922E+04 0.202398E+05 -0.116104E+03 -0.176233E+05 0.160749E+04 0.315288E+04 0.141069E+04 0.201402E+05 -0.246599E+04 -0.176377E+05 0.145956E+04 0.314459E+04
0.851232E+02 27 0.966244E+03 0.102371E+05 -0.404929E+02 -0.237827E+04 0.179734E+03 0.150986E+04 0.656069E+03 0.101842E+05 -0.125902E+04 -0.227729E+04 0.298596E+03 0.164101E+04
0.864694E+02 28 0.213423E+03 0.253176E+04 -0.927171E+01 0.606266E+03 -0.554806E+02 0.339521E+03 0.134694E+03 0.251758E+04 -0.314797E+03 0.645185E+03 -0.718036E+01 0.263809E+03
This diff is collapsed.
......@@ -11,7 +11,8 @@ from future import standard_library
standard_library.install_aliases()
import unittest
import os
from os.path import join as pjoin
from os.path import dirname as pdirname
import numpy as np
......@@ -23,14 +24,13 @@ class Tests(unittest.TestCase):
"""
def setUp(self):
self.fpath_linear = os.path.join(os.path.dirname(__file__),
'data/controller_input_linear.txt')
self.fpath_quad = os.path.join(os.path.dirname(__file__),
'data/controller_input_quadratic.txt')
self.fpath_linear = pjoin(pdirname(__file__),
'data/controller_input_linear.txt')
self.fpath_quad = pjoin(pdirname(__file__),
'data/controller_input_quadratic.txt')
def test_cmb_df(self):
fname1 = os.path.join(os.path.dirname(__file__),
'data/campbell_diagram.cmb')
fname1 = pjoin(pdirname(__file__), 'data/campbell_diagram.cmb')
speed, freq, damp, real_eig = results().load_cmb(fname1)
self.assertIsNone(real_eig)
......@@ -91,6 +91,27 @@ class Tests(unittest.TestCase):
self.assertEqual(hs2.aero_damp.Ko1, -1.69769)
self.assertEqual(hs2.aero_damp.Ko2, -15.02688)
def test_ind_file(self):
fnames = ['dtu10mw_nofull_defl_u10000.ind',
'dtu10mw_nofull_fext_u10000.ind',
'dtu10mw_nofull_u10000.ind',
'dtu10mw_nogradient_defl_u10000.ind',
'dtu10mw_nogradient_fext_u10000.ind',
'dtu10mw_nogradient_u10000.ind',
'dtu10mw_v1_defl_u10000.ind',
'dtu10mw_v1_fext_u10000.ind',
'dtu10mw_v1_u10000.ind',
]
for fname in fnames:
# fname = pjoin(pdirname(__file__), 'data', fname)
fname = pjoin('data', fname)
res = results()
df_data = res.load_ind(fname)
data = np.loadtxt(fname)
np.testing.assert_almost_equal(data, df_data.values)
print(df_data.columns)
if __name__ == "__main__":
unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment