FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

bC10H7CH3.C

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software: you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by
00013     the Free Software Foundation, either version 3 of the License, or
00014     (at your option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
00023 
00024 \*---------------------------------------------------------------------------*/
00025 
00026 #include "bC10H7CH3.H"
00027 #include <OpenFOAM/addToRunTimeSelectionTable.H>
00028 
00029 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
00030 
00031 namespace Foam
00032 {
00033     defineTypeNameAndDebug(bC10H7CH3, 0);
00034     addToRunTimeSelectionTable(liquid, bC10H7CH3,);
00035     addToRunTimeSelectionTable(liquid, bC10H7CH3, Istream);
00036 }
00037 
00038 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
00039 
00040 Foam::bC10H7CH3::bC10H7CH3()
00041 :
00042     liquid
00043     (
00044         142.2,
00045         761.0,
00046         3.25e+6,
00047         0.507,
00048         0.260,
00049         307.73,
00050         1.7374e+1,
00051         514.20,
00052         1.4010e-30,
00053         0.3459,
00054         1.987e+4
00055     ),
00056     rho_(67.36014, 0.23843, 761, 0.2559),
00057     pv_(134.31, -12103, -16.195, 6.9659e-06, 2),
00058     hl_(761.0, 513150.492264416, 0.4044, 0.0, 0.0, 0.0),
00059     cp_(811.322081575246, 2.30225035161744, 0.0008628691983122, 0.0, 0.0, 0.0),
00060     h_
00061     (
00062         45001.2311880177,
00063         811.322081575246,
00064         1.15112517580872,
00065         0.000287623066104079,
00066         0.0,
00067         0.0
00068     ),
00069     cpg_(760.126582278481, 2699.08579465542, 1564.1, 1994.51476793249, 727.49),
00070     B_
00071     (
00072         0.00229430379746835,
00073        -3.53720112517581,
00074        -1067158.93108298,
00075         2.29746835443038e+18,
00076        -2.68438818565401e+21
00077     ),
00078     mu_(-63.276, 4219, 7.5549, 0.0, 0.0),
00079     mug_(2.1791e-06, 0.3717, 712.53, 0.0),
00080     K_(0.1962, -0.00018414, 0.0, 0.0, 0.0, 0.0),
00081     Kg_(0.4477, -0.1282, -345.89, 2340100),
00082     sigma_(761.0, 0.066442, 1.2634, 0.0, 0.0, 0.0),
00083     D_(147.18, 20.1, 142.2, 28) // note: Same as nHeptane
00084 {}
00085 
00086 
00087 Foam::bC10H7CH3::bC10H7CH3
00088 (
00089     const liquid& l,
00090     const NSRDSfunc5& density,
00091     const NSRDSfunc1& vapourPressure,
00092     const NSRDSfunc6& heatOfVapourisation,
00093     const NSRDSfunc0& heatCapacity,
00094     const NSRDSfunc0& enthalpy,
00095     const NSRDSfunc7& idealGasHeatCapacity,
00096     const NSRDSfunc4& secondVirialCoeff,
00097     const NSRDSfunc1& dynamicViscosity,
00098     const NSRDSfunc2& vapourDynamicViscosity,
00099     const NSRDSfunc0& thermalConductivity,
00100     const NSRDSfunc2& vapourThermalConductivity,
00101     const NSRDSfunc6& surfaceTension,
00102     const APIdiffCoefFunc& vapourDiffussivity
00103 )
00104 :
00105     liquid(l),
00106     rho_(density),
00107     pv_(vapourPressure),
00108     hl_(heatOfVapourisation),
00109     cp_(heatCapacity),
00110     h_(enthalpy),
00111     cpg_(idealGasHeatCapacity),
00112     B_(secondVirialCoeff),
00113     mu_(dynamicViscosity),
00114     mug_(vapourDynamicViscosity),
00115     K_(thermalConductivity),
00116     Kg_(vapourThermalConductivity),
00117     sigma_(surfaceTension),
00118     D_(vapourDiffussivity)
00119 {}
00120 
00121 
00122 Foam::bC10H7CH3::bC10H7CH3(Istream& is)
00123 :
00124     liquid(is),
00125     rho_(is),
00126     pv_(is),
00127     hl_(is),
00128     cp_(is),
00129     h_(is),
00130     cpg_(is),
00131     B_(is),
00132     mu_(is),
00133     mug_(is),
00134     K_(is),
00135     Kg_(is),
00136     sigma_(is),
00137     D_(is)
00138 {}
00139 
00140 
00141 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines