Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.
/ OWTP Public archive

C library that exposes functions for calculating thermodynamic properties of ordinary water.

License

Notifications You must be signed in to change notification settings

beachasaurus-rex/OWTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ordinary Water Thermodynamic Properties

Build status

Ordinary Water Thermodynamic Properties (OWTP) is an open-source C library that calculates the thermodynamic properties of ordinary water, which is based on release R7-97 from the International Association for the Properties of Water and Steam (IAPWS R7-97).

Project Goals

  1. Provide a thoroughly-tested, lightweight library that provides conventional steam tables functionality.
  2. Encourage the proliferation of applications that would require the use of conventional steam tables.
  3. Provide relatively easy interop with other languages.

Compilation

Right now, only building with Windows is supported. The next step of this project will be to add Linux support, but this may take some time for me to set up properly because I don't have a Linux box and I'm new to Linux.

To compile the code into a shared library:

  1. Clone the repo to a directory.
  2. Cmake is the build generator, so the following commands should allow you to build the library.

mkdir build

cmake -Bbuild -H. -DCMAKE_CONFIGURATION_TYPES=Release

cmake --build build --config Release

This should build a shared library named OWTP.dll in the following folder: ./build/src/bin/

Contact

If you need help or want to contribute, then please feel free to come into the discord server.

Invite link: https://discord.gg/S2cz7r

About

C library that exposes functions for calculating thermodynamic properties of ordinary water.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages