aC10H7CH3I.H 2.65 KB
Newer Older
Andrew Heather's avatar
Andrew Heather committed
1 2 3 4
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     |
OpenFOAM bot's avatar
OpenFOAM bot committed
5
    \\  /    A nd           | www.openfoam.com
Andrew Heather's avatar
Andrew Heather committed
6
     \\/     M anipulation  |
OpenFOAM bot's avatar
OpenFOAM bot committed
7
-------------------------------------------------------------------------------
OpenFOAM bot's avatar
OpenFOAM bot committed
8
    Copyright (C) 2011-2017 OpenFOAM Foundation
Andrew Heather's avatar
Andrew Heather committed
9 10 11 12
-------------------------------------------------------------------------------
License
    This file is part of OpenFOAM.

13 14 15 16
    OpenFOAM 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 3 of the License, or
    (at your option) any later version.
Andrew Heather's avatar
Andrew Heather committed
17 18 19 20 21 22 23

    OpenFOAM 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
24
    along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
Andrew Heather's avatar
Andrew Heather committed
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45

\*---------------------------------------------------------------------------*/

inline Foam::scalar Foam::aC10H7CH3::rho(scalar p, scalar T) const
{
    return rho_.f(p, T);
}


inline Foam::scalar Foam::aC10H7CH3::pv(scalar p, scalar T) const
{
    return pv_.f(p, T);
}


inline Foam::scalar Foam::aC10H7CH3::hl(scalar p, scalar T) const
{
    return hl_.f(p, T);
}


Andrew Heather's avatar
Andrew Heather committed
46
inline Foam::scalar Foam::aC10H7CH3::Cp(scalar p, scalar T) const
Andrew Heather's avatar
Andrew Heather committed
47
{
Andrew Heather's avatar
Andrew Heather committed
48
    return Cp_.f(p, T);
Andrew Heather's avatar
Andrew Heather committed
49 50 51 52 53 54 55 56 57
}


inline Foam::scalar Foam::aC10H7CH3::h(scalar p, scalar T) const
{
    return h_.f(p, T);
}


Andrew Heather's avatar
Andrew Heather committed
58
inline Foam::scalar Foam::aC10H7CH3::Cpg(scalar p, scalar T) const
Andrew Heather's avatar
Andrew Heather committed
59
{
Andrew Heather's avatar
Andrew Heather committed
60
    return Cpg_.f(p, T);
Andrew Heather's avatar
Andrew Heather committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
}


inline Foam::scalar Foam::aC10H7CH3::B(scalar p, scalar T) const
{
    return B_.f(p, T);
}


inline Foam::scalar Foam::aC10H7CH3::mu(scalar p, scalar T) const
{
    return mu_.f(p, T);
}


inline Foam::scalar Foam::aC10H7CH3::mug(scalar p, scalar T) const
{
    return mug_.f(p, T);
}


82
inline Foam::scalar Foam::aC10H7CH3::kappa(scalar p, scalar T) const
Andrew Heather's avatar
Andrew Heather committed
83
{
84
    return kappa_.f(p, T);
Andrew Heather's avatar
Andrew Heather committed
85 86 87
}


88
inline Foam::scalar Foam::aC10H7CH3::kappag(scalar p, scalar T) const
Andrew Heather's avatar
Andrew Heather committed
89
{
90
    return kappag_.f(p, T);
Andrew Heather's avatar
Andrew Heather committed
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
}


inline Foam::scalar Foam::aC10H7CH3::sigma(scalar p, scalar T) const
{
    return sigma_.f(p, T);
}


inline Foam::scalar Foam::aC10H7CH3::D(scalar p, scalar T) const
{
    return D_.f(p, T);
}


106 107 108 109 110 111
inline Foam::scalar Foam::aC10H7CH3::D(scalar p, scalar T, scalar Wb) const
{
    return D_.f(p, T, Wb);
}


Andrew Heather's avatar
Andrew Heather committed
112
// ************************************************************************* //