...
Step 8: Calculate the diameter of the orifices for each row based on the area of the orifices calculated above.
Step 9: Create the height arrays. The H_flowloc is an array of the height at which the flow rate is calculated (this is equal to 1/2*the row spacing above the row being evaluated). H_orificeloc is an array of the heights at which orifices will be made. The ramp funtion called herer is available in the math funciton file.
Step 10: This creates the array of target flow rates based on the heights given by the H_flowloc array and assuming a perfectly linear realtionship.
...