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-2018 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  dictionary coeffDict_;
59 
60  //- Material constant for frictional normal stress
62 
63  //- Material constant for frictional normal stress
64  dimensionedScalar eta_;
65 
66  //- Material constant for frictional normal stress
68 
69  //- Angle of internal friction
70  dimensionedScalar phi_;
71 
72  //- Lower limit for (alphaMax - alpha1)
73  dimensionedScalar alphaDeltaMin_;
74 
75 
76 public:
77 
78  //- Runtime type information
79  TypeName("JohnsonJackson");
80 
81 
82  // Constructors
83 
84  //- Construct from components
86 
87 
88  //- Destructor
89  virtual ~JohnsonJackson();
90 
91 
92  // Member functions
93 
95  (
96  const phaseModel& phase,
97  const dimensionedScalar& alphaMinFriction,
99  ) const;
100 
102  (
103  const phaseModel& phase,
104  const dimensionedScalar& alphaMinFriction,
105  const dimensionedScalar& alphaMax
106  ) const;
107 
108  virtual tmp<volScalarField> nu
109  (
110  const phaseModel& phase,
111  const dimensionedScalar& alphaMinFriction,
112  const dimensionedScalar& alphaMax,
113  const volScalarField& pf,
114  const volSymmTensorField& D
115  ) const;
116 
117  virtual bool read();
118 };
119 
120 
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 
123 } // End namespace frictionalStressModels
124 } // End namespace kineticTheoryModels
125 } // End namespace Foam
126 
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 
129 #endif
130 
131 // ************************************************************************* //
dictionary dict
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
TypeName("JohnsonJackson")
Runtime type information.
dimensionedScalar alphaMax(laminarTransport.lookup("alphaMax"))
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phase.H:52
A class for managing temporary objects.
Definition: PtrList.H:53
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Definition: phaseModel.H:53
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
JohnsonJackson(const dictionary &dict)
Construct from components.
Namespace for OpenFOAM.
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const