Welcome, Guest
Username: Password: Remember me

TOPIC: Tubes Weir equation

Tubes Weir equation 11 years 3 months ago #9847

  • dsakamoto
  • dsakamoto's Avatar
For future versions, will it be possible to allow the user to adjust the weir coefficient for free overflow of the Tubes?

I have several tubes in my model which represent dam spillways. It would be ideal if the data file included a weir coefficient called by the subroutine so that I could better represent the different spillways and gates.

For now, I will consider editing BUSE.F to include a new IF statement to call an appropriate value for my model based on each weir....

Otherwise, I'm very happy with the function.
The administrator has disabled public write access.

Tubes Weir equation 11 years 2 days ago #11149

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello Derek,

Sorry for the delay. I have now logged this as a new feature request on our internal TELEMAC management system for the Consortium to address, for possible delivery into next version (july 2014).

Would it be possible for you to share your version of the subroutine ?

Thank you.
Sébastien.
The administrator has disabled public write access.

Tubes Weir equation 11 years 1 hour ago #11182

  • dsakamoto
  • dsakamoto's Avatar
Sébastien,
Good news, and I am glad to hear it. It would just be the addition of one new variable in the tubes data file to define a weir coefficient; and a small change to BUSE.F to include that new variable. Hopefully an easy update.

I don't know if you want me to publish my edit to the BUSE.F. I removed much of BUSE.F's true function for a single purpose that suited my needs. But I will describe what I did for others to mimic if they choose.

Instead of applying a standard weir equation, I have 3rd order equations for each spillway defined as:
Q=CE1*S1^3+CE2*S1^2+CS1*S1+CS2

Where CE1,CE2,CS1,CS2 are the variables read in on the existing BUSE.F routine from the existing format for the Tubes Data File.

BUT: In doing this I've lost the ability for the subroutine to check for backflow or oriface flow. This was OK for my work as all my spillways are on dams with no chance of backwater effects; and I have chosen to neglect pressurized flow.
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.