~grm08/fluidity/hilbert-for-pyop2

« back to all changes in this revision

Viewing changes to examples/lock_exchange/lock_exchange.xml

  • Committer: Jon Hill
  • Date: 2011-11-24 14:46:24 UTC
  • mfrom: (3853 fluidity)
  • mto: (4003.1.19 fluidity)
  • mto: This revision was merged to the branch mainline in revision 4028.
  • Revision ID: jon.hill@imperial.ac.uk-20111124144624-69ev9kyuludpg5fe
Merge from trunk. All bio stuff should be in trunk anyway, so this is now a copy of trunk. More devel to come though

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
results_head_speed = []
63
63
 
64
64
domainheight = 0.1
65
 
start_val, end_val = le_tools.GetAverageRange(X_ns, 0.2, domainheight)
 
65
start_val, end_val, tf = le_tools.GetAverageRange(X_ns, 0.2, domainheight)
66
66
results_head_speed.append(numpy.average(U_ns[start_val:end_val]))
67
67
 
68
 
start_val, end_val = le_tools.GetAverageRange(X_fs, 0.25, domainheight)
 
68
start_val, end_val, tf = le_tools.GetAverageRange(X_fs, 0.25, domainheight)
69
69
results_head_speed.append(numpy.average(U_fs[start_val:end_val]))
70
70
 
71
71
results_head_speed.append(abs(results_head_speed[0]-hartel_no_slip_head_speed))