betaMaxValue.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) 2020-2023 PCOpt/NTUA
9  Copyright (C) 2020-2023 FOSS GP
10 -------------------------------------------------------------------------------
11 License
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 
27 
28 Class
29  Foam::betaMaxValue
30 
31 Description
32  Read the betaMax value directly.
33 
34 SourceFiles
35  betaMaxValue.C
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef betaMaxValue_H
40 #define betaMaxValue_H
41 
42 #include "betaMax.H"
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 /*---------------------------------------------------------------------------*\
50  Class betaMaxValue Declaration
51 \*---------------------------------------------------------------------------*/
52 
53 class betaMaxValue
54 :
55  public betaMax
56 {
57 
58 private:
59 
60  // Private Member Functions
61 
62  //- No copy construct
63  betaMaxValue(const betaMaxValue&) = delete;
64 
65  //- No copy assignment
66  void operator=(const betaMaxValue&) = delete;
67 
68 
69 public:
70 
71  //- Runtime type information
72  TypeName("value");
73 
74 
75  // Constructors
76 
77  //- Construct from components
79  (
80  const fvMesh& mesh,
81  const dictionary& dict
82  );
83 
84 
85  //- Destructor
86  virtual ~betaMaxValue() = default;
87 };
88 
89 
90 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
91 
92 } // End namespace Foam
93 
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 
96 #endif
97 
98 // ************************************************************************* //
dictionary dict
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Definition: dictionary.H:129
virtual ~betaMaxValue()=default
Destructor.
dynamicFvMesh & mesh
Read the betaMax value directly.
Definition: betaMaxValue.H:48
Base class for selecting the betaMax value, i.e. the value multiplying the Brinkman penalisation term...
Definition: betaMax.H:49
TypeName("value")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
Namespace for OpenFOAM.