MadsKirkFoged / EngineeringUnits

Working with units made easy with automatic unit-check and converting between units
MIT License
41 stars 10 forks source link

Add ideal gas constant #26

Closed mschmitz2 closed 2 years ago

mschmitz2 commented 2 years ago

Might be useful to some.

E.g. defined as

    /// <summary>
    /// Ideal gas constant
    /// </summary>
    public static BaseUnit IdealGasConstant
    {
        get
        {
            UnitSystem unit = MolarEntropyUnit.JoulePerMoleKelvin.Unit;
            return new BaseUnit(8.31446261815324, unit);
        }
    }
MadsKirkFoged commented 2 years ago

I have added this in the new version

mschmitz2 commented 2 years ago

Great!