# LabVIEW

cancel
Showing results for
Did you mean:

## Horizontal tank example question

Hi,

I have a project that deals with a horizontal cylindrical tank in labview and I am trying to figure out a few things.

1) The example model in labview uses the equation: dh/dt = (qi - Cv*sqrt(h)) / (2*L*sqrt((D-h)^2)) where: qi is flow in, h is height of fluid level, D is diameter of tank and L is the length.

Now I understand this is of the form, dh/dt = (qi - k*sqrt(h))/ (A)

Going based off of examples found from places such as example of a conical tank for modelling,

I do not understand where the form of 2*L fits into the equation for cross sectional area of the horizontal cylindrical tank.

Any assistance would be appreciated.

Message 1 of 3
(2,312 Views)

## Re: Horizontal tank example question

This question has nothing to do with LabVIEW, you can solve it in any computer language (or manually) you want. For basic math formulas, look in basic math texts.

Cameron

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
Message 2 of 3
(2,297 Views)

## Re: Horizontal tank example question

camerond is right.

I like math though.

Don't think of it as a 2*L term

Think of it as an L term multiplied by a segment length in order to get cross-sectional area.