Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.42 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.42 KB

Coverage Status Coverage Status

CoolProp.jl

A Julia wrapper for CoolProp (http://www.coolprop.org)

This is not my work, and all the credit goes to the cool CoolProp contributors. I only put this together to make things easier for a friend of mine.

Installation

using Pkg
Pkg.add(url="https://github.com/CoolProp/CoolProp.jl.git")

Note

The installer downloads related libraries respect to machine OS & wordsize. Please let me know if it does not work for you. As an alternative, you can download the binaries for your OS from here

Usage

The API is described in http://www.coolprop.org/coolprop/HighLevelAPI.html.

using CoolProp
PropsSI("T", "P", 101325.0, "Q", 0.0, "Water")
373.1242958476844

Development

For development, it is possible to include a custom wrapper from ENV["TestingPath"], then:

ENV["includelocalwrapper"]="on";
using CoolProp;

if !haskey(ENV, "TestingPath") the default \test\CoolProp.jl will be used.