Flow Measure - AguaClara/SWOT GitHub Wiki

Assignment logistics

  • This is an Individual Design Challenge to be done by each student

You will learn how to

  • show a water surface elevation
  • place a linear flow meter in the entrance tank
  • add a scale so the plant operators can measure the plant flow rate.
  • find an error in the design logic and then fix it!

Part 1 - Feature Studio steps

As this assignment is for individual completion, use the Flow Measure Template rather than your teams Entrance Tank, this will ensure you are starting with all the correct information. When you copy the template, your first step should be to change the name to "YourName Flow Measure"

  1. We need the minimum water level in the entrance tank (associated with zero flow through the plant) to be perhaps 10 cm. Create a new param called lfomHW_min with a default of 10 cm. (remember that the units of parameters are set by the name of the variable and thus lfomHW_min has units of meters). Modify the logic for the water depth to account for this increase in required water depth. When you make this change in Featurescript the part studio should update and the entrance tank depth should increase. What is the height of the entrance tank walls?
  2. Our next task is to draw the water surface in the entrance tank and have it adjust as a function of the actual flow rate. Create a dimensionless parameter that represents the fraction of the design flow (Q_pi) that is passing through the entrance tank. Here we take advantage of the fact that any variable name that ends in _pi is dimensionless. Create an equation that calculates the depth of water in the entrance tank as a function of Q_pi. You can assume that the LFOM creates a linear relationship between flow rate and water depth. Set the default value of Q_pi to be 0.5. What is the depth of water in the entrance tank?

Part 2 - Part Studio steps

  1. Insert an LFOM into the entrance tank. You can add the LFOM to your custom feature list by searching for this url. Use variables for the inputs of the LFOM except for the following that can be the default (Flow safety factor, minimum pipe nominal diameter, minimum spacing between orifices, maximum number of orifice rows, minimum number of orifice rows, maximum drill diameter). Use a mate connector to set the lfom location at the opposite end from the overflow and equal distance from the end and side walls. Note that the LFOM feature has a required Module Name (enter "lfom" without the quotes) and Mate Name (enter "bottom" without the quotes).
  2. Create a hole for the LFOM pipe coupling through the bottom of the entrance tank using the Pipe Hole feature.
  3. Our next goal is to create the water surface.
    1. Begin by creating a sketch on the Front plane with a line that is the width of the tank and at the water surface. There are many ways to constrain the length of this line including using the end wall of the tank or the origin and then dimensioning the line to be #W long.
    2. The height of the line above the tank bottom must be set using the dimensioning tool and the variable for the water height.
    3. Use the extrude tool with the "Surface" option to create a new surface starting from the line in the sketch and extending for the length of the tank (#L).
    4. Rename "Surface 1" that is below the parts list at the left of the window to "water".
    5. Edit the appearance of the surface to make it blue and 0.2 on the transparency scale so you can see through it.
  4. Change Q_pi to 1. What is the distance between the inlet of the overflow pipe and the water surface? The top of the overflow pipe is the inlet.
  5. Modify the design so the overflow inlet is 1 cm higher than the water surface at the design flow rate. Do this by creating a new input parameter (call it overflowHSF) in FeatureScript and then adding that as an input to the Overflow Pipe feature.
  6. Our next goal is to add a scale to the tank wall so the operator can easily tell what the flow rate is through the plant.
    1. add the Scale feature (Scale url) to the custom feature list if needed.
    2. Use the Scale feature to label the left wall of the tank. Set the location with a mate connector in the bottom back left corner of the tank and then move the mate a distance W from the end of the tank and HW_min from the bottom of the tank.
    3. Rotate the scale around the z axis as needed so that it is vertical and the numbers are increasing as it goes up.
    4. Rotate the text so it is horizontal.
    5. Set the maximum value on the scale to be the flow in L/s. Use Qm_max and divide it by (0.001 m^3/s) to make it dimensionless.
    6. Set the scale length to be equal to the lfomHL.
    7. Adjust the text height either with an equation (#lfomHL/15?) or by entering a constant.
  7. Time to play with the design.
    1. What is the total cost of the Entrance Tank?
    2. Change the lfomHL to 0.1 meter, by entering {"lfomHL":0.1} in the overrides
    3. Does the cost of the entrance tank increase or decrease with this change. Explain why!
    4. Revert to 20 cm of lfomHL and then increase the flow rate to 40 L/s. Find the error in the design that causes the tank to get deeper but the LFOM to not adjust to the correct elevation.
    5. What caused this error (What did we forget to account for)? This error should be a design error, not a Featurescript error. If you are getting Featurescript errors you will also need to debug.
    6. Fix the error by making a simple change to the FeatureScript.
    7. With Q_pi at 1, where is the water surface relative to the top row of orifices in the LFOM?
    8. Change Q_pi to 0. Where is the water surface relative to the bottom row of orifices in the LFOM?
    9. Why are the orifices not centered vertically in their rows? The reason for this does not have to do with flow distribution around the LFOM.