linear.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-2019 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::linear
26 
27 Description
28  Linear wall heat flux partitioning model.
29 
30  Proposed threshold liquid fractions:
31  - alphaLiquid1 0.1
32  - alphaLiquid0 0.05
33 
34  \verbatim
35  Ioilev, A., Samigulin, M., Ustinenko (2007).
36  Advances in the modeling of cladding heat transfer
37  and critical heat flux in boiling water reactor fuel assemblies.
38  In Proc. 12th International Topical Meeting on
39  Nuclear Reactor Thermal Hydraulics (NURETH-12),
40  Pittsburgh, Pennsylvania, USA.
41  \endverbatim
42 
43 SourceFiles
44  linear.C
45 
46 \*---------------------------------------------------------------------------*/
47 
48 #ifndef linear_H
49 #define linear_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 linear Declaration
64 \*---------------------------------------------------------------------------*/
65 
66 class linear
67 :
68  public partitioningModel
69 {
70  // Private Data
71 
72  //- Model parameters, threshold liquid phase fractions
73  scalar alphaLiquid1_;
74  scalar alphaLiquid0_;
75 
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("linear");
81 
82 
83  // Constructors
84 
85  //- Construct from a dictionary
86  linear(const dictionary& dict);
87 
88 
89  //- Destructor
90  virtual ~linear();
91 
92 
93  // Member Functions
94 
95  //- Calculate and return the wall heat-flux partitioning
96  virtual tmp<scalarField> fLiquid(const scalarField& alphaLiquid) const;
97 
98  virtual void write(Ostream& os) const;
99 };
100 
101 
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 
104 } // End namespace partitioningModels
105 } // End namespace wallBoilingModels
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #endif
111 
112 // ************************************************************************* //
dictionary dict
linear(const dictionary &dict)
Construct from a dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
TypeName("linear")
Runtime type information.
virtual tmp< scalarField > fLiquid(const scalarField &alphaLiquid) const
Calculate and return the wall heat-flux partitioning.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:53
Linear wall heat flux partitioning model.
Definition: linear.H:65
A class for managing temporary objects.
Definition: PtrList.H:53
Base class for wall heat flux partitioning models.
Namespace for OpenFOAM.