Gravity Pressure Change
fullflow.GravityPressureChange
Hydrostatic pressure change from elevation.
GravityPressureChange computes downstream pressure from upstream pressure, fluid density, gravitational acceleration, and elevation change. Positive elevation change is upward, so pressure decreases as elevation increases.
If mass flow is assigned, the component also computes an equivalent effective area for the resulting pressure drop.
Parameters
| Name | Type | Description |
|---|---|---|
name | str | Component name |
network | Network | Network that owns this component |
upstream_ | State or float | Upstream pressure |
density | State or float | Fluid density |
elevation_ | State or float | Elevation change |
gravitional_ | State or float, optional | Gravitational acceleration |
downstream_ | State, optional | Downstream pressure |
mass_ | State, optional | Mass flow rate |
effective_ | State, optional | Equivalent effective area |
Outputs
| Name | Type | Description |
|---|---|---|
downstream_ | State, optional | Downstream pressure |
effective_ | State, optional | Equivalent effective area |