1 /*---------------------------------------------------------------------------*\
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 -------------------------------------------------------------------------------
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/>.
25 Foam::JohnsonJacksonFrictionalStress
30 JohnsonJacksonFrictionalStress.C
32 \*---------------------------------------------------------------------------*/
34 #ifndef JohnsonJacksonFrictionalStress_H
35 #define JohnsonJacksonFrictionalStress_H
37 #include "frictionalStressModel.H"
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 /*---------------------------------------------------------------------------*\
45 Class JohnsonJacksonFrictionalStress Declaration
46 \*---------------------------------------------------------------------------*/
48 class JohnsonJacksonFrictionalStress
50 public frictionalStressModel
55 //- Runtime type information
56 TypeName("JohnsonJackson");
61 //- Construct from components
62 JohnsonJacksonFrictionalStress(const dictionary& dict);
66 virtual ~JohnsonJacksonFrictionalStress();
71 virtual tmp<volScalarField> frictionalPressure
73 const volScalarField& alpha,
74 const dimensionedScalar& alphaMinFriction,
75 const dimensionedScalar& alphaMax,
76 const dimensionedScalar& Fr,
77 const dimensionedScalar& eta,
78 const dimensionedScalar& p
81 virtual tmp<volScalarField> frictionalPressurePrime
83 const volScalarField& alpha,
84 const dimensionedScalar& alphaMinFriction,
85 const dimensionedScalar& alphaMax,
86 const dimensionedScalar& Fr,
87 const dimensionedScalar& eta,
88 const dimensionedScalar& p
91 virtual tmp<volScalarField> muf
93 const volScalarField& alpha,
94 const dimensionedScalar& alphaMax,
95 const volScalarField& pf,
96 const volTensorField& D,
97 const dimensionedScalar& phi
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 } // End namespace Foam
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 // ************************************************************************* //