MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / DEFINE_ON_DEMAND

Function DEFINE_ON_DEMAND

wrappers/Fluent/Example_windows_UDF.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8static const std::string FLUID_NAME = "R134a";
9
10DEFINE_ON_DEMAND(test) {
11 double PropResult = PropsSI("T", "P", 101325, "Q", 0, "Water");
12 Message0("Saturation temperature of Water at 1 atm = %g K\n", PropResult);
13}
14
15// Density via CoolProp
16DEFINE_PROPERTY(rho_coolprop, cell, thread) {

Callers

nothing calls this directly

Calls 1

PropsSIFunction · 0.50

Tested by

no test coverage detected