水・水蒸気のライブラリであるfreesteamとOFの併用テスト
- freesteam 2.1: http://freesteam.sourceforge.net/
- IAPWS-IF97-OF:https://github.com/romansCode/IAPWS-IF97-OF (freesteam 2.0~, OF 2.2~)
1)まず、freesteamをビルドして(sconsが必要)、.soライブラリ”libfreesteam.so.1”を作成しておく。OFのビルド環境で実行する。
tar xf freesteam-2.1.tar.bz2
cd freesteam-2.1
scons
scons test && ./test. (テスト)
2)続いて、IAPWS-IF97-OFのライブラリ”libIAPWSRangeThermo.so”のビルドを行う。OFのビルド環境で実行する。
git clone https://github.com/romansCode/IAPWS-IF97-OF.git
cd IAPWS-IF97-OF
wclean
wmake libso