Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In the appendix, I wrote a MatLab file in which one can input the angular displacement of the dial and the output of the program would be the viscosity of the fluid. Furthermore, the program suggests when you should increase or decrease the gear ratio or motor speed to be able to measure the viscosity of the fluid accurately. Furthermore, the program will create a digital dial in which the graph rotates with the change in viscosity of the fluid. The program works in reverse as well. If one knows the fluid's viscosity, the angular displacement of the dial can be calculated and graphed. The following is an example with the input of the program was a viscosity of 1 N-s/m^2, high motor speed, and the lowest gear ratio.

Image Removed

Find viscosity [1] or angular displacement [0] : 0
Fluid dynamic viscosity in N-s/m^2 : 1
Motor speed high [1] or low [0] : 0
Gear high [2], medium [1], or low [0] : 1
Angular displacement of cylinder is 192.518 degrees.

>>

Image Added

The following is an example with the input of the program was a viscosity of .001 N-s/m^2, high motor speed, and the highest gear ratio.

Image RemovedImage Added

Find viscosity [1] or angular displacement [0] : 0
Fluid dynamic viscosity in N-s/m^2 : 0.001
Motor speed high [1] or low [0] : 1
Gear high [2], medium [1], or low [0] : 2
Angular displacement of cylinder is 1.1908 1551 degrees.

>>


The program works in reverse as well. If one knows the angular displacement of the dial, then one can calculate the viscosity of the given fluid. The following is an example with the input of the program being an angular displacement of 45°, a high motor speed, and a medium gear ratio.

...

Find viscosity [1] or angular displacement [0] : 1
Angular displacement of dial in degrees : 45
Motor speed high [1] or low [0] : 1
Gear high [2], medium [1], or low [0] : 2
Fluid dynamic viscocity viscosity is 0.038957 N-s/m^2.

>>