Lavieville.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2016-2018 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::wallBoilingModels::partitioningModels::Lavieville
28 
29 Description
30  Lavieville wall heat flux partitioning model.
31 
32  Model parameters:
33  alphaCrit: critical liquid fraction
34 
35  Reference:
36  \verbatim
37  Lavieville, J., Quemerais, E., Mimouni, S., Boucker, M., &
38  Mechitoua, N. (2006).
39  NEPTUNE CFD V1. 0 theory manual.
40  NEPTUNE report Nept_2004_L1, 2(3).
41  \endverbatim
42 
43 SourceFiles
44  Lavieville.C
45 
46 \*---------------------------------------------------------------------------*/
47 
48 #ifndef Lavieville_H
49 #define Lavieville_H
50 
51 #include "partitioningModel.H"
52 
53 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
54 
55 namespace Foam
56 {
57 namespace wallBoilingModels
58 {
59 namespace partitioningModels
60 {
61 
62 /*---------------------------------------------------------------------------*\
63  Class Lavieville Declaration
64 \*---------------------------------------------------------------------------*/
65 
66 class Lavieville
67 :
68  public partitioningModel
69 {
70  // Private data
71 
72  //- Critical liquid fraction
73  scalar alphaCrit_;
74 
75 
76 public:
77 
78  //- Runtime type information
79  TypeName("Lavieville");
80 
81 
82  // Constructors
83 
84  //- Construct from a dictionary
85  Lavieville(const dictionary& dict);
86 
87 
88  //- Destructor
89  virtual ~Lavieville();
90 
91 
92  // Member Functions
93 
94  //- Liquid blending function
95  virtual tmp<scalarField> fLiquid(const scalarField& alphaLiquid) const;
96 
97  virtual void write(Ostream& os) const;
98 };
99 
100 
101 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 
103 } // End namespace partitioningModels
104 } // End namespace wallBoilingModels
105 } // End namespace Foam
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 #endif
110 
111 // ************************************************************************* //
Foam::wallBoilingModels::partitioningModels::Lavieville::fLiquid
virtual tmp< scalarField > fLiquid(const scalarField &alphaLiquid) const
Liquid blending function.
Definition: Lavieville.C:74
Foam::wallBoilingModels::partitioningModels::Lavieville::TypeName
TypeName("Lavieville")
Runtime type information.
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::wallBoilingModels::partitioningModel
Base class for wall heat flux partitioning models.
Definition: partitioningModel.H:55
partitioningModel.H
wallBoilingModels
Critical heat flux (CHF) correlation.
Foam::wallBoilingModels::partitioningModels::Lavieville::~Lavieville
virtual ~Lavieville()
Destructor.
Definition: Lavieville.C:65
Foam::Field< scalar >
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:121
Foam::wallBoilingModels::partitioningModels::Lavieville::Lavieville
Lavieville(const dictionary &dict)
Construct from a dictionary.
Definition: Lavieville.C:55
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::wallBoilingModels::partitioningModels::Lavieville
Lavieville wall heat flux partitioning model.
Definition: Lavieville.H:65
Foam::wallBoilingModels::partitioningModels::Lavieville::write
virtual void write(Ostream &os) const
Definition: Lavieville.C:91
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56