Skip to content

Lightweight CoolProp C# Wrapper - for easy fluid properties lookups

Notifications You must be signed in to change notification settings

wiwalsh/SharpFluids

 
 

Repository files navigation

SharpFluids

Lightweight CoolProp C# Wrapper - for easy fluid properties lookups

Lets say you want to know some properties of water; Density of Water at 13°C Boiling point of Co2 at 25bar ..and many more options Then you have come to the right place!

How to start:

  1. Create a new C# Console App(.NET Framework) project in Visual studio
  2. Right click your new project and press 'Manage NuGet Packages'
  3. Go to 'Browse' and search for 'SharpFluids' and press 'Install'
  4. In your 'Program.cs' add to the top: using SharpFluids;
  5. In your 'Program.cs' add to the top: using UnitsNet;
  6. Add in your main:

Fluid Water = new Fluid(FluidList.Water);

Water.UpdatePT(Pressure.FromBars(1.013), Temperature.FromDegreesCelsius(13));

Console.WriteLine("Density of water at 13°C: " + Water.RHO);

Console.ReadLine();

About

Lightweight CoolProp C# Wrapper - for easy fluid properties lookups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%