Class ThermodynamicProperties
java.lang.Object
org.episteme.natural.physics.classical.thermodynamics.ThermodynamicProperties
Thermodynamic property calculations.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RealequilibriumConstant(Real deltaG, Real T) Equilibrium constant from Gibbs energy.static RealequilibriumTemperature(Real deltaH, Real deltaS) Equilibrium temperature T_eq = ÃŽâ€ÂH / ÃŽâ€ÂSstatic RealgibbsEnergy(Real deltaH, Real deltaS, Real T) Calculates Gibbs free energy change.static RealgibbsFromK(Real K, Real T) Gibbs energy from equilibrium constant.static RealheatTransfer(Real n, Real Cp, Real deltaT) Heat transfer q = n·Cp·Îâ€ÂTstatic booleanisSpontaneous(Real deltaG) Returns true if spontaneous (ÃŽâ€ÂG invalid input: '<' 0)static RealreactionEnthalpy(Real[] productFormH, int[] productCoeff, Real[] reactantFormH, int[] reactantCoeff) Standard enthalpy of reaction from formation enthalpiesstatic RealreactionQuotient(Real[] productConc, int[] productCoeff, Real[] reactantConc, int[] reactantCoeff) Reaction quotient Q = [products]^ν / [reactants]^νstatic RealVan't Hoff equation: K2 = K1 * exp(-ÃŽâ€ÂH/R * (1/T2 - 1/T1))
-
Field Details
-
R_J
Gas constant R in J/(mol·K) -
R_KJ
Gas constant R in kJ/(mol·K) -
R_CAL
Gas constant R in cal/(mol·K)
-
-
Constructor Details
-
ThermodynamicProperties
public ThermodynamicProperties()
-
-
Method Details
-
gibbsEnergy
-
equilibriumConstant
-
gibbsFromK
-
reactionQuotient
-
isSpontaneous
Returns true if spontaneous (ÃŽâ€ÂG invalid input: '<' 0) -
equilibriumTemperature
-
vantHoff
-
heatTransfer
-
reactionEnthalpy
-