BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / lagrangian / dieselSpray / spraySubModels / dragModel / noDragModel / noDragModel.H
blob38418b60f886f392e548a384ad04c0ca751fcce5
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::noDragModel
27 Description
28     standard drag law model with a lower limit on the Cd-value
30 \*---------------------------------------------------------------------------*/
32 #ifndef noDragModel_H
33 #define noDragModel_H
35 #include "dragModel.H"
37 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 namespace Foam
42 /*---------------------------------------------------------------------------*\
43                            Class noDragModel Declaration
44 \*---------------------------------------------------------------------------*/
46 class noDragModel
48     public dragModel
51 public:
53     //- Runtime type information
54     TypeName("noDragModel");
57     // Constructors
59         //- Construct from components
60         noDragModel(const dictionary& dict);
63     //- Destructor
64     virtual ~noDragModel();
67     // Member Functions
69         scalar Cd
70         (
71             const scalar ReynoldsNumber,
72             const scalar deviation
73         ) const;
75         scalar relaxationTime
76         (
77             const vector& URel,
78             const scalar diameter,
79             const scalar rho,
80             const scalar liquidDensity,
81             const scalar nu,
82             const scalar deviation
83         ) const;
86 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
88 } // End namespace Foam
90 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
92 #endif
94 // ************************************************************************* //