All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
varScModel7.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) 2011-2016 OpenFOAM Foundation
9  Copyright (C) 2019 OpenCFD Ltd.
10  Copyright (C) 2016-2019 ISP RAS (www.ispras.ru) UniCFD Group (www.unicfd.ru)
11 -------------------------------------------------------------------------------
12 License
13  This file is part of QGDsolver library, based on OpenFOAM+.
14 
15  OpenFOAM is free software: you can redistribute it and/or modify it
16  under the terms of the GNU General Public License as published by
17  the Free Software Foundation, either version 3 of the License, or
18  (at your option) any later version.
19 
20  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
21  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23  for more details.
24 
25  You should have received a copy of the GNU General Public License
26  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
27 
28 Class
29  Foam::qgd::varScModel7
30 
31 Group
32  grpQGDCoeffs
33 
34 Description
35  Class describing QGD model coefficients using dynamic values for
36  Sc^{QGD}, Pr^{QGD} and specified \alpha field:
37 
38  Sc^{QGD} = cSc1 * min(\h^QGD abs(\nabla \rho)/\rho, 1)
39 
40  \tau^{QGD} = \alpha h / c + \mu / (p Sc)
41 
42  \mu^{QGD} = (\alpha h / c) p Sc^{QGD}
43 
44  \lambda^{QGD} = \mu^{QGD} Cp / Pr^{QGD}
45 
46 SourceFiles
47  varScModel7.C
48 
49 \*---------------------------------------------------------------------------*/
50 
51 #include "QGDCoeffs.H"
52 
53 #ifndef varScModel7_H
54 #define varScModel7_H
55 
56 namespace Foam
57 {
58 
59 class cellSet;
60 
61 namespace qgd
62 {
63 
64 class varScModel7 : public QGDCoeffs
65 {
66 
67 protected:
68 
69  scalar smoothCoeff_;
70  scalar rC_;
71  scalar minSc_;
72  scalar maxSc_;
73  scalar badQualitySc_;
75  scalar constSc_;
76  scalar cSc1_;
77 
78  scalarField cqSc_;
79 
80  autoPtr<cellSet> constScCellSetPtr_;
81 
82 
83 public:
84 
85  //-
86  TypeName ("varScModel7");
87 
88  //-
90  (
91  const IOobject& io,
92  const fvMesh& mesh,
93  const dictionary& dict
94  );
95 
96  //-
97  ~varScModel7();
98 
99  //-
100  void correct(const QGDThermo&);
101 
102 };
103 
104 
105 }//namespace qgd
106 
107 }//namespace Foam
108 
109 #endif
110 
111 //
112 //END-OF-FILe
113 //
varScModel7(const IOobject &io, const fvMesh &mesh, const dictionary &dict)
Definition: varScModel7.C:50
Base class for all classes describing QGD model coefficients. Provides interfaces for accessing QGD/Q...
Definition: QGDCoeffs.H:57
scalar qgdAspectRatioThreshold_
Definition: varScModel7.H:69
autoPtr< cellSet > constScCellSetPtr_
Definition: varScModel7.H:75
TypeName("varScModel7")
Abstract base class for classes implementing thermophysical properties of gases and fluids governed b...
Definition: QGDThermo.H:53
Class describing QGD model coefficients using dynamic values for Sc^{QGD}, Pr^{QGD} and specified fi...
Definition: varScModel7.H:59
void correct(const QGDThermo &)
Definition: varScModel7.C:160