summaryrefslogtreecommitdiff
path: root/Utilib/src/thcond.h
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /Utilib/src/thcond.h
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Utilib/src/thcond.h')
-rw-r--r--Utilib/src/thcond.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/Utilib/src/thcond.h b/Utilib/src/thcond.h
new file mode 100644
index 0000000..d65f2ec
--- /dev/null
+++ b/Utilib/src/thcond.h
@@ -0,0 +1,38 @@
+/*
+ freesteam - IAPWS-IF97 steam tables library
+ Copyright (C) 2004-2009 John Pye
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef FREESTEAM_THCOND_H
+#define FREESTEAM_THCOND_H
+
+#include "common.h"
+
+/* Conductivity [W/m.K] */
+/**
+ Returns the thermal conductivity of water/steam.
+ @see http://www.iapws.org/relguide/thcond.pdf
+
+ Range of validity is entire regions 1,2,3. The correlation is not
+ really applicable in region 4, but will give 'sane' results there.
+
+ @return Thermal conductivity [W/m.K]
+*/
+FREESTEAM_DLL double freesteam_k_rhoT(double rho, double T);
+
+#endif
+