BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / lagrangian / dieselSpray / spraySubModels / heatTransferModel / RanzMarshall / RanzMarshall.H
blob42cf773117f2a7434028ceb0b076bce095a9c4c9
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
11     OpenFOAM is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by
13     the Free Software Foundation, either version 3 of the License, or
14     (at your option) any later version.
16     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     Foam::RanzMarshall
27 Description
28     The Ranz-Marshal correlation for heat transfer
30 \*---------------------------------------------------------------------------*/
32 #ifndef RanzMarshall_H
33 #define RanzMarshall_H
35 #include "heatTransferModel.H"
37 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 namespace Foam
41 /*---------------------------------------------------------------------------*\
42                         Class RanzMarshall Declaration
43 \*---------------------------------------------------------------------------*/
45 class RanzMarshall
47     public heatTransferModel
49 private:
51     // Private data
53         dictionary heatDict_;
54         scalar preRePrFactor_;
55         scalar ReExponent_;
56         scalar PrExponent_;
59 public:
61     //- Runtime type information
62         TypeName("RanzMarshall");
65     // Constructors
67         //- Construct from dictionary
68         RanzMarshall(const dictionary& dict);
71     //- Destructor
72     virtual ~RanzMarshall();
75     // Member Functions
77         bool heatTransfer() const;
79         //- Nusselt Number
80         scalar Nu
81         (
82             const scalar ReynoldsNumber,
83             const scalar PrandtlNumber
84         ) const;
86         scalar relaxationTime
87         (
88             const scalar liquidDensity,
89             const scalar diameter,
90             const scalar liquidcL,
91             const scalar kappa,
92             const scalar ReynoldsNumber,
93             const scalar PrandtlNumber
94         ) const;
96         scalar fCorrection(const scalar z) const;
100 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 } // End namespace Foam
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 #endif
108 // ************************************************************************* //