Vous êtes sur la page 1sur 1

La formule d’écoulement, ou le problème du bassi

se vide par gravité

Exam on the course "Labview" Marcel Délèze

Monday 18 February 2019 – Duration 2h -All1. documents


Introduction are authorized
Email: emmanuel.marin@univ-st-etienne.fr
Qu’il s’agisse d’un bassin, d’un réservoir ou d’une cuve, nous supposons que son
liquide s’en échappe par un trou sous l’e↵et de la gravité.

We want to realize a program that simulate the draining of a water tank.


We can find after some calculations a formula describing the time (1)

evolution of the water level:


,
ℎ(𝑡) = &√𝐻 − 𝑞𝑡+
where H is the water level at t=0 and q is a constant coefficient that H

represents the “speed” of the draining. h(t)

A normal behavior imposes:


ℎ ∈ [𝐻, 0]
𝑞 ∈ [1034 , 1]
0 ≤ 𝑡 ≤ 𝑇7879: <=9>?>?@ (2)

where 𝑇7879: <=9>?>?@ represents the time to a complete evacuation of the


water. These restrictions should be taken into account inSachant
all thequ’unfollowing
bassin se videvienprograms, by setting
100 minutes, combien de temps faut-il pour qu’i
correctly the properties of the corresponding controls. de la moitié ?
Ne répondez pas 50 minutes ! En e↵et, lorsque le bassin est plein, la pression su
de sortie est grande. Au début, le bassin se vide rapidement. Par contre, lors
1. Write a vi program that calculate the level of the remaining
bientôt vide, la water in le trou de sortie devient faible. Ainsi, vers la fin, l
pression sur
the tank at a given time t with an initial level of water H and a coeff q.
se vide lentement. Dans ces circonstances, il serait aberrant de résoudre le prob
moyen d’une fonction affine.
This vi program will be used in the rest of the studyLaas a sub-vi.
dernière tabelle de cet article indique qu’il faut répondre 29.3 min.
This VI will be called "TankDraining_Student_Name"
2. Modélisation du problème d’écoulement
Hypothèses et notations
2. Use the previous sub-vi, in a new vi, to plot the evolution of
Une cuve de hauteur H et de section horizontale S uniforme est initialement ple
the water level on a XY Graph until the tank is completely
temps t = 0, le liquide commence à s’écouler par gravité par un trou de section
empty. The period in time (Delta_t) is in secondauand you
point (2) sur le fond de la cuve. On note h( t) la hauteur du liquide dans la
should use a for loop to plot this curve. The program returns
temps t. Par hypothèse, h(0) = H. On suppose que le liquide est incompressib
sa viscosité est nulle.
also 𝑇7879: <=9>?>?@ .

This VI will be called "TankDrainingCurve_Student_Name"

3. Use the sub-vi of the first question, in a new vi, to plot the “real”
evolution of the water level on a XY Graph until the water level
reach a value given by the user. The “real” evolution means that
the points of the curve appear with a time spacing that is defined
by the period in time (Delta_t), that is in second. The program
returns also the theoretical and measured time to reach the
desired level.

This VI will be called


"TankDrainingCurveLevel_Student_Name"

Vous aimerez peut-être aussi