Lavieville.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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.
20 
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/>.
23 
24 Class
25  Foam::wallBoilingModels::partitioningModels::Lavieville
26 
27 Description
28  Lavieville wall heat flux partitioning model.
29 
30  Model parameters:
31  alphaCrit: critical liquid fraction
32 
33  Reference:
34  \verbatim
35  Lavieville, J., Quemerais, E., Mimouni, S., Boucker, M., &
36  Mechitoua, N. (2006).
37  NEPTUNE CFD V1. 0 theory manual.
38  NEPTUNE report Nept_2004_L1, 2(3).
39  \endverbatim
40 
41 SourceFiles
42  Lavieville.C
43 
44 \*---------------------------------------------------------------------------*/
45 
46 #ifndef Lavieville_H
47 #define Lavieville_H
48 
49 #include "partitioningModel.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 namespace Foam
54 {
55 namespace wallBoilingModels
56 {
57 namespace partitioningModels
58 {
59 
60 /*---------------------------------------------------------------------------*\
61  Class Lavieville Declaration
62 \*---------------------------------------------------------------------------*/
63 
64 class Lavieville
65 :
66  public partitioningModel
67 {
68  // Private data
69 
70  //- Critical liquid fraction
71  scalar alphaCrit_;
72 
73 
74 public:
75 
76  //- Runtime type information
77  TypeName("Lavieville");
78 
79 
80  // Constructors
81 
82  //- Construct from a dictionary
83  Lavieville(const dictionary& dict);
84 
85 
86  //- Destructor
87  virtual ~Lavieville();
88 
89 
90  // Member Functions
91 
92  //- Liquid blending function
93  virtual tmp<scalarField> fLiquid(const scalarField& alphaLiquid) const;
94 
95  virtual void write(Ostream& os) const;
96 };
97 
98 
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 
101 } // End namespace partitioningModels
102 } // End namespace wallBoilingModels
103 } // End namespace Foam
104 
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 
107 #endif
108 
109 // ************************************************************************* //
dictionary dict
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
TypeName("Lavieville")
Runtime type information.
Lavieville wall heat flux partitioning model.
Definition: Lavieville.H:63
virtual tmp< scalarField > fLiquid(const scalarField &alphaLiquid) const
Liquid blending function.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:53
Lavieville(const dictionary &dict)
Construct from a dictionary.
A class for managing temporary objects.
Definition: PtrList.H:53
Base class for wall heat flux partitioning models.
Namespace for OpenFOAM.