/[ascend]/trunk/models/johnpye/fprops/ideal_impl.h
ViewVC logotype

Contents of /trunk/models/johnpye/fprops/ideal_impl.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1985 - (show annotations) (download) (as text)
Tue Feb 3 01:15:17 2009 UTC (13 years, 6 months ago) by jpye
File MIME type: text/x-chdr
File size: 1534 byte(s)
Added critical term calculation in helm_resid.
Added gaussian and critical term values for water from IAPWS95.
Added some test data from IAPWS95 to water.c tests.
1 /* ASCEND modelling environment
2 Copyright (C) 2008 Carnegie Mellon University
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA.
18 */
19
20 #ifndef FPROPS_IDEAL_IMPL_H
21 #define FPROPS_IDEAL_IMPL_H
22
23 #include "ideal.h"
24
25 /*
26 This file contains the headers for the private code definedin 'ideal.c'.
27 You shouldn't include this file in your programs, because the implementation
28 of the ideal gas curves is 'secret business' of the fprops code.
29
30 We provide this header file just the purpose of diagnostic testing.
31 */
32
33 double helm_ideal(double tau, double delta, const IdealData *data);
34 double helm_ideal_tau(double tau, double delta, const IdealData *data);
35 double helm_ideal_tautau(double tau, const IdealData *data);
36
37 double helm_cp0(double T, const IdealData *data);
38
39 /*
40 Note: the cross partial derivative with respect to delta and tau is
41 identically zero
42 */
43 #define HELM_IDEAL_DELTAU(TAU, DELTA, DATA) (0)
44
45
46 #endif
47

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22