Skip to content

Using units from database

Compare
Choose a tag to compare
@gdmiron gdmiron released this 09 Apr 12:35
· 55 commits to master since this release
6993519

If units are provided together with the properties and parameters in the database file, e.g.:

    "m_landau_phase_trans_props": {
        "values": [
            1926.8499755859,
            4,
            0.035000000149012
        ],
        "names": [
            "Tcr",
            "Smax",
            "Vmax"
        ],
        "units": [
            "degC",
            "J/(mol*K)",
            "J/bar"
        ]
    }

The user can provide parameters in any valid and convertible units, these will be converted to the default ones when reading the database file and used accordingly in the respective correction TPMethod.