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 Copyright (C) 2021 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Class
28 Foam::wallBoilingModels::partitioningModels::Lavieville
29
30Description
31 A model for wall heat flux partitioning based on
32 Lavieville et al. (2006) for boiling flows.
33
34 Reference:
35 \verbatim
36 Lavieville, J., Quemerais, E., Mimouni, S.,
37 Boucker, M., & Mechitoua, N. (2006).
38 NEPTUNE CFD V1.0 theory manual.
39 NEPTUNE report Nept_2004_L1, 2(3).
40 \endverbatim
41
42Usage
43 Example of the model specification:
44 \verbatim
45 partitioningModel
46 {
47 // Mandatory entries
48 type Lavieville;
49 alphaCrit <scalar>;
50 }
51 \endverbatim
52
53 where the entries mean:
54 \table
55 Property | Description | Type | Reqd | Deflt
56 type | Type name: Lavieville | word | yes | -
57 alphaCrit | Critical liquid fraction | scalar | yes | -
58 \endtable
59
60SourceFiles
61 Lavieville.C
62
63\*---------------------------------------------------------------------------*/
64
65#ifndef Lavieville_H
66#define Lavieville_H
67
68#include "partitioningModel.H"
69
70// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71
72namespace Foam
73{
74namespace wallBoilingModels
75{
76namespace partitioningModels
77{
78
79/*---------------------------------------------------------------------------*\
80 Class Lavieville Declaration
81\*---------------------------------------------------------------------------*/
82
83class Lavieville
84:
85 public partitioningModel
86{
87 // Private data
88
89 //- Critical liquid fraction
90 scalar alphaCrit_;
91
92
93public:
94
95 //- Runtime type information
96 TypeName("Lavieville");
97
98
99 // Constructors
101 //- Construct from a dictionary
102 Lavieville(const dictionary& dict);
103
104
105 //- Destructor
106 virtual ~Lavieville();
107
108
109 // Member Functions
110
111 //- Liquid blending function
112 virtual tmp<scalarField> fLiquid(const scalarField& alphaLiquid) const;
114 virtual void write(Ostream& os) const;
115};
116
117
118// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119
120} // End namespace partitioningModels
121} // End namespace wallBoilingModels
122} // End namespace Foam
123
124// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125
126#endif
127
128// ************************************************************************* //
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:62
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
A class for managing temporary objects.
Definition: tmp.H:65
Base class for wall heat flux partitioning models.
A model for wall heat flux partitioning based on Lavieville et al. (2006) for boiling flows.
Definition: Lavieville.H:103
virtual tmp< scalarField > fLiquid(const scalarField &alphaLiquid) const
Liquid blending function.
Definition: Lavieville.C:74
TypeName("Lavieville")
Runtime type information.
OBJstream os(runTime.globalPath()/outputName)
Namespace for OpenFOAM.
runTime write()
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73