JohnsonJacksonFrictionalStress.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) 2011-2024 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::kineticTheoryModels::frictionalStressModels::JohnsonJackson
26 
27 Description
28 
29 SourceFiles
30  JohnsonJacksonFrictionalStress.C
31 
32 \*---------------------------------------------------------------------------*/
33 
34 #ifndef JohnsonJacksonFrictionalStress_H
35 #define JohnsonJacksonFrictionalStress_H
36 
37 #include "frictionalStressModel.H"
38 
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 
41 namespace Foam
42 {
43 namespace kineticTheoryModels
44 {
45 namespace frictionalStressModels
46 {
47 
48 /*---------------------------------------------------------------------------*\
49  Class JohnsonJackson Declaration
50 \*---------------------------------------------------------------------------*/
51 
52 class JohnsonJackson
53 :
55 {
56  // Private Data
57 
58  //- Material constant for frictional normal stress
60 
61  //- Material constant for frictional normal stress
62  dimensionedScalar eta_;
63 
64  //- Material constant for frictional normal stress
66 
67  //- Angle of internal friction
68  dimensionedScalar phi_;
69 
70  //- Lower limit for (alphaMax - alpha1)
71  dimensionedScalar alphaDeltaMin_;
72 
73 
74  // Private member functions
75 
76  //- Read the coefficients from coeffDict
77  virtual bool readCoeffs(const dictionary& coeffDict);
78 
79 
80 public:
81 
82  //- Runtime type information
83  TypeName("JohnsonJackson");
84 
85 
86  // Constructors
87 
88  //- Construct from the coefficients dictionary
89  JohnsonJackson(const dictionary& coeffDict);
90 
91 
92  //- Destructor
93  virtual ~JohnsonJackson();
94 
95 
96  // Member Functions
97 
99  (
100  const phaseModel& phase,
101  const dimensionedScalar& alphaMinFriction,
103  ) const;
104 
106  (
107  const phaseModel& phase,
108  const dimensionedScalar& alphaMinFriction,
110  ) const;
111 
112  virtual tmp<volScalarField> nu
113  (
114  const phaseModel& phase,
115  const dimensionedScalar& alphaMinFriction,
117  const volScalarField& pf,
118  const volSymmTensorField& D
119  ) const;
120 };
121 
122 
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 
125 } // End namespace frictionalStressModels
126 } // End namespace kineticTheoryModels
127 } // End namespace Foam
128 
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 
131 #endif
132 
133 // ************************************************************************* //
Generic GeometricField class.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition: dictionary.H:162
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
JohnsonJackson(const dictionary &coeffDict)
Construct from the coefficients dictionary.
TypeName("JohnsonJackson")
Runtime type information.
A class for managing temporary objects.
Definition: tmp.H:55
dimensionedScalar alphaMax(viscosity->lookup("alphaMax"))
static const coefficient D("D", dimTemperature, 257.14)
Namespace for OpenFOAM.