- Timestamp:
- Sep 16, 2010, 5:06:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/boyd_box_operator.py
r8018 r8020 87 87 # Water has risen above inlet 88 88 89 if self.log_filename is not None:90 s = 'Specific energy = %f m' % self.inflow.get_enquiry_specific_energy()91 log_to_file(self.log_filename, s)92 89 93 90 msg = 'Specific energy at inlet is negative' … … 177 174 hyd_rad = flow_area/perimeter 178 175 179 if self.log_filename is not None: 180 s = 'hydraulic radius at outlet = %f' % hyd_rad 181 log_to_file(self.log_filename, s) 176 182 177 183 178 # Final Outlet control velocity using tail water … … 185 180 Q_outlet_tailwater = flow_area * culvert_velocity 186 181 187 if self.log_filename is not None:188 s = 'Q_outlet_tailwater = %.6f' % Q_outlet_tailwater189 log_to_file(self.log_filename, s)190 182 Q = min(Q, Q_outlet_tailwater) 191 183 else:
Note: See TracChangeset
for help on using the changeset viewer.