added dynamic pressure effect to the FODE function

This commit is contained in:
Brantegger Georg
2022-07-27 15:11:31 +02:00
parent d1c15090dc
commit 176fa556ff

View File

@@ -21,7 +21,7 @@ def FODE_function(x,h,A,A_a,p,rho,g):
# A ... Reservoir_Area # A ... Reservoir_Area
# g ... gravitational acceleration # g ... gravitational acceleration
# rho ... density of the liquid in the reservoir # rho ... density of the liquid in the reservoir
f = x*abs(x)/h*(A_a/A-1)+g-p/(rho*h) f = x*abs(x)/h*(A_a/A-1.5)+g-p/(rho*h)
return f return f