ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / src / lagrangian / dieselSpray / spraySubModels / dragModel / standardDragModel / standardDragModel.H
blobf6fc354eb968c8422b7d8d92775eecdfacb60bf6
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::standardDragModel
27 Description
28     standard drag law model with a lower limit on the Cd-value
30 \*---------------------------------------------------------------------------*/
32 #ifndef standardDragModel_H
33 #define standardDragModel_H
35 #include "dragModel.H"
37 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 namespace Foam
42 /*---------------------------------------------------------------------------*\
43                            Class standardDragModel Declaration
44 \*---------------------------------------------------------------------------*/
46 class standardDragModel
48     public dragModel
51 private:
53     // Private data
55         dictionary dragDict_;
56         scalar preReFactor_;
57         scalar ReExponent_;
58         scalar ReLimiter_;
59         scalar CdLimiter_;
60         scalar Cdistort_;
63 public:
65     //- Runtime type information
66     TypeName("standardDragModel");
69     // Constructors
71         //- Construct from components
72         standardDragModel(const dictionary& dict);
75     //- Destructor
76     virtual ~standardDragModel();
79     // Member Functions
81         scalar Cd
82         (
83             const scalar ReynoldsNumber,
84             const scalar deviation
85         ) const;
87         scalar relaxationTime
88         (
89             const vector& URel,
90             const scalar diameter,
91             const scalar rho,
92             const scalar liquidDensity,
93             const scalar nu,
94             const scalar deviation
95         ) const;
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 } // End namespace Foam
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 #endif
106 // ************************************************************************* //