Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / solvers / multiphase / twoPhaseEulerFoam / kineticTheoryModels / frictionalStressModel / JohnsonJackson / JohnsonJacksonFrictionalStress.H
blob7da2ca0081ec2f013e5dab3a1c24315c35436b80
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     Foam::JohnsonJacksonFrictionalStress
27 Description
29 SourceFiles
30     JohnsonJacksonFrictionalStress.C
32 \*---------------------------------------------------------------------------*/
34 #ifndef JohnsonJacksonFrictionalStress_H
35 #define JohnsonJacksonFrictionalStress_H
37 #include "frictionalStressModel.H"
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 namespace Foam
44 /*---------------------------------------------------------------------------*\
45                            Class JohnsonJacksonFrictionalStress Declaration
46 \*---------------------------------------------------------------------------*/
48 class JohnsonJacksonFrictionalStress
50     public frictionalStressModel
53 public:
55     //- Runtime type information
56     TypeName("JohnsonJackson");
59     // Constructors
61         //- Construct from components
62         JohnsonJacksonFrictionalStress(const dictionary& dict);
65     //- Destructor
66     virtual ~JohnsonJacksonFrictionalStress();
69     // Member functions
71         virtual tmp<volScalarField> frictionalPressure
72         (
73             const volScalarField& alpha,
74             const dimensionedScalar& alphaMinFriction,
75             const dimensionedScalar& alphaMax,
76             const dimensionedScalar& Fr,
77             const dimensionedScalar& eta,
78             const dimensionedScalar& p
79         ) const;
81         virtual tmp<volScalarField> frictionalPressurePrime
82         (
83             const volScalarField& alpha,
84             const dimensionedScalar& alphaMinFriction,
85             const dimensionedScalar& alphaMax,
86             const dimensionedScalar& Fr,
87             const dimensionedScalar& eta,
88             const dimensionedScalar& p
89         ) const;
91         virtual tmp<volScalarField> muf
92         (
93             const volScalarField& alpha,
94             const dimensionedScalar& alphaMax,
95             const volScalarField& pf,
96             const volTensorField& D,
97             const dimensionedScalar& phi
98         ) const;
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 } // End namespace Foam
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 #endif
110 // ************************************************************************* //