include prints
@@ -509,24 +509,24 @@ class FloatingForces(generator_interface.BaseGenerator):
force_cl[3:6] = np.cross(fairlead_pos_G, force_fl)
moor_force_out = -np.dot(cbg, force_cl[0:3])
- # print("Mooring force b: ", moor_force_out)
+ print("Mooring force b: ", moor_force_out)
moor_mom_out = -np.dot(cbg, force_cl[3:6])
- # print("Mooring moment b: ", moor_mom_out)
+ print("Mooring moment b: ", moor_mom_out)
struct_tstep.runtime_generated_forces[self.mooring_node, 0:3] -= np.dot(cbg, force_cl[0:3])
struct_tstep.runtime_generated_forces[self.mooring_node, 3:6] -= np.dot(cbg, force_cl[3:6])
# Yaw moment generated by the mooring system
yaw = np.array([self.q[data.ts, 3], 0., 0.])
- # print("Yaw: ", yaw)
+ print("Yaw: ", yaw)
yaw_mom_out = -np.dot(cbg, self.floating_data['mooring']['yaw_spring_stif']*yaw)
- # print("Yaw moment b: ", yaw_mom_out)
+ print("Yaw moment b: ", yaw_mom_out)
struct_tstep.runtime_generated_forces[self.mooring_node, 3:6] -= np.dot(cbg,
self.floating_data['mooring']['yaw_spring_stif']*yaw)
# Hydrostatic model
hd_forces_g = self.buoy_F0 - np.dot(self.buoy_rest_mat, self.q[data.ts, :])
- # print("hydrostatic forces g :", hd_forces_g)
+ print("hydrostatic forces g :", hd_forces_g)
hd_forces_g -= np.dot(self.hd_damping, self.qdot[data.ts, :])
hd_forces_g -= np.dot(self.floating_data['hydrodynamics']['additional_damping'], self.qdot[data.ts, :])
hd_forces_g -= np.dot(self.hd_added_mass, self.qdotdot[data.ts, :])
