Class Thermodynamics
java.lang.Object
org.episteme.natural.physics.classical.thermodynamics.Thermodynamics
Thermodynamics equations and models.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RealcarnotEfficiency(Quantity<Temperature> Tcold, Quantity<Temperature> Thot) Carnot efficiency: η = 1 - Tc/Thstatic RealdieselEfficiency(Real compressionRatio, Real cutoffRatio, Real gamma) Diesel cycle efficiencystatic RealentropyChange(Quantity<AmountOfSubstance> n, Real Cv, Quantity<Temperature> T1, Quantity<Temperature> T2, Quantity<Volume> V1, Quantity<Volume> V2) Entropy change for ideal gasstatic RealidealGasLaw(Real P, Real V, Real n, Real T) Ideal gas law (solve for unknown): PV = nRTIdeal gas law: PV = nRTinternalEnergyChange(Quantity<AmountOfSubstance> n, Real Cv, Quantity<Temperature> deltaT) Internal energy change: ÃŽâ€ÂÂU = nCvÃŽâ€ÂÂTstatic RealottoEfficiency(Real compressionRatio, Real gamma) Otto cycle efficiency: η = 1 - 1/r^(γ-1)
-
Constructor Details
-
Thermodynamics
public Thermodynamics()
-
-
Method Details
-
idealGasPressure
public static Quantity<Pressure> idealGasPressure(Quantity<AmountOfSubstance> n, Quantity<Temperature> T, Quantity<Volume> V) Ideal gas law: PV = nRT -
internalEnergyChange
public static Quantity<Energy> internalEnergyChange(Quantity<AmountOfSubstance> n, Real Cv, Quantity<Temperature> deltaT) Internal energy change: ÃŽâ€ÂÂU = nCvÃŽâ€ÂÂT -
carnotEfficiency
Carnot efficiency: η = 1 - Tc/Th -
entropyChange
public static Real entropyChange(Quantity<AmountOfSubstance> n, Real Cv, Quantity<Temperature> T1, Quantity<Temperature> T2, Quantity<Volume> V1, Quantity<Volume> V2) Entropy change for ideal gas -
idealGasLaw
-
ottoEfficiency
-
dieselEfficiency
-