1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software; you can redistribute it and/or modify it
12 under the terms of the GNU Generac License as published by the
13 Free Software Foundation; either 2 of the License, or (at your
14 option) any later version.
16 OpenFOAM is distributed in the ho it will be useful, but WITHOUT
17 ANY WARRANTY; without even the imarranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE.he GNU General Public License
21 You should have received a copy oNU General Public License
22 along with OpenFOAM; if not, write Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floorn, MA 02110-1301 USA
26 Foam::phaseChangeTwoPhaseMixtures::Merkle
29 Merkle cavitation model.
33 C. L. Merkle, J. Feng, and P. E. O. Buelow,
34 "Computational modeling of the dynamics of sheet cavitation",
35 in Proceedings Third International Symposium on Cavitation
36 Grenoble, France 1998.
42 \*--------------------------------------------------------------------*/
47 #include "phaseChangeTwoPhaseMixture.H"
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 namespace phaseChangeTwoPhaseMixtures
56 /*--------------------------------------------------------------------*\
58 \*--------------------------------------------------------------------*/
62 public phaseChangeTwoPhaseMixture
66 dimensionedScalar UInf_;
67 dimensionedScalar tInf_;
68 dimensionedScalar Cc_;
69 dimensionedScalar Cv_;
71 dimensionedScalar p0_;
73 dimensionedScalar mcCoeff_;
74 dimensionedScalar mvCoeff_;
79 //- Runtime type information
85 //- construct from components
88 const volVectorField& U,
89 const surfaceScalarField& phi,
90 const word& alpha1Name = "alpha1"
102 //- Return the mass condensation and vaporisation rates as a
103 // coefficient to multiply (1 - alphal) for the condensation rate
104 // and a coefficient to multiply alphal for the vaporisation rate
105 virtual Pair<tmp<volScalarField> > mDotAlphal() const;
107 //- Return the mass condensation and vaporisation rates as an
108 // explicit term for the condensation rate and a coefficient to
109 // multiply (p - pSat) for the vaporisation rate
110 virtual Pair<tmp<volScalarField> > mDotP() const;
112 //- Correct the Merkle phaseChange model
113 virtual void correct();
115 //- Read the transportProperties dictionary and update
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 } // End namespace phaseChangeTwoPhaseMixtures
123 } // End namespace Foam
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
129 // ************************************************************************* //