Class FluidMachinery
java.lang.Object
org.episteme.natural.engineering.fluids.FluidMachinery
Fluid machinery calculations.
Modernized to use high-precision Real and typed Quantities.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Quantity<VolumetricFlowRate> affinityFlowRate(Quantity<VolumetricFlowRate> Q1, Quantity<Frequency> N1, Quantity<Frequency> N2) Affinity laws: flow rate vs speed.Affinity laws: head vs speed.Affinity laws: power vs speed.static RealcavitationNumber(Quantity<Pressure> pressure, Quantity<Pressure> vaporPressure, Quantity<MassDensity> density, Quantity<Velocity> velocity) Cavitation number.hydraulicPower(Quantity<MassDensity> density, Quantity<VolumetricFlowRate> flowRate, Quantity<Length> head) Pump hydraulic power.npshAvailable(Quantity<Pressure> atmosphericPressure, Quantity<Length> suctionHeight, Quantity<Length> frictionLoss, Quantity<Pressure> vaporPressure, Quantity<MassDensity> density) Net Positive Suction Head available.peltonJetVelocity(Quantity<Length> head, Real velocityCoefficient) Pelton wheel jet velocity. v = Cv * sqrt(2 * g * H)static RealpumpEfficiency(Quantity<Power> hydraulicPower, Quantity<Power> shaftPower) Pump efficiency.static RealspecificSpeed(Quantity<Frequency> speed, Quantity<VolumetricFlowRate> flowRate, Quantity<Length> head) Specific speed (dimensionless-ish).turbinePower(Real efficiency, Quantity<MassDensity> density, Quantity<VolumetricFlowRate> flowRate, Quantity<Length> head) Turbine power output.
-
Field Details
-
RHO_WATER
Water density (kg/m³)
-
-
Method Details
-
hydraulicPower
public static Quantity<Power> hydraulicPower(Quantity<MassDensity> density, Quantity<VolumetricFlowRate> flowRate, Quantity<Length> head) Pump hydraulic power. P_h = ÃÂ * g * Q * H -
pumpEfficiency
-
affinityFlowRate
public static Quantity<VolumetricFlowRate> affinityFlowRate(Quantity<VolumetricFlowRate> Q1, Quantity<Frequency> N1, Quantity<Frequency> N2) Affinity laws: flow rate vs speed. Q2 = Q1 * (N2 / N1) -
affinityHead
-
affinityPower
-
npshAvailable
public static Quantity<Length> npshAvailable(Quantity<Pressure> atmosphericPressure, Quantity<Length> suctionHeight, Quantity<Length> frictionLoss, Quantity<Pressure> vaporPressure, Quantity<MassDensity> density) Net Positive Suction Head available. NPSH_a = (P_atm / (ÃÂg)) + H_s - H_f - (P_vap / (ÃÂg)) -
cavitationNumber
-
specificSpeed
-
turbinePower
public static Quantity<Power> turbinePower(Real efficiency, Quantity<MassDensity> density, Quantity<VolumetricFlowRate> flowRate, Quantity<Length> head) Turbine power output. P = η * à* g * Q * H -
peltonJetVelocity
-